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
npxto download and execute theautocorrect-nodepackage from the npm registry during runtime to perform typography adjustments. - [REMOTE_CODE_EXECUTION]: The
scripts/autocorrect.tsfile usesnode:child_process'sspawnSyncto executenpx 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 (
mvanddate) 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