added 1 line to task brief

This commit is contained in:
2026-11-10 19:13:31 -05:00
parent c74b7d8811
commit f5e0470cd5
2 changed files with 367 additions and 1 deletions

View File

@@ -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).