story-long-analyze

Pass

Audited by Gen Agent Trust Hub on Nov 3, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted novel text from external files (e.g., 原文/原文.txt) to perform deep analysis and summarization.
  • Ingestion points: Novel content is read from user-provided files in the 原文/ directory, as defined in SKILL.md and processed by scripts/build_chapter_index.py.
  • Boundary markers: The skill employs specific markers like <!-- CHAPTER_START:{N} --> and <!-- CHAPTER_END:{N} --> (seen in scripts/manage_analysis_run.py and references/stage2-extraction.md) to define analysis scopes.
  • Capability inventory: The skill possesses the capability to write various markdown and CSV files (章节/, 剧情/, chapter_index.csv), maintain a state file (_progress.md), and execute local commands for font discovery.
  • Sanitization: No explicit sanitization or filtering of the novel content is performed before interpolation into the analysis prompt, creating a surface where malicious instructions embedded in the novel could influence the agent.
  • [COMMAND_EXECUTION]: The script scripts/render_relation_chart.py executes the fc-list system command using the subprocess.run method.
  • Evidence: subprocess.run(["fc-list", ":lang=zh", "file"], capture_output=True, text=True, timeout=10, check=False)
  • Context: This operation is used to identify suitable Chinese fonts on the host system to ensure character relationship charts are rendered correctly. The command and its arguments are static and do not incorporate untrusted user input into the shell execution context.
  • [SAFE]: The skill metadata and repository links point to the official organization of the author (zenstory-ai). References to these resources are considered normal vendor functionality.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 3, 2026, 03:24 AM