system-awareness
Warn
Audited by Gen Agent Trust Hub on Jun 16, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONPROMPT_INJECTIONDATA_EXFILTRATION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/skill_builder.pyutilizes thesubprocess.run()function to execute other Python scripts (sync_skills.pyandgenerate_context.py) within the skill's environment to automate the registry synchronization and context update pipeline. - [DYNAMIC_CODE_GENERATION]: The
scripts/skill_builder.pyscript performs dynamic code generation by interpolating user-provided data (such as skill purpose and names) into pre-defined Python templates to create new executable scripts on the filesystem. - [PROMPT_INJECTION]: The skill implements a pipeline where user-provided descriptions of capability gaps are eventually propagated into the project's core configuration files (
CLAUDE.md,GEMINI.md, andAGENTS.md) via the sync and context generation scripts. This creates an indirect prompt injection surface where malicious user input could potentially influence the agent's high-level system instructions. - [DATA_EXPOSURE]: The
scripts/gap_logger.pyscript records user requests and conversation contexts into thedata/gap-log.jsonfile. This persists conversation history and potential sensitive information in a structured format on the local filesystem. - [PERSISTENCE]: Through
scripts/generate_context.py, the skill can modify system-level documentation files that the agent reads at the start of every session. This allows for persistent modification of the agent's behavior and available toolset.
Audit Metadata