{
"id": "py-debug-enabled",
"language": "python",
"group": "security",
"listingTitle": "Py debug enabled",
"title": "Review debug enabled",
"mvvm": false,
"defaultSeverity": "info",
"legacyGroup": "security",
"why": "Enabling framework or application debug mode can expose internal state and unsafe development behavior.",
"suggestion": "Disable debug mode in shipped configuration and application run calls.",
"version": 2,
"semanticMaturity": "text",
"securityKind": "hotspot",
"taxonomy": [
"security"
],
"requirements": [
"sourceText"
],
"packs": [
"python",
"fastapi"
],
"implementation": "src/languages/python/rules.rs",
"languages": [
"python"
],
"frameworks": [],
"languageVersions": [],
"limitations": [
"The rule detects DEBUG assignments, debug mapping entries, and common application run calls; unrelated debug keyword arguments are ignored."
]
}