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.pyandscripts/build_writer_prompt.pyusesubprocess.run()to execute internal helper scripts such ascheck-ai-patterns.jsandauthor_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.pyemploysimportlib.utilto dynamically load Python modules likewordcount_core.pyandtracking_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