codex-theme-creator
Audited by Socket on Jul 19, 2026
1 alert found:
AnomalyNo 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).