architecture-canvas

Warn

Audited by Socket on Aug 30, 2026

1 alert found:

Security
SecurityMEDIUM
scripts/validate.js

This module is primarily a geometry/schema validator, but it executes the provided scene.js file using new Function, making it an arbitrary code execution primitive if the scene content or path is attacker-controlled. Aside from that evaluation sink, the rest of the code performs only local consistency checks and logs diagnostics, with potential log-content reflection. If scene.js is fully trusted, the remaining risk is substantially lower; if not, treat this as high risk for supply-chain/entry-point compromise.

Confidence: 86%Severity: 92%
Audit Metadata
Analyzed At
Aug 30, 2026, 01:58 PM
Package URL
pkg:socket/skills-sh/yulonghe97%2Fdraw-architecture%2Farchitecture-canvas%2F@0351ece763f79c5d76f249533bce5e43562f3058