bambuddy/backend/app/core
maziggy 140ce1a593 Give the variant-group backfill query the nosec marker that applies
The line carried "# noqa: S608", which is ruff's flake8-bandit code -- but S is
not in ruff's select list in pyproject.toml, so ruff never ran that rule and the
marker suppressed nothing. Bandit itself only honours "# nosec", so the query
went on being reported as B608 while the line read as already handled.

The finding is a false positive. The only interpolated fragments are source_expr
and model_expr, assigned just above from a two-branch is_sqlite() check where
both branches are string literals; no caller value reaches the string. They are
JSON expressions rather than values, so a bind parameter cannot express them.

Replaces the inert marker with "# nosec B608", matching the convention already
used across the test suite, and moves the reasoning into a comment above the
statement. Bandit's medium+ count drops to 16, none of them B608.
2026-08-10 16:13:59 +02:00
..
__init__.py
asyncio_handlers.py
auth.py Let API clients resolve user ids to names (#1894) 2026-08-10 11:43:23 +02:00
catalog_defaults.py
compat.py
config.py Housekeeping 2026-08-02 12:29:32 +02:00
database.py Give the variant-group backfill query the nosec marker that applies 2026-08-10 16:13:59 +02:00
db_dialect.py
encryption.py
local_config.py feat(system): NTP-gate state on /api/v1/system/appliance 2026-06-22 14:23:30 +02:00
logging_filters.py Bound the scheme repetition in the log credential-redaction pattern. As an 2026-08-02 11:17:49 +02:00
oidc_env.py fix(oidc): strip the required BAMBUDDY_OIDC_* values and register the local-login bypass 2026-08-01 11:37:01 +02:00
paths.py
permissions.py Let API clients resolve user ids to names (#1894) 2026-08-10 11:43:23 +02:00
tasks.py
trace.py
websocket.py feat(toast): restore upload-progress toast for scheduler dispatches (#1625 follow-up) 2026-06-27 11:28:00 +02:00