codex-theme-studio
Audited by Socket on Sep 6, 2026
2 alerts found:
Anomalyx2This module is primarily a CDP-based browser automation and UI theming verification harness. Its key security concern is that it loads theme-provided artifacts from options.themeDir and executes/injects them into live page contexts via session.evaluate and applyToSession, turning theme/payload provenance into a critical supply-chain execution vector. No explicit exfiltration/malware actions are visible in this fragment, but if themeDir contents are tampered or untrusted, the code can run arbitrary scripts inside the target application and capture sensitive UI screenshots to disk. Treat theme artifacts as fully untrusted unless integrity-verified and tightly controlled.
This module’s primary function is to install and start a macOS LaunchAgent that persistently runs a bundled shell script with auto-restart semantics and writes logs/config locally. The fragment shows strong persistence behavior and dynamic generation of an execution plist, which is inherently higher risk in a supply-chain context. However, the provided code itself contains no direct evidence of malware such as network-based exfiltration, credential theft, or destructive actions. The likelihood of actual malicious activity cannot be confirmed without reviewing resident-manager-macos.sh and common-macos.sh, especially how SCRIPT_DIR and the manager script are resolved and what the manager does at runtime.