cxas-cuj-report-generator

Warn

Audited by Socket on Sep 16, 2026

4 alerts found:

Anomalyx3Security
AnomalyLOW
construct_report.py

The code appears to be a legitimate YAML-to-HTML transcript report generator and contains no clear malware or supply-chain backdoor behavior. The principal security issue is stored HTML/JavaScript injection in the generated report: untrusted YAML transcript fields and several command-line values are inserted into HTML without escaping. This could execute when the generated report is opened in a browser, particularly if transcript files are attacker-controlled. yaml.safe_load materially reduces deserialization risk, and no network exfiltration or system-command execution is present.

Confidence: 98%Severity: 55%
SecurityMEDIUM
compile_deliverables.py

The code appears intended to validate transcript files, generate HTML reports, copy deliverables, and package them into a ZIP archive. It does not show clear malicious behavior. However, as written it has a syntax error and cannot run. If the syntax error is corrected, the interpolated `sh -c` copy command permits command injection through the `--transcripts_dir` argument. Replace it with a subprocess list invocation and validate all supplied paths. The overall risk is primarily a command-execution vulnerability rather than evidence of malware.

Confidence: 98%Severity: 72%
AnomalyLOW
protocols/task-coverage-protocol/scripts/autonomous_closed_loop_daemon.py

The code is a polling worker that generates simulated YAML outputs from a JSON batch specification. It shows a meaningful arbitrary-file-write risk if an untrusted party can control /tmp/ingestor/batch_spec.json, because output_file is not validated and existing files are only checked for existence. Filename interpolation can also produce malformed or injected YAML. No clear evidence of intentional malware, data exfiltration, reverse shell behavior, cryptomining, or destructive activity is present. The primary concern is insecure file/path handling and uncontrolled daemon operation.

Confidence: 98%Severity: 68%
AnomalyLOW
protocols/task-coverage-protocol/scripts/simulate_batch_subagents.py

No clear malware, exfiltration, backdoor, or sabotage behavior is present. The main security risk is arbitrary file overwrite or creation if an attacker can control /tmp/ingestor/batch_spec.json, because output_file is used without path validation. Filename interpolation can also corrupt the generated YAML. Restrict output paths to a trusted directory, validate and normalize them, reject traversal and absolute paths, and escape YAML values.

Confidence: 98%Severity: 62%
Audit Metadata
Analyzed At
Sep 16, 2026, 02:24 PM
Package URL
pkg:socket/skills-sh/googlecloudplatform%2Fcxas-scrapi%2Fcxas-cuj-report-generator%2F@8be3a52084d5755f9e372c45ab6c0fce51a8dde4e7094cdecd4310ca50600294
Security Audit — socket — cxas-cuj-report-generator