writing-skills
Warn
Audited by Gen Agent Trust Hub on Sep 21, 2026
Risk Level: MEDIUMPROMPT_INJECTIONCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [PROMPT_INJECTION]: The skill utilizes and explicitly teaches the use of persuasion principles such as "Authority", "Commitment", and "Scarcity" to force agent compliance and override standard reasoning. It specifically instructs the use of preambles like "IMPORTANT: This is a real scenario. Choose and act" to bypass agent refusals or safety guardrails by framing instructions as reality rather than a prompt. The skill references research on persuading AI to comply with "objectionable requests" as a methodology for designing instructions.
- [DYNAMIC_EXECUTION]: The
render-graphs.jsscript useschild_process.execSyncto execute the systemdotcommand (Graphviz). It populates the input to this command with content extracted fromSKILL.mdfiles using regular expressions, which can lead to unexpected behavior if thedotbinary is not configured securely. - [COMMAND_EXECUTION]: The tool relies on shell execution of the
dotbinary viaexecSync. While the command string itself is static, the input content is derived from untrusted Markdown blocks. - [INDIRECT_PROMPT_INJECTION]: The skill has a clear attack surface in
render-graphs.js, which ingests untrusted Markdown data from the file system and processes it via thedotcapability without sanitization or explicit boundary markers in the prompt logic. - Ingestion points:
render-graphs.jsreadsSKILL.mdcontent from local directories provided as command-line arguments. - Boundary markers: None found in the processing script or instructions to separate instructions from data.
- Capability inventory: File system read/write via
fs, command execution viaexecSync. - Sanitization: Content is extracted via regex but passed directly to the
dotsubprocess viastdinwithout validation of the Graphviz commands themselves.
Audit Metadata