SiteShadow
Back to vulnerability library
Detected byCWE-aware static analysis

CWE-829 Inclusion of Functionality from Untrusted Control Sphere

Coverage: 6 rules in the SiteShadow rule registry target this CWE (registry v2.0.0). Regex 1Other-pattern 5 Also: Taint and heuristic analyzers may also detect related flows (see coverage for the authoritative list) Registry tagging shows intent, for sample-level behaviour and benchmarked gaps see known gaps.

What this means

SiteShadow flagged code or dependencies being pulled from an untrusted control sphere (untrusted registries, unchecked remote includes, dynamic plugin loading, downloading and executing code at runtime).

Why it matters

Untrusted sources can introduce malicious functionality.

Safer examples

1) Pin and verify dependencies

Use lockfiles, checksums/signatures where supported, and controlled registries (see A08 / SBOM01).

2) Don't download-and-execute at runtime

Avoid "fetch plugin code from URL" patterns. If you need extensibility, ship vetted plugins or use server-side allowlisted modules.

3) Restrict plugin/module loading

Allowlist module names and load only from a trusted, read-only directory.

How SiteShadow detects it (high level)

References

---

← Back to Vulnerability Library

Catch this in your code with SiteShadow.

Every released SiteShadow scanner is free, including full project analysis, reports, patterns, dashboard access, and configured organization SSO.