context-organizer
Pass
Audited by Gen Agent Trust Hub on Sep 18, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONPERSISTENCEPROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill implements a workflow where test metadata (titles and descriptions) is extracted from
.context/test-results.jsonand compiled intoBEHAVIOR.md. Since the agent is explicitly instructed to 'Read before coding' and treat these documents as the source of truth, an attacker could embed malicious instructions within test strings (e.g., in adescribeblock) to influence the agent's future actions. - Ingestion points:
scripts/compile-behavior.mjsreads and parsestest-results.jsongenerated by Jest/Vitest. - Boundary markers: None. The generated
BEHAVIOR.mdincludes only a basic header and does not wrap external content in security-oriented delimiters. - Capability inventory: The skill allows for file creation, modification, and shell command execution (
cp,chmod,git add,node). - Sanitization: The script
compile-behavior.mjsonly performs whitespace normalization on test titles, leaving non-alphanumeric characters and prompt-like text intact. - [COMMAND_EXECUTION]: The skill relies on shell scripts (
init-repo.sh,pre-commit.sh) to perform environment setup and automation. These scripts execute file system operations such as copying files, creating directories, and changing file permissions (chmod +x). Additionally, thepre-commit.shscript invokes the local test suite vianode --run test, which executes arbitrary code defined in the project's tests. - [PERSISTENCE]: The skill installs a Git pre-commit hook via Husky (
cp scripts/pre-commit.sh .husky/pre-commit). While this is the stated purpose of the tool to ensure documentation remains synchronized, it represents a persistent execution mechanism that runs code automatically on every commit action performed by the user. - [PROMPT_INJECTION]: The
SKILL.mdfile contains high-pressure imperative instructions ('Skill imperativa', 'Tu deber', 'Boy Scout obligatorio') that instruct the agent to prioritize documentation tasks and act autonomously without user consultation ('Actualizar proactivo sin consultar'). While focused on the skill's utility, these instructions encourage the agent to override standard interactive patterns.
Audit Metadata