walkthrough

Warn

Audited by Socket on Aug 15, 2026

1 alert found:

Anomaly
AnomalyLOW
scripts/build-walkthrough.mjs

No direct malicious “payload” behavior (exfiltration/backdoor/credential theft) is evident in this code fragment. However, it has high application-level security risk if the Markdown or Mermaid diagram sources can be controlled by an attacker: it directly injects raw HTML from ::: html blocks into the output and injects Mermaid-generated SVG into the HTML without sanitization. Additionally, when using the runtime fallback it inlines Mermaid and initializes it with securityLevel:'loose', increasing the chance that unsafe/HTML-injecting diagram constructs could be rendered on the client. Treat this generator as safe only for fully trusted input or add sanitization/strict trust boundaries.

Confidence: 66%Severity: 63%
Audit Metadata
Analyzed At
Aug 15, 2026, 03:58 AM
Package URL
pkg:socket/skills-sh/adamos486%2Fskills%2Fwalkthrough%2F@e5200b79ea0a460434bc22de8a0ce45653fbfec2fa9acd83ce355d0a21858ac6
Security Audit — socket — walkthrough