SiteShadow
Back to vulnerability library

SCP13 General Coding Practices

What this means

SiteShadow flagged general coding practices that increase security risk by making code harder to review, test, and operate safely (duplication, unclear ownership, silent failure, overly complex functions).

Why it matters

Poor coding practices hide security issues and slow remediation.

Safer examples

1) Prefer small, testable units

Break large handlers into small functions and add unit + integration tests around security boundaries.

2) Don't swallow exceptions silently

Fail closed for security checks; log safely (see SCP07 / E01).

3) Make defaults safe and explicit

Avoid "debug by default", avoid permissive fallbacks, and make insecure modes refuse to run in production.

How SiteShadow detects it (high level)

References

---

← Back to Vulnerability Library

Request access View coverage