skill-cockpit
Pass
Audited by Gen Agent Trust Hub on Sep 17, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/cockpit.pyutilizessubprocess.Popento launch local Python scripts and shell commands (mine.py,corrections.py,recheck.py,forge.sh) which comprise the agent's improvement toolkit. - [COMMAND_EXECUTION]: Safety controls are implemented to prevent command injection: numeric inputs like
sessionsandcluster_indexare cast to integers, and thebrief_idis validated against a strict alphanumeric regex ([A-Za-z0-9._-]+). - [COMMAND_EXECUTION]: Directory paths provided to the
evalaction are validated to ensure they reside within authorized 'drafts' or 'skills' directories usingos.path.realpathto prevent path traversal attacks. - [SAFE]: The local HTTP server includes robust defenses for its environment, such as binding strictly to
127.0.0.1, verifying theHostheader to mitigate DNS rebinding, and requiring a platform-generated secret token (X-Cockpit-Token) for all state-changing POST requests.
Audit Metadata