security: upgrade fastapi to 0.135.2, fix safety scan command, add safety policy for ecdsa CVEs

Agent-Logs-Url: https://github.com/christianlouis/InboxConverge/sessions/902f3b74-792c-4afa-8aae-96611262ee5f

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-03-28 21:04:13 +00:00
parent 6a4b991f29
commit 5bddbb42f5
5 changed files with 33 additions and 2 deletions
+22
View File
@@ -0,0 +1,22 @@
# Safety policy configuration
# See: https://docs.safetycli.com/safety-docs/safety-policy-file
version: "3.0"
security:
ignore-cvss-severity-below: 0
ignore-cvss-unknown-severity: false
ignore-vulnerabilities:
# ecdsa CVE: side-channel / Minerva attack (CVE-64396, CVE-64459)
# The ecdsa maintainers have explicitly stated that these vulnerabilities
# cannot be fixed in pure Python. ecdsa is a transitive dependency of
# python-jose[cryptography], which is used only for JWT token
# verification/signing a context where precise timing side-channels
# are not exploitable by remote attackers. The 'cryptography' package
# (already installed) handles all sensitive key operations.
64396:
reason: "ecdsa side-channel (Minerva) — unfixable in pure Python per maintainers; not exploitable in our JWT-signing context"
expires: "2027-01-01"
64459:
reason: "ecdsa side-channel attack — unfixable in pure Python per maintainers; not exploitable in our JWT-signing context"
expires: "2027-01-01"