canghe-format-markdown

Warn

Audited by Socket on Sep 15, 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
Sep 15, 2026, 03:05 AM
Package URL
pkg:socket/skills-sh/freestylefly%2Fcanghe-skills%2Fcanghe-format-markdown%2F@5b7c454481f15dbb53d4133d8387f3773648b9b0833b5e69c1ea9d7af80472e9