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

API Reference: Scanning Kubernetes Manifests with Kubesec

Kubesec CLI Commands

Command Description
kubesec scan <file> Scan a manifest file
kubesec scan -o json <file> JSON output
kubesec http --port 8080 Start local API server
kubesec version Show version info

Kubesec HTTP API

Method Endpoint Description
POST https://v2.kubesec.io/scan Public scan API
POST http://localhost:8080/scan Local scan API

Critical Checks (Negative Score)

Check Selector Risk
Privileged securityContext.privileged == true Full host access
HostPID spec.hostPID == true Process namespace escape
HostNetwork spec.hostNetwork == true Network namespace escape
SYS_ADMIN capabilities.add contains SYS_ADMIN Near-root capability

Best Practice Checks (Positive Score)

Check Points Description
ReadOnlyRootFilesystem +1 Prevents filesystem writes
RunAsNonRoot +1 Non-root execution
RunAsUser > 10000 +1 High UID
LimitsCPU +1 CPU limits set
LimitsMemory +1 Memory limits set
ServiceAccountName +3 Explicit service account
AppArmor annotation +3 MAC enforcement
Seccomp profile +4 Syscall filtering

Python Libraries

Library Version Purpose
subprocess stdlib Execute kubesec CLI
requests >=2.28 HTTP API fallback
json stdlib Parse scan results

References