story-long-write

Pass

Audited by Gen Agent Trust Hub on Nov 3, 2026

Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The scripts scripts/storyctl.py and scripts/build_writer_prompt.py use subprocess.run() to execute internal helper scripts such as check-ai-patterns.js and author_memory_commit.py.
  • These calls are utilized for prose validation, word counts, and state management within the skill's own directory structure.
  • Executions are constrained to the skill's local environment and use specific, pre-defined arguments.
  • [DYNAMIC_EXECUTION]: scripts/storyctl.py employs importlib.util to dynamically load Python modules like wordcount_core.py and tracking_commit.py.
  • This mechanism is used to facilitate code sharing between different script components without requiring external package management.
  • The loading logic is restricted to specific file names within the skill's directory.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes and analyzes user-written novel content stored in markdown files, which constitutes a potential surface for indirect prompt injection.
  • The instructions provide the agent with a rigorous framework of workflows and templates to mitigate this risk.
  • Extensive deterministic checkers (e.g., check-degeneration.js, check-ai-patterns.js) are employed to ensure the agent's output remains within expected stylistic and structural bounds.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 3, 2026, 03:25 AM