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 — Performing Kubernetes etcd Security Assessment

Libraries Used

  • subprocess: Execute kubectl, etcdctl commands
  • json: Parse Kubernetes API resource output
  • re: Extract etcd server URLs from API server arguments

CLI Interface

python agent.py [--kubeconfig ~/.kube/config] encrypt
python agent.py access --endpoint https://127.0.0.1:2379 [--cert client.crt --key client.key --cacert ca.crt]
python agent.py secrets
python agent.py tls
python agent.py full [--endpoint https://127.0.0.1:2379]

Core Functions

check_etcd_encryption(kubeconfig) — Verify encryption at rest

Inspects kube-apiserver pod args for --encryption-provider-config, audit logging, TLS.

check_etcd_access(endpoint, cert, key, cacert) — Test access controls

Uses etcdctl to check health and test for unauthenticated read access. CRITICAL finding if data readable without credentials.

dump_secrets_check(kubeconfig) — Audit stored secrets

Lists all cluster secrets, categorizes by type, identifies sensitive naming patterns.

check_etcd_tls_config() — Verify TLS certificates

Checks etcd pod args for peer TLS, client TLS, and client certificate authentication.

full_assessment(kubeconfig, endpoint) — Comprehensive security scan

Combines all checks into single report with risk level classification.

Security Checks

Check Flag Risk
Encryption at rest --encryption-provider-config CRITICAL if missing
Client TLS --cert-file / --key-file HIGH if missing
Peer TLS --peer-cert-file / --peer-key-file HIGH if missing
Client cert auth --client-cert-auth=true MEDIUM if missing
Unauthenticated access etcdctl get without certs CRITICAL

Dependencies

System: kubectl, etcdctl (etcd client) No Python packages required.