code-documenter
Pass
Audited by Gen Agent Trust Hub on Jul 15, 2026
Risk Level: SAFEPROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [PROMPT_INJECTION]: The skill instructions in
SKILL.mddefine a workflow that creates an indirect prompt injection attack surface. By requiring the agent to validate documentation by executing embedded code examples, it may execute malicious code provided by an untrusted user. \n - Ingestion points: User-provided source code, docstrings, and API definitions intended for documentation or validation (
SKILL.md). \n - Boundary markers: Absent; there are no instructions to use a sandbox or to sanitize documentation examples before execution. \n
- Capability inventory: Execution of shell commands including
python -m doctest,pytest,tsc, andnpx(SKILL.md). \n - Sanitization: Absent; the agent is directed to iterate and fix examples until they pass validation, which could facilitate the execution of complex payloads. \n- [COMMAND_EXECUTION]: The core workflow requires the agent to execute several shell commands such as
python -m doctest,pytest --doctest-modules, andtsc --noEmit. These are standard tools for validating documentation and code correctness but represent a functional risk when processing untrusted input. \n- [EXTERNAL_DOWNLOADS]: The skill references external documentation hosted on GitHub Pages (jeffallan.github.io) and recommends installing various documentation utilities from official registries, such aseslint-plugin-jsdoc,pydocstyle, andinterrogate.
Audit Metadata