You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Firewall fails open on missing or unknown X-Taint / X-Sink #4
FirewallServer.handleConnection takes its decision inputs from headers the caller sends:
No X-Taint header means USER_INTENT, which is allowed at every sink.
An unrecognised X-Sink (for example a typo) means read_public, which is always allowed.
So a caller that forgets the header, or misspells it, is allowed. The decision is only as good as the labels the caller declares: nothing inspects the payload. That is by design for an IFC label check, but the README must say so, and the defaults should deny.
Fix: deny when X-Taint or X-Sink is missing or unrecognised, and add a test for each case.
Activity