SiteShadow
Back to vulnerability library

CWE-657 Violation of Secure Design Principles

What this means

SiteShadow flagged patterns that suggest insecure design choices rather than a single bug. This usually means a feature is built in a way that makes it easy to misuse (or hard to secure) across the system.

Why it matters

Insecure design choices create systemic risk.

Safer examples

1) "Secure by default" for new features

Make the safe behavior the default (auth required, least privilege, strict validation), and require explicit opt-in for risky behavior.

2) Define trust boundaries and enforce them

Treat all client input as untrusted; re-check authorization server-side; avoid client-controlled "critical state" (see CWE-501 / CWE-642).

3) Use threat modeling for high-risk flows

Payments, auth/session, file handling, and admin capabilities should have a basic threat model and abuse-case tests.

How SiteShadow detects it (high level)

References

---

← Back to Vulnerability Library

Request access View coverage