ray-explainer
Audited by Socket on Oct 15, 2026
5 alerts found:
Anomalyx5This is a project renderer and local preview server, with no evident malware or credential exfiltration. The HTTP file-serving path check is unsafe: traversal and sibling-prefix paths may expose files outside the intended roots to local requesters. Unvalidated scene IDs can also redirect spec-file writes outside the specs directory. Severity is moderate and depends on whether project inputs or local HTTP requests are untrusted; no external domain or IP is contacted.
This is a browser clip renderer that loads specification-controlled assets and executes a selected grammar script. Its main security risk is evaluating the response from `clips/${spec.grammar}.js`; if the specification or grammar endpoint is attacker-controlled, this can execute arbitrary same-origin JavaScript. The `spec` query parameter also controls a fetch URL, and asset URLs can trigger external requests, but no credential theft or exfiltration is evident in this fragment. Severity is conditional on whether these inputs and scripts are trusted; the supplied text also appears syntactically incomplete.
This script prepares audio and, only with --upload, sends it to MiniMax for voice cloning and speech generation; no covert network activity, credential theft, or obfuscated payload is evident in the shown code. The main security risk is that --name is used unchecked in file paths, allowing output files to be redirected outside the samples directory and potentially overwrite files. Uploading recordings may expose voice data to MiniMax, so consent and authorization are relevant. Severity is moderate due to the path-based write risk; no specific domains, URLs, IPs, or credentials are hardcoded in this fragment.
As supplied, the file has a syntax error at `JS =` and does not run. If corrected, it implements an unauthenticated local file-receiving server on 127[.]0[.]0[.]1 port 8765, writing POST data into a user-configured output directory and allowing all CORS origins; this creates a moderate local file-write risk, including possible symlink-following writes, but the fragment shows no clear credential theft or other malware behavior.
This script extracts video frames, but its unvalidated project and name arguments are used in a recursive deletion path; path traversal can cause unintended file deletion if those arguments are attacker-controlled. It also passes unvalidated dimensions and frame rate into an ffmpeg filter expression. No malware indicators or network activity are visible; severity is potentially high for misuse with untrusted path arguments.