abd-context-chunk
Warn
Audited by Gen Agent Trust Hub on Sep 11, 2026
Risk Level: MEDIUMDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [DATA_EXFILTRATION]: The
_copy_imagesfunction inscripts/chunk_markdown.pyusesshutil.copy2to copy files referenced in markdown image tags (![]()) to the output directory. Because the script does not sanitize the image reference path, a malicious markdown file could use path traversal (e.g.,) to copy sensitive local files into the skill'smemory/output folder, leading to unauthorized data exposure. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process untrusted markdown documents from a source folder. As documented in the 'Quality loop' and 'Strategy pass' sections of
SKILL.mdandreferences/chunking-spec.md, the agent is instructed to review the content and structure of these documents. Maliciously crafted markdown could contain instructions intended to manipulate the agent's behavior during these analysis phases. - Ingestion points: Reads all
.mdfiles in the user-provided<source_folder>. - Boundary markers: The skill uses YAML front matter and
<!-- Source -->comments to delineate chunks, but these do not prevent the agent from following instructions embedded within the chunk body during manual review steps. - Capability inventory: The agent executes local python scripts that have read/write access to the filesystem.
- Sanitization: No evidence of sanitization for embedded instructions in the processed markdown content.
- [COMMAND_EXECUTION]: The skill relies on the execution of local Python scripts (
scripts/draft_chunking_spec.pyandscripts/chunk_markdown.py) to perform its primary functions. While these are internal scripts, they represent the primary mechanism for interacting with the user's filesystem and environment. - [PROMPT_INJECTION]: The
SKILL.mdcontains instructions that define specific agent interaction constraints, such as 'Do not tell the user "fix the spec yourself" as the first response' and 'Do not assume straight-through'. While intended for quality control, these patterns match heuristics for instruction override and concealment of default assistant behavior.
Audit Metadata