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.py uses subprocess.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.py uses importlib.import_module to 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.py fetches search results from Google's official Custom Search API; scripts/book_writer.py uses 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.py and web search snippets retrieved in scripts/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 in scripts/material_searcher.py, and shell command execution in scripts/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
Risk Level
SAFE
Analyzed
Nov 30, 2026, 03:47 PM