Claude 24f816b6a3
Consolidate 22 sibling repos into layered organism structure
Place useful parts of the surrounding repos into sica-fondt by layer, per the
body model (Ada = membrane; brain/endocrine/capabilities/knowledge non-Ada):

- brain/        LLM reasoning + providers (dapr, hermes, MoMoA)
- capabilities/ REPRAG sidecars: hermes tools/skills, dapr tools, parallel
                dispatch, A51 channels, and the OSINT cluster
- knowledge/    LORAG corpus: 754 cyber-skills, agency personas, secure-coding,
                MITRE ATT&CK data
- reference/    defensive threat-reference (C3, shhbruh doc) + AdaYaml parser

License handling: AGPL sources (worldosint, advanced_evolution, mercury,
Reticulum) and GPL DeTTECT are SPEC-only clean-room/port descriptions — no
copyleft code copied. MIT/Apache/data parts copied as working trees.

Safety: shhbruh escape/persistence material and C3 covert-C2 kept as reference
only, not wired into the running organism. See CONSOLIDATION.md.

https://claude.ai/code/session_01UehUqEXXJJCsHoA4voCU5c
2026-06-10 06:53:01 +00:00

1.8 KiB

Workflow Reference: Container Image Hardening

Hardening Pipeline

Base Image Selection
       │
       ▼
┌──────────────────┐
│ Multi-Stage Build │
│ (builder + prod)  │
└──────┬───────────┘
       │
       ▼
┌──────────────────┐
│ Remove Packages  │
│ + Set User/Perms │
└──────┬───────────┘
       │
       ▼
┌──────────────────┐
│ Trivy Scan       │
│ + Hadolint       │
└──────┬───────────┘
       │
       ▼
┌──────────────────┐
│ CIS Benchmark    │
│ Validation       │
└──────────────────┘

Base Image Selection Guide

Base Image Size Use Case Packages
scratch 0 MB Static Go/Rust binaries None
distroless/static 2 MB Static binaries + CA certs ca-certificates
distroless/base 20 MB Dynamic binaries glibc, libssl
alpine:3.19 7 MB General minimal musl, busybox
debian:bookworm-slim 80 MB Debian ecosystem apt, glibc
ubuntu:24.04 78 MB Ubuntu ecosystem apt, glibc

Dockerfile Hardening Checklist

  • Multi-stage build separates build and runtime
  • Minimal base image selected
  • Non-root USER instruction present
  • HEALTHCHECK instruction defined
  • Base image pinned by digest
  • COPY used instead of ADD
  • No secrets in ENV or ARG
  • Package cache cleaned (rm -rf /var/lib/apt/lists/*)
  • Unnecessary packages removed
  • setuid/setgid bits cleared
  • Shell removed (if not needed)