added 1 line to task brief
This commit is contained in:
@@ -56,7 +56,7 @@ This tool automates the manual Django security audit I just performed on NearBea
|
||||
|
||||
**Why this matters:** A single misconfigured setting (e.g., `DEBUG=True`, weak `SECRET_KEY`, missing HSTS) can lead to full compromise. This tool makes "secure by default" enforceable in CI/CD.
|
||||
|
||||
**Architecture:** Pure static analysis — no Django runtime, no database, no network calls. Parses settings as Python AST (handles `from .base import *`, environment variables via `os.environ.get()`, `django-environ`, `python-decouple`). Rule engine is extensible: each check is a class with `check(settings_dict) -> List[Finding]`.
|
||||
**Architecture:** Pure static analysis — no Django runtime, no database, no network calls. Parses settings as Python AST with env-branch modeling to handle `os.environ.get()`, `django-environ`, `python-decouple`, and conditional blocks (`if "KEY" in os.environ:`) without booting the project. Rule engine is extensible: each check is a class with `check(settings_dict) -> List[Finding]`.
|
||||
|
||||
**Scope:** Django settings only. Not scanning `requirements.txt`/`pyproject.toml` for vulnerable dependencies (that's a separate tool's job).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user