<< All versions

Skill v1.0.0

currentLLM-judged scan90/100
iamruzaini/secod/secod-container-runtime
──Details
PublishedOctober 24, 2026 at 01:27 AM
Content Hashsha256:11f159a0e4e25956...
Git SHAb3402d7530b5
──Files
Files (1 file, 3.5 KB)
SKILL.md3.5 KBactive
SKILL.md · 74 lines · 3.5 KB

version: "1.0.0" name: secod-container-runtime description: >- Help coding agents build and run containers with minimal immutable images, non-root identities, constrained privileges, protected secrets, and explicit health behavior. license: Apache-2.0 metadata: secod-category: "generalized" secod-format: "implementation-v1" secod-maturity: "provisional"


Secure container implementation

Purpose

Own portable security invariants for secure container implementation. Provider and framework adapters own exact SDK calls and deployment controls.

When to use

Use for Dockerfiles, Compose, Kubernetes, Helm, container build pipelines, workload manifests, or runtime security contexts. Do not activate for unrelated documentation or presentation-only changes.

Context to inspect

Inspect changed feature, trust boundaries, identity and tenant model, sensitive data, installed versions, existing project conventions, nearby tests, and selected provider adapters. Ask only for context repository cannot reveal.

Security invariants

  • Images contain only required runtime content and use immutable provenance where supported.
  • Workloads run non-root with minimal capabilities, writable paths, and network access.
  • Build and runtime secrets never become image layers or environment disclosures.

Secure defaults

  • Enforce policy at trusted server, worker, database, or provider boundary.
  • Minimize accepted input, authority, sensitive data, resource use, and failure scope.
  • Deny or stop safely when required identity, ownership, validation, or policy context is missing.
  • Add positive, negative, boundary, retry, and regression tests in same change.

Implementation workflow

  1. Trace feature from untrusted input through protected effect and persistent state.
  2. Resolve stack versions and reuse established project abstractions.
  3. Implement invariant before privileged effect; keep provider SDK details in selected adapter.
  4. Define bounded failure, retry, rollback, and observability behavior where applicable.
  5. Add tests proving allowed behavior and meaningful rejection paths.

Implementation recipes

Unsafe patterns to avoid

  • Running as root, privileged mode, host namespaces, or broad volume mounts by default.
  • Copying repository secrets or build credentials into image layers.
  • Using mutable tags as only production artifact identity.

Tests to add

Test valid behavior, unauthenticated/unauthorized or cross-tenant denial when applicable, malformed and boundary input, duplicate/concurrent/retried execution, dependency failure, and sensitive error/log redaction.

Provider and deployment steps

Apply selected provider adapter for exact SDK, console, plan, region, and deployment behavior. Never invent provider APIs. Name inaccessible external configuration and exact verification step without claiming it was inspected.

Official sources

Use `references/sources.md`. Direct primary pages support recipes; documentation indexes or llms.txt files may aid discovery but do not replace exact source pages.

Completion handoff

State invariant implemented, code and tests changed, provider adapter used, assumptions, and precise external action remaining. State inaccessible settings and unexecuted tests accurately; never invent provider APIs or certify application security.

All versions