edu-physics-3d

Fail

Audited by Snyk on Aug 8, 2026

Risk Level: CRITICAL
Full Analysis

CRITICAL E006: Malicious code pattern detected in skill scripts.

  • Malicious code pattern detected (high risk: 1.00). The HTML template embeds lesson JSON and uses Function(...) to evaluate expression strings from that JSON at runtime (no sandboxing), which permits arbitrary JS execution and thus enables remote code execution and data exfiltration (e.g. fetch(), document.cookie, navigator APIs); loading third‑party CDNs without integrity checks increases supply‑chain risk.

MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).

  • Third-party content exposure detected (medium risk: 0.30). Runtime workflow: the required template/board3d.html parses and renders user-provided lesson JSON from the __LESSON_DATA__ data island, then injects outsider-authored free text into the DOM via problem-text (L.problem -> innerHTML) and steps-body (S[*].content -> template string -> innerHTML) and also renders math from that same content.

MEDIUM W012: Unverifiable external dependency detected (runtime URL that controls agent).

Issues (3)

E006
CRITICAL

Malicious code pattern detected in skill scripts.

W011
MEDIUM

Third-party content exposure detected (indirect prompt injection risk).

W012
MEDIUM

Unverifiable external dependency detected (runtime URL that controls agent).

Audit Metadata
Risk Level
CRITICAL
Analyzed
Aug 8, 2026, 05:14 AM
Issues
3
Security Audit — snyk — edu-physics-3d