implicit-cad

Warn

Audited by Socket on Aug 26, 2026

4 alerts found:

Anomalyx2Securityx2
AnomalyLOW
scripts/packages/cadgen/src/cadgen/_internal/generation_runner.py

This module is a CAD generation orchestrator that dynamically loads and executes Python generator plugins from a filesystem path (exec_module + generator() call). It validates the *returned payload structure* but cannot restrict what the plugin code does during import/execution. No explicit overt malware (network exfiltration, credential theft, reverse shell) is visible in this fragment; the primary risk is the inherent arbitrary-code-execution trust boundary, which would enable build-time sabotage or data theft if an attacker can influence the generator module path/content. Truncation at the end of the file slightly limits review of cleanup/lock semantics.

Confidence: 62%Severity: 66%
SecurityMEDIUM
scripts/packages/implicitjs/src/common/implicitHeadlessRenderEntry.js

This module presents a significant supply-chain/security risk primarily due to URL-driven dynamic loading (inputUrl -> loadImplicitCadModule) combined with execution of build logic from the loaded module (model.definition.buildModel). If inputUrl is attacker-influenced and the loader does not strictly enforce allowlists, same-origin restrictions, and/or signature/manifest verification, an attacker could potentially load a malicious dependency and execute code during model building in the rendering context. Secondary concerns include increased attack surface from exporting a global browser entrypoint and potential denial-of-service from rendering/GIF encoding workload driven by untrusted sizing and frame parameters. No explicit eval/new Function, filesystem, or network exfiltration is visible in this snippet, so malware likelihood cannot be confirmed from the shown code alone.

Confidence: 62%Severity: 72%
SecurityMEDIUM
scripts/packages/implicitjs/src/lib/implicitCad/loader.js

This code is not overtly malicious in isolation (no explicit credential theft or exfiltration logic present), but it provides high-impact arbitrary JavaScript execution primitives via dynamic `import()` from caller-controlled URLs and by importing caller-controlled source encoded as a `data:text/javascript` module. If untrusted `url` or `source` can reach these functions, the security risk is substantial; the safest use requires strict allowlisting/validation and/or sandboxing at the call site.

Confidence: 78%Severity: 72%
AnomalyLOW
scripts/packages/cadgen/src/cadgen/_internal/node_resolve_register.mjs

This module is a minimal bootstrap that registers a local Node.js resolution hook (node_resolve_hooks.mjs) using the privileged node:module register mechanism. While the snippet itself shows no explicit malicious actions, the hook-based approach is high-impact and can be used to alter dependency resolution/execution, making it a supply-chain/runtime tampering red flag pending review and verification of node_resolve_hooks.mjs (content, integrity, and whether it only performs intended legitimate resolution behavior).

Confidence: 55%Severity: 60%
Audit Metadata
Analyzed At
Aug 26, 2026, 02:29 PM
Package URL
pkg:socket/skills-sh/earthtojake%2Ftext-to-cad%2Fimplicit-cad%2F@ded3c6d8c41008c46c3dc0df2bc5883ddf1a3dbcea985f44bc281bc462c6e6f3