The skill insecurely executes unpinned dependencies and relies on untrusted PATH binaries, allowing potential command injection and configuration tampering while lacking necessary tool constraints and proper attribution.
Findings (7)
Content Injection
Mediumtargets Perception
The skill writes to a configuration file (.claude/codemunch/config.json) based on the output of shell commands. If an attacker can influence the PATH or the output of the 'which' commands, they could inject malicious configuration parameters into the codemunch engine.
The script dynamically constructs JSON configuration values using the output of shell commands like 'which'.
Semantic Manipulation
Mediumtargets Reasoning
Skill name or description references a well-known AI brand, which may suggest impersonation.
claude
Cognitive State
Mediumtargets Memory & Learning
Unpinned npx package execution — `npx <pkg>` without a version pin pulls latest from npm at runtime (seen 2 times in this file at lines 43, 44)
npx as
Global/unverified dependency execution — global npm/yarn package, dotnet tool, or auto-confirmed npx run without version or integrity pinning
npx --yes
Behavioural Control
Lowtargets Action
The skill automatically executes and relies on binaries found in the user's PATH (e.g., 'which <tool>'), which could be exploited if a malicious binary is placed in a directory earlier in the PATH.
The script uses 'which' to locate and subsequently invoke language servers without verifying their integrity or origin.
Skill executes commands, writes files, or accesses the network but declares no allowed-tools, so its tool surface cannot be reviewed or constrained.
Hygiene
Infotargets Packaging & Manifest
Skill does not specify a license field. Specifying a license helps users understand usage terms.