baoyu-format-markdown
Warn
Audited by Gen Agent Trust Hub on Mar 14, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/autocorrect.tsuses theexecSyncmethod to run shell commands. - Evidence: It executes
npx autocorrect-node --fixon a file path, which could potentially be exploited if the filename contains shell metacharacters. - [EXTERNAL_DOWNLOADS]: The skill relies on runtime downloads of packages to perform its tasks.
- Evidence:
SKILL.mdinstructs the agent to usenpx -y bunto run the main logic, andscripts/autocorrect.tsusesnpxto execute theautocorrect-nodetool from the NPM registry. - [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection because it analyzes and summarizes user-provided content without sanitization.
- Ingestion points: Reads user-provided markdown or plain text files in Step 1.
- Boundary markers: None; the agent is not instructed to ignore formatting instructions inside the source file.
- Capability inventory: The skill can write to the filesystem (
writeFileSyncinscripts/main.ts) and execute shell commands (execSyncinscripts/autocorrect.ts). - Sanitization: No sanitization or escaping is performed on the input content before generating titles or summaries.
Audit Metadata