css-token-use-validator

Warn

Audited by Socket on May 18, 2026

1 alert found:

Security
SecurityMEDIUM
scripts/validator.js

This module is primarily a local CSS/token validation CLI with no inherent signs of data theft, persistence, or network exfiltration in its parsing and reporting logic. However, it contains a severe host-impact security flaw: it uses execSync to run bash -c with direct interpolation of untrusted CLI glob arguments (--tokens/--css), enabling command injection and arbitrary command execution when an attacker can influence those arguments (e.g., CI variables or compromised tooling). Overall, treat this dependency as unsafe to run with untrusted inputs; the security review should prioritize eliminating the shell invocation or safely quoting/escaping and using a non-shell globbing approach.

Confidence: 86%Severity: 87%
Audit Metadata
Analyzed At
May 18, 2026, 05:43 AM
Package URL
pkg:socket/skills-sh/schalkneethling%2Fmasonry-gridlanes-wc%2Fcss-token-use-validator%2F@6306320ac287fb071b1dbad5c7f23bc08c18b916
Security Audit — socket — css-token-use-validator