zhuoran-selfie

Warn

Audited by Socket on Mar 8, 2026

1 alert found:

Anomaly
AnomalyLOW
scripts/clawra-selfie.ts

No clear evidence of intentionally malicious code is present in this file; its functionality matches an image-generation-and-send utility. However, there is a significant security issue: the code builds and executes a shell command (openclaw CLI) by interpolating user-provided values without escaping or validation, leading to command injection risk. The script also sends prompts and API keys to external services (expected for operation), and will POST message contents to a gateway URL that could be attacker-controlled if environment variables are compromised. Recommend sanitizing/escaping shell arguments or using child_process.spawn with argument arrays (or avoiding CLI execution entirely), validating/whitelisting OPENCLAW_GATEWAY_URL, and avoiding logging secrets. Treat the module as functionally legitimate but moderately risky until fixes are applied.

Confidence: 82%Severity: 55%
Audit Metadata
Analyzed At
Mar 8, 2026, 02:26 AM
Package URL
pkg:socket/skills-sh/wulaosiji%2Fskills%2Fzhuoran-selfie%2F@0a2b09e89152b17293db48f71943290d9bb0b6a0