abd-context-chunk

Warn

Audited by Gen Agent Trust Hub on Sep 11, 2026

Risk Level: MEDIUMDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted markdown content and performs file system operations based on paths found within that content, creating a vulnerability surface.
  • Ingestion points: The scripts/chunk_markdown.py script reads markdown files from a user-specified source directory to split them into chunks.
  • Boundary markers: There are no boundary markers or validation checks applied when parsing image references within the markdown text.
  • Capability inventory: The skill possesses file read and write capabilities, including the ability to copy files via shutil.copy2 and create directories via Path.mkdir.
  • Sanitization: No sanitization or path validation is performed on image references extracted from markdown files before they are used in file system operations.
  • [DATA_EXPOSURE_EXFILTRATION]: A path traversal vulnerability exists in the image copying logic in scripts/chunk_markdown.py.
  • The _copy_images function extracts paths from markdown image links (e.g., ![label](path)) and uses them to construct source paths (src = src_base / ref) without ensuring the resulting path stays within the intended source directory.
  • An attacker could provide a malicious markdown file containing image links with traversal sequences or absolute paths (e.g., ![secret](../../../.ssh/id_rsa) or ![root](/etc/shadow)), which would cause the script to attempt to read and copy those sensitive files into the output directory.
  • [PROMPT_INJECTION]: Static analysis flagged a potential concealment attempt in SKILL.md (PI_CONCEALMENT).
  • Evidence: The instruction "Do not tell the user 'fix the spec yourself' as the first response" was identified as the trigger.
  • Verdict: This is a false positive. The instruction is a quality-of-service guideline intended to coach the agent to be helpful and proactive in troubleshooting, rather than an attempt to hide malicious activity from the user.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Sep 11, 2026, 02:13 PM