Skip to content

[P4] Fix CWE-489 in services/workshop/crapi_site/settings.py:62:CWE-489 - #393

Closed
sankeerthanasreeramula wants to merge 1 commit into
OWASP:developfrom
sankeerthanasreeramula:helio/fix-services-workshop-crapi_site-settings-py-62-cwe-489-20261127-180350
Closed

sankeerthanasreeramula wants to merge 1 commit into
OWASP:developfrom
sankeerthanasreeramula:helio/fix-services-workshop-crapi_site-settings-py-62-cwe-489-20261127-180350

Conversation

@sankeerthanasreeramula

Copy link
Copy Markdown

Automated remediation proposal for CWE-489 (services/workshop/crapi_site/settings.py:62:CWE-489).

Disable debug modes, verbose error pages and dev endpoints in production builds.

diff --git a/services/workshop/crapi_site/settings.py b/services/workshop/crapi_site/settings.py
--- a/services/workshop/crapi_site/settings.py
+++ b/services/workshop/crapi_site/settings.py
@@ -62,1 +62,2 @@
-    DEBUG = True
+    # FIXME[CWE-489]: Apply the standard secure pattern for this weakness. (OWASP ASVS V1.1)
+    DEBUG = True

Gates: exploit replay before/after, impacted tests, evidence bundle. Does not auto-merge.

Tracking: #12 (sankeerthanasreeramula/piggymetrics#12)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants