SiteShadow
Back to vulnerability library
Detected bySecure-coding-practice checks (SCP)Pro

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

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.