command-center
Audited by Socket on Sep 18, 2026
6 alerts found:
Anomalyx6The fragment appears to implement a legitimate job dashboard and provides no clear evidence of malware or supply-chain sabotage. It contains a credible XSS risk in showHistory(): multiple API-controlled fields are inserted into innerHTML without escaping, including a value used in an HTML class attribute. Server-side authorization and CSRF handling for the job-control endpoints are not visible and require separate review.
The fragment appears to implement a legitimate OpenClaw administration dashboard rather than malicious code. The main security concerns are architectural: the /api/action route may expose privileged command execution if not protected elsewhere, several endpoints may disclose sensitive operational data, operator updates lack visible schema validation, and request bodies have no size limits. Authorization, route binding, and helper implementations must be reviewed before deployment, especially if the server is accessible beyond a trusted local user.
The fragment appears to implement legitimate Markdown topic status management and provides no evidence of malware, exfiltration, or backdoor behavior. The main security risks are potential path traversal through an unvalidated topicId and metadata/content injection through unvalidated newStatus or topicId. Severity depends on caller-controlled inputs and filesystem permissions; callers should enforce a safe topic identifier and an enum for status, and content should be escaped or serialized safely.
The module is an authentication helper, not apparent malware. Its main security issue is an HTML injection/XSS vulnerability in getUnauthorizedPage() because dynamic reason, identity, and configuration values are inserted without escaping. Authentication security also depends on deployment controls: localhost must be trusted, proxy identity headers must be stripped and set only by trusted Tailscale/Cloudflare proxies, and x-forwarded-for must only be honored from trusted proxies. The code contains no evident malicious payload or supply-chain behavior.
The code is a legitimate-looking system dependency installer, but it executes shell commands supplied by a local JSON configuration and constructs additional shell commands from configuration values without validation or quoting. This is a significant supply-chain and configuration-tampering risk, though the fragment itself does not provide evidence of malicious intent. Safer implementation would validate dependency fields, avoid shell invocation where possible, use argument arrays, and pass values to Node without embedding them in source code.
The code is a readable utility module with no apparent malicious payload or unauthorized behavior. However, runCmd is a high-impact command-execution helper because it passes its command directly to child_process.exec and inherits the process environment. It should only receive trusted, internally constructed commands; use execFile or spawn with an argument array where possible, and avoid propagating unnecessary environment variables.