mirror of
https://github.com/SHOGGOTH-SECTOR/sica-fondt.git
synced 2026-08-01 08:30:20 +00:00
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
1.1 KiB
1.1 KiB
API Reference — Performing Docker Bench Security Assessment
Libraries Used
- subprocess: Run docker-bench-security container and docker inspect commands
- json: Parse docker inspect JSON output
CLI Interface
python agent.py bench # Run full docker-bench-security
python agent.py containers # Check running container configurations
Core Functions
run_docker_bench()
Runs the docker/docker-bench-security container with host access for CIS benchmark checks.
parse_bench_output(output)
Parses [WARN], [PASS], [NOTE] lines into structured findings with sections.
check_container_configs()
Inspects all running containers for CIS Docker Benchmark violations.
CIS Checks Performed on Containers
| Check | CIS ID | Severity |
|---|---|---|
| Privileged mode | 5.4 | CRITICAL |
| Host PID namespace | 5.15 | HIGH |
| Host network namespace | 5.13 | HIGH |
| Dangerous capabilities | 5.3 | HIGH |
| Running as root | 4.1 | MEDIUM |
| Sensitive host mounts | 5.5 | HIGH |
Dependencies
Docker must be installed and accessible. No Python packages required beyond stdlib.