self-improvement
Pass
Audited by Gen Agent Trust Hub on Nov 14, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
scripts/audit.pyscript utilizessubprocess.run(shell=True)to execute system commands for directory auditing. Specifically, in theskills_inventory,workspace_structure, andrecent_recordsfunctions, command strings are constructed using f-strings that incorporate directory names directly from the filesystem (e.g.,f"find '{skill_dir}' -type f | wc -l"). While the variables are wrapped in single quotes, a directory name containing a single quote followed by shell metacharacters (e.g.,dir'; [malicious_command] #) could result in arbitrary command execution when the audit is performed. - [INDIRECT_PROMPT_INJECTION]: The skill's reflection loop (Phases 2, 3, and 5) ingests external, potentially untrusted data to inform its 'Action Plan'.
- Ingestion points: Metadata (name and description) from
SKILL.mdfiles of all installed skills inscripts/audit.py, and search results from thesupermemoryskill (e.g., user preferences, limitations, and past decisions). - Boundary markers: The instructions do not define boundary markers or 'ignore' instructions for the data being reviewed during the Skills Review or Capability Gap Analysis phases.
- Capability inventory: The skill has the ability to execute shell commands via
audit.py, send SMS notifications viasend_sms_to_user, and write files to theRecords/Reflections/directory. - Sanitization: There is no evidence of sanitization or escaping of the ingested skill metadata or memory content before it is processed by the AI. An attacker could potentially influence the AI's self-improvement actions by placing malicious instructions in a skill's description or in the memory graph.
Audit Metadata