baoyu-format-markdown

Pass

Audited by Gen Agent Trust Hub on Aug 19, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSREMOTE_CODE_EXECUTIONPROMPT_INJECTION
Full Analysis
  • [EXTERNAL_DOWNLOADS]: The skill instructions and scripts (scripts/autocorrect.ts) use npx to download and execute the autocorrect-node package from the npm registry during runtime to perform typography adjustments.
  • [REMOTE_CODE_EXECUTION]: The scripts/autocorrect.ts file uses node:child_process's spawnSync to execute npx autocorrect-node, representing the execution of remote code retrieved from an external registry.
  • [COMMAND_EXECUTION]: In SKILL.md (Step 5), the skill directs the agent to execute shell commands (mv and date) that interpolate user-provided file names. This could lead to command injection if the agent's runtime environment does not sufficiently sanitize the {filename} placeholder.
  • [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection (Category 8) because it processes untrusted user files to generate summaries and optimized titles.
  • Ingestion points: The agent reads the entire content of a user-specified file in Step 1.
  • Boundary markers: None are present; the skill lacks delimiters or instructions for the agent to ignore embedded commands within the processed file.
  • Capability inventory: The skill has access to shell execution (mv, date, bun, npx), file read/write operations (readFileSync, writeFileSync), and user interaction tools.
  • Sanitization: No escaping or filtering is performed on the external content before it is processed for analysis and formatting.
Audit Metadata
Risk Level
SAFE
Analyzed
Aug 19, 2026, 01:13 AM