pick-theme

Warn

Audited by Socket on Jul 25, 2026

1 alert found:

Security
SecurityMEDIUM
scripts/discover-themes.py

This module is primarily a local theme discovery/parsing utility, but it has a significant supply-chain/sideloading risk: it dynamically loads and executes scripts/validate-theme-manifest.py via importlib.exec_module, with the lookup influenced by CLAUDE_PLUGIN_ROOT/--plugin-root and filesystem presence. If an attacker can affect plugin-root location or replace validate-theme-manifest.py, this becomes an arbitrary code execution vector. Aside from that, it performs filesystem reads/regex/JSON parsing and prints absolute paths and validation errors, which can leak local directory structure. No direct exfiltration or obvious malicious payload is evident in the provided fragment.

Confidence: 68%Severity: 70%
Audit Metadata
Analyzed At
Jul 25, 2026, 01:53 PM
Package URL
pkg:socket/skills-sh/cogni-work%2Finsight-wave%2Fpick-theme%2F@48e8c3041def6ad65535c3f50af0ca62a53dbaddd501e93647a61dcd7cc49d70
Security Audit — socket — pick-theme