Skip to content

Commit d92d51e

Browse files
committed
build(security): floor guard-core at 3.17.0 for the ban-path TTL race fix
guard-core 3.16.0 closes a TTLCache check-then-use race on the IP-ban read path that could silently skip a banned IP's block under this perimeter's passive-mode fail_secure=False - load-bearing for threat_ban_config and auto_ban_threshold. 3.17.0 adds a dynamic-rules last-known snapshot, a no-op here since the perimeter never enables dynamic rules (enable_agent=False). Rewrote the pin comment to cover all three floors.
1 parent 17142d8 commit d92d51e

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

requirements-optional.txt

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,15 @@ markitdown[docx,pptx,xlsx,xls]==0.1.6
5151
# credential-into-corpus / prompt-injection signals. Wired in core/guard.py and
5252
# only imported when the flag is set, so the default install stays unchanged.
5353
fastapi-guard>=7.8.2
54-
# guard-core 3.15.0 stops printing its own console line when the host app has
55-
# root handlers, so guard events reach Odysseus's console and file log once.
56-
guard-core>=3.15.0
54+
# guard-core >= 3.15.0 stops printing its own console line when the host app
55+
# has root handlers, so guard events reach Odysseus's console and file log
56+
# once. >= 3.16.0 closes a TTLCache check-then-use race on the IP-ban read
57+
# path that could silently skip a banned IP's block under this perimeter's
58+
# passive-mode fail_secure=False, so it is load-bearing for threat_ban_config
59+
# / auto_ban_threshold below. >= 3.17.0 adds a last-known dynamic-rules
60+
# snapshot; a no-op here, since this perimeter never enables dynamic rules
61+
# (enable_agent=False).
62+
guard-core>=3.17.0
5763
# GeoIP country lookup for ODYSSEUS_GUARD_BLOCK_COUNTRIES (needs a MaxMind
5864
# GeoLite2/GeoIP2 country .mmdb pointed to by ODYSSEUS_GUARD_GEOIP_DB). Only
5965
# used when country blocking is enabled.

0 commit comments

Comments
 (0)