context-guardian
Pass
Audited by Gen Agent Trust Hub on Aug 9, 2026
Risk Level: SAFEPROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [PROMPT_INJECTION]: The skill facilitates the extraction and persistence of information from conversation history into local snapshot files (
data/*.md) and the project'sMEMORY.mdfile. This creates an indirect prompt injection surface where malicious instructions embedded in user input could be stored and subsequently re-injected into the agent's context during later sessions. - Ingestion points: The entire conversation history is parsed for extraction during Phase 1 (Extracao Estruturada).
- Boundary markers: The skill uses markdown headers, tables, and specific markers (e.g.,
<!-- O Claude deve preencher... -->) to structure extracted content. - Capability inventory: The skill possesses file-write capabilities (via
context_snapshot.py) and execution capabilities (via script calls to manage snapshots). - Sanitization: No explicit sanitization, validation, or escaping of the extracted external content is implemented; the skill relies on the agent's categorization logic.
- [COMMAND_EXECUTION]: The skill instructions direct the agent to execute local Python scripts to perform data saving and management tasks. This includes
context_snapshot.pywithin the skill directory and a scriptcontext_manager.pyfrom a separate, assumed-to-be-present skill namedcontext-agentat a specific absolute path (C:\Users\renat\skills\context-agent\).
Audit Metadata