global-report

Warn

Audited by Socket on Oct 16, 2026

2 alerts found:

Anomalyx2
AnomalyLOW
scripts/lib/report.mjs

The code is primarily a report and asset utility module, but its exported which(command) function can execute shell expansions from an untrusted command string because it interpolates that string into /bin/sh -c; this is a command-injection risk requiring caller control of the argument. PDF paths are passed as arguments to utilities, and resolveInside() provides lexical containment but does not account for symlinks. No network exfiltration, credential theft, or other clear malware behavior is shown; overall severity is moderate and depends on whether untrusted callers can reach which().

Confidence: 98%Severity: 57%
AnomalyLOW
scripts/render_preview.mjs

This is a document-preview CLI with no evident malware, credential theft, or network exfiltration. The primary security risk is destructive: a supplied --out-dir is recursively deleted before rendering, so an invocation with an unintended existing path can erase its contents. Validate or constrain the output directory before deletion; severity is moderate, and the DPI option should also be bounded.

Confidence: 98%Severity: 62%
Audit Metadata
Analyzed At
Oct 16, 2026, 12:47 AM
Package URL
pkg:socket/skills-sh/indextrown%2Fcodex-skillbook%2Fglobal-report%2F@3d990bacbbdc415e3c1ed8c7bdb04a51a9ba99067fac58686a9bd99d3ceac730