codex-theme-creator

Warn

Audited by Socket on Jul 19, 2026

1 alert found:

Anomaly
AnomalyLOW
scripts/apply-theme.ts

No clear evidence of overt malware (no external network exfiltration, no credential theft, no cryptomining, no filesystem damage) is present in the shown fragment. However, the code performs high-privilege actions: it connects to a local CDP debugging endpoint and uses `Runtime.evaluate` and `Page.addScriptToEvaluateOnNewDocument` to execute/inject a generated JavaScript runtime in the target renderer. If a malicious theme package controls theme.json/css (or bypasses validateTheme), it could potentially escalate from CSS data into script execution in the renderer context. Additionally, the module executes OS commands (PowerShell/tasklist/pgrep/osascript) using dynamically derived strings, which could be a command-injection risk depending on validateTheme/options.app constraints (not shown).

Confidence: 62%Severity: 55%
Audit Metadata
Analyzed At
Jul 19, 2026, 07:44 AM
Package URL
pkg:socket/skills-sh/codexthemes%2Fskills%2Fcodex-theme-creator%2F@406a96b8a6201b34b32e5a1f7c9b58e45d73ba51c10414e7f73630ecd8f8837f
Security Audit — socket — codex-theme-creator