codex-theme-installer

Warn

Audited by Socket on Jul 17, 2026

1 alert found:

Anomaly
AnomalyLOW
scripts/install-theme.ts

This module is a remote theme installer that downloads JSON, validates it, and writes multiple files (theme.json, a CSS file, an optional base64-decoded asset, and an optional README) into a local directory. The dominant security risk visible in the fragment is filesystem path traversal/arbitrary file write driven by remote-controlled path components (portable.manifest.id for the destination directory and manifest.css/portable.art.filename for target filenames), unless validatePackage/parseThemeId strictly enforce safe basenames and prevent absolute paths and '..' traversal. No clear evidence of overt malware (exfiltration, backdoor, eval/child-process) is present in the shown code.

Confidence: 60%Severity: 60%
Audit Metadata
Analyzed At
Jul 17, 2026, 08:56 AM
Package URL
pkg:socket/skills-sh/codexthemes%2Fskills%2Fcodex-theme-installer%2F@5df8a6d1d8aa7f5fef50327519d4f75dbc12d833914baffb517d7413ececfbda
Security Audit — socket — codex-theme-installer