SiteShadow
Back to vulnerability library
Detected byCWE-aware static analysis

CWE-476 NULL Pointer Dereference

Coverage: 4 rules in the SiteShadow rule registry target this CWE (registry v2.0.0). Regex 2Other-pattern 2 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 paths where null/None/undefined values may be dereferenced without checks. In many systems this is "just" a crash, but in security contexts it can become a reliability or availability issue.

Why it matters

Null dereferences can crash services or expose unexpected behavior.

Safer examples

1) Validate inputs and required fields early

Reject requests missing required fields (see CWE-20).

2) Use type-safe patterns

Use optional types and static analysis to force handling of missing values.

3) Fail closed on auth/security checks

If a value required for auth is missing, treat it as unauthorized, not "skip check."

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.