SiteShadow
Back to vulnerability library
Detected byCWE-aware static analysisPro

CWE-922 Insecure Storage of Sensitive Information

Coverage: 4 rules in the SiteShadow rule registry target this CWE (registry v2.0.0). Regex 4 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 sensitive data being stored in a way that's easier to extract than intended (plaintext on disk, secrets in config files, tokens cached without protection, sensitive exports left in shared locations).

Why it matters

Insecure storage can expose secrets or regulated data.

Safer examples

1) Keep secrets out of the repo and out of disk where possible

Use environment injection or a secret manager; avoid writing tokens/keys to local files (see S01 / CWE-798).

2) Encrypt sensitive data at rest when you must store it

Use a vetted library and keys from KMS/secret manager; avoid "homebrew" crypto (see CWE-1240).

3) Lock down storage locations and lifecycle

How SiteShadow detects it (high level)

References

---

← Back to Vulnerability Library

Catch this with SiteShadow Pro.

This vulnerability class is detected by SiteShadow's Pro-tier engines, two-pass interprocedural taint analysis, heuristic flow checks, AI-context scanning, and cross-file detection. The free tier catches OWASP Top 10 single-file patterns; Pro adds the data-flow depth that finds this class of bug.