journey-report

Warn

Audited by Socket on Aug 24, 2026

4 alerts found:

Anomalyx4
AnomalyLOW
scripts/check_view.js

This module is best characterized as a test/regression runner that loads a local HTML file and executes its embedded scripts via jsdom with runScripts:'dangerously'. The dominant security risk is untrusted-code execution if an attacker can influence the HTML content or the file path under /tmp. The harness itself shows no obvious malware/exfiltration behavior, but it meaningfully increases attacker impact by simulating interactions (including export/print triggers) that may activate embedded logic. Ensure the HTML input is fully trusted and inaccessible to untrusted parties.

Confidence: 72%Severity: 65%
AnomalyLOW
scripts/check_view_sankey.js

This module is a DOM test harness that becomes security-sensitive because it executes JavaScript embedded in a filesystem-loaded HTML file using jsdom with runScripts:'dangerously'. If process.argv[2] (or the default /tmp/journey.html) can be attacker-controlled, the attacker can supply HTML that runs arbitrary script logic inside the jsdom environment and influences the DOM/events that this harness then tests and logs. There is no direct evidence of built-in data theft/exfiltration or self-propagating malware in this snippet; the risk is primarily the execution of untrusted HTML.

Confidence: 70%Severity: 62%
AnomalyLOW
scripts/check_view_filters.js

This is primarily a local/regression-style test harness, not a stealthy malware sample. The highest risk is that it loads caller-supplied HTML and executes embedded JavaScript using jsdom with runScripts:'dangerously'. If process.argv[2] or the HTML contents are untrusted, this creates an arbitrary-script-execution condition within the jsdom environment (high security impact for tooling pipelines). If used only with trusted HTML, the remaining logic is limited to DOM/CSS assertions and reporting.

Confidence: 74%Severity: 58%
AnomalyLOW
scripts/check_view_chrome.js

This is primarily a DOM-based test/verification harness, but it is security-sensitive because it loads attacker-controlled (or otherwise untrusted) HTML and explicitly executes embedded scripts in that HTML via jsdom runScripts:'dangerously'. The module itself shows no direct evidence of overt malware actions (no network calls, no credential access, no persistence), but the execution of untrusted JavaScript is the dominant risk factor and could enable arbitrary code execution depending on jsdom/Node context and the environment in which it runs.

Confidence: 72%Severity: 60%
Audit Metadata
Analyzed At
Aug 24, 2026, 02:04 PM
Package URL
pkg:socket/skills-sh/automattic%2Fagentic-analytics%2Fjourney-report%2F@701817f1c30abad303a9597df334bf3f0d3b787abffe4659401de99e65b4d41c
Security Audit — socket — journey-report