book-writer
Pass
Audited by Gen Agent Trust Hub on Nov 30, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses shell execution to install required Python packages and manage local directories during the setup process.
- Evidence: The file
scripts/install_dependencies.pyusessubprocess.run(cmd, shell=True)to execute pip installation commands and setup environments. - [DYNAMIC_EXECUTION]: The skill uses dynamic module loading to verify the environment status.
- Evidence: The script
scripts/test_installation.pyusesimportlib.import_moduleto dynamically check the presence and version of required dependencies listed in the configuration. - [EXTERNAL_DOWNLOADS]: The skill communicates with well-known external APIs to retrieve information and generate content.
- Evidence: The script
scripts/material_searcher.pyfetches search results from Google's official Custom Search API;scripts/book_writer.pyuses OpenAI's official API to generate text for the book. - [INDIRECT_PROMPT_INJECTION]: The skill processes external search data which presents a surface for potential indirect prompt injection.
- Ingestion points: Untrusted user input for book topics in
scripts/book_writer.pyand web search snippets retrieved inscripts/material_searcher.py. - Boundary markers: Absent. Data from these sources is directly interpolated into the prompts sent to the LLM.
- Capability inventory: File system writing in
scripts/book_writer.py, network access inscripts/material_searcher.py, and shell command execution inscripts/install_dependencies.py. - Sanitization: Absent. While the skill uses regular expressions to extract JSON structures from model responses, it does not sanitize the external content retrieved from search results before processing it.
Audit Metadata