skills/mukul975/anthropic-cybersecurity-skills/analyzing-malicious-pdf-with-peepdf/Gen Agent Trust Hub
analyzing-malicious-pdf-with-peepdf
Pass
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDATA_EXFILTRATION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted PDF files, creating a vulnerability surface for indirect prompt injection. In
scripts/agent.py, the script extracts raw content like JavaScript snippets and URLs from potentially malicious PDFs and includes them in an analysis report without sanitization or boundary markers to prevent agent misinterpretation. The ingestion points include the file path provided to the script, while capabilities include subprocess execution and local file writes. - [COMMAND_EXECUTION]: The script automates the use of PDF analysis tools by executing them as sub-processes. Evidence:
scripts/agent.pyusessubprocess.run()to invokepeepdf,pdfid, andpdf-parser.pyto process input files. - [EXTERNAL_DOWNLOADS]: The documentation references external sources for analysis dependencies. Evidence:
SKILL.mdandreferences/api-reference.mdprovide instructions to install thepeepdf-3package via pip and clone the source code from the author's public repository (github.com/jesparza/peepdf.git). - [DATA_EXFILTRATION]: The skill references standard network-based security lookups. Evidence:
references/api-reference.mddescribes using thevtcheckcommand within thepeepdftool to check file hashes against the VirusTotal database, which involves sending hash metadata to an external service.
Audit Metadata