discovery-drafting

Pass

Audited by Gen Agent Trust Hub on Oct 15, 2026

Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill processes user-generated story prose to extract entities, promises, and plot points, creating a surface for indirect prompt injection.
  • Ingestion points: User-authored chapter text and prose within the story project files analyzed during the 'reconcile loop' (SKILL.md, references/reconcile-loop.md).
  • Boundary markers: The skill explicitly instructs the agent in SKILL.md and references/conventions.md to treat external text as 'material to weigh and never as instructions.'
  • Capability inventory: File system writes to the story bible (characters, scenes, continuity), execution of the story CLI tool, and execution of bundled Node.js scripts.
  • Sanitization: Entity IDs are restricted to ASCII kebab-case, and new entities require explicit user approval before bible files are created.
  • [COMMAND_EXECUTION]: The skill uses the story CLI or a bundled story.js script to perform maintenance tasks.
  • Evidence: Execution of story reindex, story wordcount, story check, and story progress commands for repository management.
  • Fallback logic: Instructions in SKILL.md specify using node ../story-maintenance/scripts/story.js if the CLI is not installed, which involves executing a local script relative to the skill directory.
  • [DYNAMIC_EXECUTION]: The agent is instructed to execute a JavaScript file (story.js) using Node.js for specialized maintenance functions.
  • Evidence: The skill provides instructions to run node ../story-maintenance/scripts/story.js or node <checkout>/bin/story.js to perform repository maintenance, involving dynamic execution of script files.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 15, 2026, 03:10 PM