writing-skills

Pass

Audited by Gen Agent Trust Hub on Oct 4, 2026

Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The script scripts/render-graphs.js executes the system dot command (from the Graphviz suite) to generate SVG diagrams. It uses the input option of child_process.execSync to safely pass data via stdin rather than command-line arguments.
  • [INDIRECT_PROMPT_INJECTION]: The skill includes an ingestion surface where scripts/render-graphs.js reads and processes Graphviz code blocks from SKILL.md files. While this creates a trust boundary where untrusted markdown could be processed, the script is a local developer tool with specific functionality.
  • Ingestion points: scripts/render-graphs.js reads SKILL.md files from a user-specified directory.
  • Boundary markers: The script looks for markdown code blocks starting with the dot language identifier.
  • Capability inventory: The script has the capability to execute the dot command and write files to a diagrams/ subdirectory.
  • Sanitization: The script performs basic regex extraction but does not explicitly sanitize the Graphviz content before passing it to the dot binary.
  • [PROMPT_INJECTION]: The documentation, particularly in references/persuasion-principles.md, outlines techniques for using 'Authority' and 'Social Proof' to prevent agents from rationalizing away rules. These patterns are used here for defensive prompt engineering to ensure adherence to quality standards like TDD.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 4, 2026, 12:59 AM