Skip to content

fix(addon): scanner-unavailable = fail closed (503), not silent forward - #60

Merged
shsingh merged 1 commit into
masterfrom
feat/verdict-suite-slice1
Oct 1, 2026
Merged

shsingh merged 1 commit into
masterfrom
feat/verdict-suite-slice1

Conversation

@shsingh

@shsingh shsingh commented Oct 1, 2026

Copy link
Copy Markdown
Owner

Slice 1 of the #15 verdict suite (TDD, tests-first): RED tests exposed the real fail-open bug (clamd down = payload forwarded unscanned); GREEN fixes it. 31/31 local + CI gates on merge.

First invariant of the #15 verdict suite (TDD): RED tests pinned the
fail-open behavior (scanner down or erroring -> payload forwarded
unscanned, a silent policy bypass); GREEN fix replaces the response with
503 + Retry-After for any verdict that is not CLEAN/INFECTED. Scanner
unavailability now blocks instead of bypassing. 31/31 green.
@shsingh
shsingh enabled auto-merge (squash) October 1, 2026 04:52
@shsingh
shsingh merged commit 81acddc into master Oct 1, 2026
3 checks passed
@shsingh
shsingh deleted the feat/verdict-suite-slice1 branch October 1, 2026 04:53
shsingh added a commit that referenced this pull request Oct 1, 2026
#61)

First invariant of the #15 verdict suite (TDD): RED tests pinned the
fail-open behavior (scanner down or erroring -> payload forwarded
unscanned, a silent policy bypass); GREEN fix replaces the response with
503 + Retry-After for any verdict that is not CLEAN/INFECTED. Scanner
unavailability now blocks instead of bypassing. 31/31 green.
shsingh added a commit that referenced this pull request Oct 1, 2026
First invariant of the #15 verdict suite (TDD): RED tests pinned the
fail-open behavior (scanner down or erroring -> payload forwarded
unscanned, a silent policy bypass); GREEN fix replaces the response with
503 + Retry-After for any verdict that is not CLEAN/INFECTED. Scanner
unavailability now blocks instead of bypassing. 31/31 green.
shsingh added a commit that referenced this pull request Oct 1, 2026
First invariant of the #15 verdict suite (TDD): RED tests pinned the
fail-open behavior (scanner down or erroring -> payload forwarded
unscanned, a silent policy bypass); GREEN fix replaces the response with
503 + Retry-After for any verdict that is not CLEAN/INFECTED. Scanner
unavailability now blocks instead of bypassing. 31/31 green.
shsingh added a commit that referenced this pull request Oct 1, 2026
#61) (#62)

First invariant of the #15 verdict suite (TDD): RED tests pinned the
fail-open behavior (scanner down or erroring -> payload forwarded
unscanned, a silent policy bypass); GREEN fix replaces the response with
503 + Retry-After for any verdict that is not CLEAN/INFECTED. Scanner
unavailability now blocks instead of bypassing. 31/31 green.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant