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
SiteData: explicit flag for whether an audit may request other hosts (stop inferring it from externalLinks) #2109
security/supabase-rls (pub#1883) and reliability/broken-forms decide whether the audit may contact other hosts by checking site.externalLinks === undefined. That field is filled by the external link check, so both rules have to be in LINK_VERDICT_RULE_IDS and wait for the late link-verdict pass. For a probing rule that ties its requests to the 30 s reserve left after the link check: on an aggressive run with a deadline, supabase-rls can now be capped more often (reported as not checked, never as a pass).
An explicit flag would let these rules run in the normal pass.
Acceptance Criteria
SiteData carries an explicit flag for "this audit may request other hosts", set by the engine in both passes, and false on --offline, on targeted runs and with [external_links] enabled = false.
security/supabase-rls and reliability/broken-forms read that flag instead of site.externalLinks, and leave LINK_VERDICT_RULE_IDS unless they also read the verdicts.
Tests cover each of the three "off" cases and the "on with zero external links" case.
The link-verdict-rules-2144 and late-link-verdicts-2144 tests pass.
From the pub#1883 confirm review: the engine order test (late-link-verdicts-2144.test.ts:263) asserts the ordering correctly, but its loop over security/supabase-rls checks proves nothing, because the fixture has no Supabase project. The fix for this issue should add a fixture page that names a Supabase project and tables, so the order test exercises the rule for real.
Activity
nc9 commentedon Nov 17, 2026
From the pub#1883 confirm review: the engine order test (
late-link-verdicts-2144.test.ts:263) asserts the ordering correctly, but its loop oversecurity/supabase-rlschecks proves nothing, because the fixture has no Supabase project. The fix for this issue should add a fixture page that names a Supabase project and tables, so the order test exercises the rule for real.nik
fix(engine): explicit SiteData.mayRequestOtherHosts flag for rules th…
test(cli): invert the targeted-run link check test, add the offline c…
style(cli): oxfmt audit-options test #2109
fix(engine): explicit SiteData.mayRequestOtherHosts flag for rules th…
test(cli): invert the targeted-run link check test, add the offline c…
style(cli): oxfmt audit-options test #2109
fix(engine): explicit SiteData flag for whether an audit may request …