idea-spark

Warn

Audited by Socket on Sep 10, 2026

2 alerts found:

SecurityAnomaly
SecurityMEDIUM
scripts/intent.py

The fragment is not overtly self-contained malware, but it contains a high-impact execution primitive: it runs an environment-variable-defined shell command using subprocess.run(..., shell=True). The external command’s stdout is treated as JSON and then written to an attacker-influenced filesystem path. This combination creates a strong supply-chain/sabotage risk if the environment variable or CLI arguments can be controlled. Scores reflect high security risk from command execution rather than confirmed malicious payloads in the shown code.

Confidence: 60%Severity: 88%
AnomalyLOW
scripts/pattern_summary.py

No explicit in-module malware (e.g., credential theft, reverse shell, persistence, or destructive actions) is evident. The dominant risk is supply-chain/runtime integrity: the script executes an environment-controlled shell command (NOVELTY_LLM_CLASSIFY_FAST_CMD) via subprocess.run(shell=True). If that environment value (or referenced binary/script) is compromised or attacker-controlled, arbitrary command execution is possible. Separately, the script parses untrusted stdout as JSON and writes derived results to disk, which impacts integrity but is not evidence of overt malicious behavior by the Python code itself.

Confidence: 58%Severity: 62%
Audit Metadata
Analyzed At
Sep 10, 2026, 04:14 PM
Package URL
pkg:socket/skills-sh/microsoft%2Fresearchstudio%2Fidea-spark%2F@cc95f4a66cbdadf76b247018e13e3fe7c51965d1c4b4203604fe17481d9ef58e
Security Audit — socket — idea-spark