mathodology-award-gates
Pass
Audited by Gen Agent Trust Hub on Sep 7, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill includes several scripts that interact with the system via shell commands or subprocesses. Specifically,
scripts/make_contact_sheet.pyusessubprocess.runto invoke thepdftoppmutility. This implementation uses a list of arguments rather than a raw shell string, which significantly reduces the risk of command injection. - [DYNAMIC_EXECUTION]: The
scripts/pdf_qa.shscript executes a small Python snippet usingpython3 -cto perform CJK character detection. This execution is limited to a hardcoded string and is used for metadata validation purposes rather than processing external code. - [INDIRECT_PROMPT_INJECTION]: The skill possesses an attack surface for indirect injection as it processes external files and data blocks (PDF content and YAML logs).
- Ingestion points:
pdftotextinpdf_qa.shreads PDF body text, andyaml.safe_loadinlint_run.pyparses structured blocks. - Boundary markers: The workflow relies on strict YAML schemas and documented handoff formats to maintain context boundaries.
- Capability inventory: The skill can execute local binary tools (poppler-utils) and filesystem writes within a specific directory structure.
- Sanitization:
scripts/lint_run.pyimplements a validation function_path_in_workthat normalizes file paths and rejects any absolute paths or '..' parent directory escapes, ensuring file operations are sandboxed within thework/directory.
Audit Metadata