context-anchor
Pass
Audited by Gen Agent Trust Hub on Oct 29, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill ingests data from the project workspace through the
view_filetool and theanchor.tsscript (e.g., when pinning code snippets or verifying task completion). This content is then interpolated into anchor files. If a project file contains malicious instructions in comments or strings, they could influence the agent's behavior during resumption. - Ingestion points: Project files read via
view_fileand parsed byscripts/anchor.ts(e.g.,pinAttentionContextfunction). - Boundary markers: The skill uses markdown headers and blockquotes to delimit anchor content.
- Capability inventory: File reads/writes via tools, and local git execution via the
anchor.tsscript. - Sanitization: The skill provides a 'Context Hierarchy & Trust' protocol instructing agents to treat external/browser content as untrusted and never obey it as an instruction.
- [COMMAND_EXECUTION]: The
scripts/anchor.tsengine executes localgitcommands (branch, status, log, diff, checkout) usingspawnSync. This is necessary for the skill's stated purpose of verifying task ground truth and performing workspace rollbacks during failure loops. The command arguments are strictly defined within the script and do not allow arbitrary shell execution from untrusted inputs.
Audit Metadata