ebook
Pass
Audited by Gen Agent Trust Hub on Jul 21, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection because it ingests untrusted data from external sources (YouTube descriptions, website content) and incorporates it into a research synthesis prompt for the LLM.
- Ingestion points: External content is fetched in
SKILL.md(Step 2) usingyt-dlpandWebFetchtools. - Boundary markers: The skill uses
<research>XML-style tags inreferences/prompts.md(Phase 1) to delimit untrusted content, which provides some protection but is not foolproof against adversarial input. - Capability inventory: The agent has access to shell commands (
yt-dlp,curl,python3), the ability to install Python packages (weasyprint), and file system write permissions for PDF generation. - Sanitization: There is no evidence of sanitization or filtering of the scraped text before it is passed to the LLM.
- [COMMAND_EXECUTION]: The script
scripts/generate_pdf.pyusesos.system()to attempt a runtime installation of theweasyprintlibrary. While the package name is hardcoded to a well-known library, the use ofos.systemfor dependency management is a pattern that can be risky if expanded to include variable input. - [EXTERNAL_DOWNLOADS]: The skill downloads and installs the
weasyprintPython package from the public PyPI registry and usesyt-dlpto fetch metadata and thumbnails from YouTube. These are standard operations for the skill's functionality and involve well-known, reputable software components.
Audit Metadata