Patchbay audit-core 0.3.4 killed AUTH-004 off the list.
The check used to flag OAuth metadata that lacked resource_indicators_supported. We added it in the first draft because the field looked load-bearing. Audience binding is a real requirement, resource indicators are the mechanism, and a server that fails to advertise support for them looks like a server that will not bind tokens correctly. The check would fire, mark the server down a grade, and point the operator at RFC 8707.
On verification pass, something simple went wrong. No RFC defines resource_indicators_supported. No MCP spec references it. We were asking servers to signal something that is not a thing.
We kept it alive through two releases on the assumption that surely this is somewhere. We asked three design partners. We re-read RFC 8707 twice. We checked the OAuth 2.1 draft, the MCP 2026-07-28 spec, the RFC 9728 Protected Resource Metadata spec, and the IANA OAuth parameters registry. Nothing.
Finally we sat down with the spec stack and confirmed the field is invented. Someone had written a tutorial that used it, someone else had copied the pattern into an internal design note, and by the time it reached patchbay the shape looked load-bearing because it had been passed between enough documents.
We retired the check in 0.3.4. It now returns an empty finding list and is marked retired in the check metadata.
Replaced with a probe, not another metadata check
AUDIENCE-001 does the work AUTH-004 was trying to do. It is an opt-in probe that actually tries to mint a token for a sibling resource on the same authorization server and checks whether the server accepts it. That is what RFC 8707 actually requires: that tokens are bound to a resource and rejected when presented at a different one. The behavior is the enforcement, not the metadata flag.
AUDIENCE-001 needs a real token, so it is opt-in via --probe-audience=<bearer-for-sibling-resource>. When it fires, it fires on actual behavior. A server that rejects the cross-audience token passes. A server that accepts it fails, and the failure is reproducible on every run with evidence the operator can forward to their auth team.
The lesson is small and specific. If you want to know whether a server does the right thing, test the thing. Do not grade the metadata.
The pattern that matters more than the check itself
A scanner is only useful to the degree that its findings are real. Every false positive that reaches an engineering team costs that team an hour, and the trust spent is harder to re-earn than the trust lost on a single miss.
Three disciplines fall out of that.
First, verify checks against the spec they claim to enforce. Not the tutorial, not the design note, not the internal convention. The RFC, the MCP spec, the IANA registry. If the thing the check looks for is not defined, the check is wrong even if the intent was right.
Second, when a check is wrong, retract it. Faster is better than slower. A check that stays on because removing it feels like admitting weakness is a check that burns trust every time it fires.
Third, prefer probes over metadata. A metadata check asks whether the server claims to do the right thing. A probe asks whether the server does the right thing. The answers are not the same, and the gap between them is where most real bugs live.
Patchbay now writes findings in three categories
The retirement of AUTH-004 was one input into the three-category finding format patchbay now uses by default.
- source-confirmed: static read of the manifest or source caught the pattern.
- runtime-verified: a probe fired and the response confirmed the pattern.
- potential-fp: the regex matched but context is ambiguous.
If AUTH-004 had existed under the three-category discipline from day one, it would have been a potential-fp from the start because the field it checked was not defined. The author would have been nudged to verify. The check would have been fixed before shipping. The retirement would not have been needed.
Hindsight is cheap. The discipline is cheaper.
How to see which checks changed
Every check that was added, retired, or re-scoped since 0.11.0 is listed in CHANGELOG.md at the top of the repo. AUTH-004 appears there with the retirement reason and a link to AUDIENCE-001 as the replacement.
For operators running older versions: audit-core before 0.3.4 will still fire AUTH-004 and mark servers down for an invented field. Upgrading to 0.11.1 or newer removes the false positive entirely.
npm install @patchbay-nebius/audit-core@latest npm install @patchbay-nebius/agent@latest
Repository: github.com/GodSmasher/patchbay. The retired check stub lives at packages/audit-core/src/checks/auth-004.ts for anyone who wants to read the retirement note in the source.
If your scanner is flagging servers for not supporting something that was never specified, your scanner is wrong and the servers are correct. Admit it, retract it, replace with a probe that tests the actual requirement.