Spaces:
Running
Running
Commit History
4 days ago
-
fix(sonar): wave 6 - operator tooling + infra, 477 findings (scripts/, infra/, tests/, cache/, public/, .agents/, .github/, Dockerfile)
Z UserSECURITY (real fixes at root): - S2083 BLOCKER: lh_static_server path traversal -> canonical resolve + root-prefix check + 403 - S5144 SSRF: prod_reverse_proxy -> fixed upstream + allowlist + origin-form - S5443 x22: probe artifacts moved from /tmp to project-local .cache dirs - S2245 x5: credential material -> node:crypto randomBytes - S8689: log redaction helper for token/secret material - S5145 x4: log injection sanitized; S8476: CSRF URL allowlist - S4036 x3: absolute executable paths instead of PATH lookup - S9383 BUG: cache-nuke promise handled; S3923 x3 + S1244 x2 + S5797 real bugs collapsed / math.isclose SMELLS: python S1192 literals hoisted (53), S3776 refactored (32) with differential fuzz equivalence on parsers, S1481/S1186/S1172/S1854/S8513... ; js/ts scripts S9382/S6582/S3358/S7780/S7785/S4624...; infra worker S3776 28->extracted; page objects; cache/ TS files; GitHub Actions snake_case; Dockerfile RUN arg order; shell [[ conditionals. Verified: node --check all edi…23a1787
19 days ago
-
test(auth): login check now also verifies /admin renders with the full tab set
ahmdelbaz28-uxda0a25b -
feat(auth): one-time 2FA lockout recovery lever (ADMIN_RECOVERY=reset2fa)
ahmdelbaz28-uxProd verification caught it: password recovery succeeded but login then demanded a TOTP code — when the authenticator device is lost, password recovery alone cannot restore access. The recovery lever now has a third branch: ADMIN_RECOVERY='reset2fa' clears the admin's TOTP enrolment once (own completion marker, owner-level env gate, value never logged) so username+password work again and the owner can re-enrol 2FA from the profile. Also adds scripts/admin_login_check.mjs — real-browser prod login verification.e900f24