baoyu-format-markdown

Warn

Audited by Socket on Oct 26, 2026

1 alert found:

Anomaly
AnomalyLOW
scripts/autocorrect.ts

This module’s intent is benign (run a formatting/autocorrection tool), but it constructs and executes a shell command using execSync with direct interpolation of a caller-controlled filePath, creating a command-injection risk if filePath is attacker-influenced. It also relies on npx to execute an external tool/package at runtime, which increases execution/supply-chain exposure in the broader environment. No direct malicious payload behavior (e.g., network exfiltration, credential theft, persistence, obfuscation) is evident in this snippet alone.

Confidence: 74%Severity: 66%
Audit Metadata
Analyzed At
Oct 26, 2026, 10:52 AM
Package URL
pkg:socket/skills-sh/anbeime%2Fskill%2Fbaoyu-format-markdown%2F@5bbc720807a404577d78e7b3e6aa4efc2900e6e7