Skip to content

fix(audit-engine): external link check never requests action or token links, nor redirect hops into them (repo#2759) - #767

Merged
nc9 merged 7 commits into
mainfrom
fix/external-links-skip-action-token-2759
Oct 14, 2026
Merged

nc9 merged 7 commits into
mainfrom
fix/external-links-skip-action-token-2759

Conversation

@nc9

@nc9 nc9 commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Fixes squirrelscan/repo#2759 (private).

What changed

The external link checker requested every external link an audit found, with HEAD and then GET (when HEAD failed), using redirect: "follow". That included a third party's one-click unsubscribe link, a magic sign-in link or a signed download URL, where the URL itself is the credential, and any redirect into one. The internal link probe already skips such links (#721). The external checker now uses the same rules.

  • Left out before anything is sent (checkCollectedExternalLinks, packages/audit-engine/src/adapter.ts).
    • splitNotRequestedExternalLinks sets aside every link for which isNotRequestedExternalLink is true: the URL fails looksLikeAnAction, or a page words the link plainly as an action ("Log out", "Unsubscribe", "Delete account").
    • rel="nofollow" does not widen the text rule here, as it does for internal links. On an external link it marks a paid or untrusted link ("Buy on Amazon", "Follow us"), not an action.
    • These links never reach the local check or the cloud bulk checker (the dead-links service), and they do not count against max_links.
    • stats.externalLinkCheck records them as notRequested (a count) and notRequestedLinks: the 50 most-linked, each with 10 source pages and its pageCount, and its URL masked by maskLinkTokens. That masks query values, token-like or long query keys, and token- or id-like path parts (including matrix parameters, encoded slashes and UUIDs) as …. It is a best effort for reports that may be published. Links that mask to the same URL are merged, with their pages combined.
  • Old verdicts on a re-audit: an incremental crawl copies a reused page's link rows from the earlier crawl, but not their appearances, so a verdict an older engine stored for such a link would still be reported. The external phase now also writes the appearances of the links it never requested (no row). Both rule-data builders (v1 and streaming) leave out the external rows that isNotRequestedExternalLink matches, by URL or by that anchor text.
  • Redirects followed by hand when squirrel checks a link itself (external-checker.ts).
    • Each hop goes through fetchUndecoded with redirect: "manual".
    • Only 301, 302, 303, 307 and 308 are followed, as fetch does; 300 and 304 are answers.
    • At most 20 followed hops, a browser's limit, then too many redirects. Bun's own limit was higher, and its error text differed.
    • A Location that is not http(s), or that fails looksLikeAnAction, is not followed. The 3xx is the link's status, and redirectTarget is the Location that was not followed.
    • checkExternalLinks also refuses action URLs that any other caller hands it, before the link cache, the bulk checker or a local request, and returns them unresolved.
  • Every hop through the egress guard. Before this PR the external link checker had no address check on any hop, the first request included. A page could name a private, link-local or metadata address, or redirect to one, and squirrel would request it from the auditor's machine. That gap predates this PR. Its local requests, the first and each redirect hop alike, now go through egressGuardedSend under the third-party probes' policy. With no policy given, the checker fails closed (DEFAULT_EGRESS, public addresses only); the audit's entry point always builds its own. What is left (refused links missing from the report, the cache and bulk checker running before the guard) is External link check: refused links vanish from the report, and the cache and bulk checker run before the egress check #770, and other CLI paths that follow redirects are tracked privately.
    • Only public addresses are allowed, plus private ones when the audited site is itself on a private network. Link-local and cloud metadata addresses are never allowed, and only http(s) is followed.
    • Each hop is pinned to the vetted address unless the transport pins (egressPinnedByTransport, passed from the pre-rules resource overrides, as the hosted container sets it).
    • A refused first request leaves the link unresolved: never broken, never cached. A refused redirect hop is not followed, and that redirect is the link's answer.
    • Requests carry only User-Agent and Accept (and the runtime's Accept-Encoding), as before.
  • Reported (links/broken-external-links): a new info check, not-requested-external-links, with the message template N external link(s) were not requested because they look like actions (log out, unsubscribe) or carry a token or signature in the URL, so their status was not checked.
    • Items are the masked sample, with pageCount when an item lists fewer source pages than link it, and details.listed when the sample is shorter than the count.
    • These links are never reported as working or broken. The over-limit and no-results lines leave them out of their counts. When every external link was left out, only this check is emitted, and links/dead-links says No external links were verified: all N look like actions or carry a token, so they were not requested.
    • It is info rather than a "Not checked" skip on purpose. A not-checked skip keeps a rule's open issues open, so a site with a permanent footer unsubscribe link would never see its broken-external-links issues resolve.
  • Shared classifier: looksLikeAnAction, linkTextLooksLikeAnAction and their word lists move verbatim from link-target-probe.ts to packages/utils/src/link-actions.ts, exported as @squirrelscan/utils/link-actions, with maskLinkTokens appended.
    • The module is pure and imports only isHttpOrHttpsUrl, so a Worker can use it.
    • link-target-probe.ts re-exports both functions, so existing imports are unchanged.
    • I left the moved block byte-identical (not reformatted); git diff --color-moved shows it as a move.

Not changed, on purpose: the GET fallback

For a link that passes the filter, the checker still sends GET when HEAD answers 400 or above, or errors. It does not switch to the internal probe's "GET only on 405/501". The internal probe can afford that because it first sends HEAD to a page the crawl fetched, to detect hosts whose HEAD is unreliable. The external checker has no such per-host control. Many third parties answer HEAD with 403 or 404 and GET with 200, and the 403 GET body is what WAF detection reads. Limiting GET would report working links as broken, and the filter already removes the URLs where a request is the danger. Most frameworks route HEAD to the GET handler anyway.

Cloud follow-up

The hosted service side (its own filter on entry and per redirect hop, and the paths that submit links without this engine) is tracked on squirrelscan/repo#2759, for a private PR after this merges and the gitlink is bumped. @squirrelscan/utils/link-actions is the shared rule set it will use: import those helpers, no second normaliser or word list.

Acceptance criteria

  • An external link whose URL looks like an action or carries a token is not requested by the CLI's external link check, and current engines never send it to the cloud dead-links service. It is reported as not requested with a reason, never as working or broken, including on a re-audit. (The service-side filter is the private follow-up above.)
  • A fixture audit with external link checks on, whose page links a third-party /unsubscribe?token=…, a ?sig= download URL and a "Log out" link, records zero requests to them: directly, through a short link that redirects into the unsubscribe URL, and through the bulk checker (packages/audit-engine/tests/external-links-not-requested-2759.test.ts).
  • The docs for external link checking say which external links are never requested: a new section, "What the external link check never requests", in docs/configuration/external-links.mdx, with the "careful default" caveat and the scope of the redirect protection; plus the new check in docs/rules/links/broken-external-links.mdx.

Verification

  • packages/audit-engine: external-links-not-requested-2759.test.ts (12 pass). It covers:
    • the split, including affiliate nofollow links, and the sample caps;
    • redirects: stopping at an action hop, the GET fallback's redirect into one, a mailto Location, a 300, an ordinary chain, a loop;
    • the direct-call guard with the bulk checker;
    • the end-to-end audit;
    • a two-crawl incremental re-audit, on v1 and v2, with an old 404 for the unsubscribe link (URL rule) and for a "Log out" link (text rule only). Without the builder filter, or without writing the appearances, the re-audit test fails;
    • merging links that mask to the same URL.
  • packages/audit-engine: external-link-egress-2759.test.ts (7 pass, including the fail-closed default), against a real socket. Each hop is vetted by its own name and pinned to the vetted address with Host kept. A redirect into a private, 169.254.169.254, metadata.google.internal, fe80::1 or file: target is not followed. A first request to a private address on a public site's audit is never sent, never broken and never cached. No request carries a header outside the allowlist. The audit phase pins on the CLI and goes by name when the transport pins. Against the previous head, 5 of the 6 fail.
  • Neighbours in packages/audit-engine: link-checks-not-run-e2e, bulk-checker-unanswered-753, fetch-deadline, undecoded-probe-fetches, streaming-pre-rules-golden, streaming-rules-canonical-golden, link-probe-safety-2729 and external-link-cap-2729 pass. One run of bulk-checker-unanswered-753 hit the 5 s default timeout under load (load average about 4); it passed on 3 reruns, in about 400 ms each.
  • packages/rules: external-links-not-requested-2759.test.ts (8 pass), link-checks-not-run.test.ts and dead-links.test.ts.
  • packages/utils: link-actions.test.ts (5 pass), covering masking (token keys, matrix parameters, encoded slashes, UUIDs, short ids, file names, and ordinary paths and slugs that must keep their shape) and the moved rules.
  • tsgo --noEmit in packages/utils, packages/core-contracts, packages/audit-engine and packages/rules: clean. The new test files and rules/src/types.ts are oxfmt-clean. oxlint reports nothing new.
  • docs/: tangly check --strict passes.

Agent skill

No change needed.

@nc9
nc9 force-pushed the fix/external-links-skip-action-token-2759 branch from d1fd79e to ab0a9fa Compare October 14, 2026 11:56
@nc9
nc9 marked this pull request as ready for review October 14, 2026 12:20
@claude

claude Bot commented Oct 14, 2026

Copy link
Copy Markdown

Reviewed the engine changes: adapter.ts, external-checker.ts and the link-actions move. I did not read the rules changes in packages/rules, core-contracts, or the tests in depth. I did not run anything.

The approach is sound. Links that look like actions or carry tokens are filtered before any request, including the cloud bulk path. Redirects are now followed by hand. Old cached verdicts and stale rows from incremental crawls are suppressed. The reported URLs are masked.

  • (medium) external-checker.ts requestFollowingSafeRedirects: only looksLikeAnAction(next) is checked on redirect hops. The link text of the original link is not applied to hops, which is fine. But when HEAD follows a chain and fails with a 4xx or an error, the GET retry re-walks the whole chain from the start. Every hop is requested twice, and any non-action hop is requested with GET. That is acceptable, but consider noting it. A HEAD that errors mid-chain, for example a 405 on the second hop, now repeats the first hops too.
  • (low) external-checker.ts: when a redirect is not followed (!isHttpOrHttpsUrl(next) || looksLikeAnAction(next)), redirectTarget is set to the raw next URL. That URL can carry the token and may end up unmasked in results or reports. Mask it with maskLinkTokens, or drop the query, before storing or displaying it.
  • (low) adapter.ts isNotRequestedExternalLink: one page with a plainly-action anchor text, such as "Unsubscribe", excludes the whole href for every page. That is the safe direction, but a shared URL such as a vendor homepage reached through a misleading anchor would silently go unchecked. It is documented as a best-effort default, so it only needs a mention.
  • (low) The link-actions extraction needs a rebuild check: link-target-probe.ts now re-exports from @squirrelscan/utils/link-actions and packages/utils/package.json changed. Confirm the export map entry and that CI covers the cloud and CLI consumers.
  • (nit) splitNotRequestedExternalLinks recomputes isNotRequestedExternalLink once in adapter.ts and again in checkExternalLinks (URL-only). It is cheap. notRequestedHrefs could be derived directly from the split to avoid the extra filter pass.
  • (nit) The REDIRECT_STATUSES set mirrors fetch's own list, so the comment is accurate. A reference to the spec would help future readers.

Tests are added in both audit-engine and rules, and in link-actions. A test for the HEAD-then-GET redirect behaviour and for masking of the unfollowed redirectTarget would round it out. I found nothing blocking.

@claude

claude Bot commented Oct 14, 2026

Copy link
Copy Markdown

Review of #767 (external link check never requests action/token links). I read the diff and the egress helper. I didn't run the tests, and CI was still pending when I looked.

I found no blocking problems. The approach holds up: filtering before the cache, the bulk checker and the local fetch means no path can send these links. Redirects are followed by hand and every hop goes through the egress guard.

  • (low) external-checker.ts requestFollowingSafeRedirects: the redirect-hop check uses looksLikeAnAction(next) only. The first-hop filter also considers anchor text, but a hop has no anchor text, so this is expected. Worth a one-line comment saying so, so nobody later assumes parity.
  • (low) external-checker.ts: a redirect chain longer than 20 hops throws too many redirects, so the link counts as broken. That matches browsers, but a test that pins it would help. I didn't see one in the new test files.
  • (low) adapter.ts checkCollectedExternalLinks: storage.getCrawl failures are swallowed to null, so allowPrivateNetwork becomes false. That is the safe direction. An audit of a private site would then have its external probes refused with no visible reason, though. A debug log would make that easier to diagnose.
  • (low) adapter.ts: the redirect statuses 301, 302, 303, 307 and 308 are listed by hand. That follows fetch's own behaviour and is documented, so it is fine.
  • (nit) adapter.ts: notRequestedHrefs is built by filtering externalLinkOccurrences.keys() against requestable. splitNotRequestedExternalLinks could return the skipped hrefs directly and avoid the second pass.
  • (nit) The long CHANGELOG entry reads more like docs than a changelog line. Consider trimming it and pointing to the docs page.

Tests: there are new engine, rules and utils tests, which is good coverage for the core behaviour. I'd add two cases. One is a redirect that lands on a link-local or metadata IP. The other is a re-audit where the cache holds a stale verdict for a link that is now skipped.

nc9 added 5 commits October 15, 2026 00:57
… links, nor redirect hops into them squirrelscan/repo#2759

The external link checker requested every external link an audit found,
with HEAD then GET and redirect: "follow", so a third party's one-click
unsubscribe link, magic sign-in link or signed download URL, where the
URL is the credential, was requested, and so was any redirect into one.

- checkCollectedExternalLinks splits the links with the internal link
  probe's rules (looksLikeAnAction on the URL, linkTextLooksLikeAnAction on
  any occurrence) before anything is sent: the not-requested ones never
  reach the local check or the cloud bulk checker, do not count against
  max_links, and are recorded in stats.externalLinkCheck as a count plus a
  sample of 50 (10 source pages each).
- The checker follows redirects by hand (up to 20 hops, then "too many
  redirects" as before); a hop into an action or token link, or a non-http
  Location, is not followed and the 3xx is the answer. checkExternalLinks
  also refuses action URLs any other caller hands it.
- links/broken-external-links reports them in a new info check,
  not-requested-external-links, never as working or broken; the over-cap
  count leaves them out.
- The classifier moves verbatim from link-target-probe.ts to
  @squirrelscan/utils/link-actions (re-exported where it was), pure and
  dependency-light, so the cloud's dead-links service can apply the same
  rules server-side.

Signed-off-by: Nik Cubrilovic <[email protected]>
…ollow no longer widens external text, mask tokens squirrelscan/repo#2759

From review:
- An incremental re-audit copies a reused page's link rows from the earlier
  crawl, so a 404 an older engine stored for an unsubscribe link was still
  reported as broken. Both rule-data builders now leave out external rows
  that isNotRequestedExternalLink matches (URL, or the stored anchor text).
- rel=nofollow on an external link marks a paid or untrusted link ("Buy on
  Amazon", "Follow us"), not an action: external text is checked as plain
  text only.
- Redirects: only 301/302/303/307/308 are followed (300 and 304 are
  answers), and the limit is 20 followed hops.
- The direct-call guard runs before the link cache, so an old cached
  verdict is not returned for an action URL.
- The not-requested sample masks query values and token-like path segments
  (maskLinkTokens in @squirrelscan/utils/link-actions) and carries
  pageCount; the rule and dead-links counts leave the not-requested links
  out of the over-limit and no-results lines.
- Docs say redirect protection applies to links squirrel checks itself.

Signed-off-by: Nik Cubrilovic <[email protected]>
…nd token keys, merge masked collisions squirrelscan/repo#2759

From the second review:
- An incremental crawl copies a reused page's link rows but not their
  appearances, so a stale verdict for a link left out only by its text
  ("Log out") had no text to match. The external phase now writes the
  appearances of the links it never requested (no row), so the rule-data
  builders can leave those rows out too. The re-audit test covers a
  text-only link; without the appearances it fails on v1 and v2.
- maskLinkTokens also masks token-like or long query keys, matrix and
  encoded-slash parts, UUIDs and short mixed ids (file names keep their
  name), and is documented as a best effort.
- Sample entries that mask to the same URL are merged, pages unioned.
- Docs: the dead-links message, the over-limit second number, the 3xx
  table, the check list wording.

Signed-off-by: Nik Cubrilovic <[email protected]>
… through the egress guard squirrelscan/repo#2759

The external checker had no address check on any hop. Its local requests
now go through egressGuardedSend under the third-party probes' policy:
public addresses only (private ones too when the audited site is itself
private), never link-local or cloud metadata, http(s) only, pinned to the
vetted address unless the transport pins (egressPinnedByTransport, passed
from the pre-rules resource overrides). A refused first request leaves the
link unresolved (never broken, never cached); a refused redirect hop is not
followed and the redirect is the answer. Requests still carry only
User-Agent and Accept.

Tests (external-link-egress-2759): per-hop vetting by name and pinning
with Host kept, redirects into private/metadata/link-local/file refused,
a refused first request never sent or cached, header allowlist, and the
phase pinning on the CLI but going by name when the transport pins.

Signed-off-by: Nik Cubrilovic <[email protected]>
@nc9
nc9 force-pushed the fix/external-links-skip-action-token-2759 branch from d80736a to 168da2d Compare October 14, 2026 13:58
@claude

claude Bot commented Oct 14, 2026

Copy link
Copy Markdown

Review of #767. I read the diff but did not run the tests, and CI was still pending when I looked.

  • (medium) external-checker.ts requestFollowingSafeRedirects: after a HEAD redirect chain is followed by hand, a refused hop returns previous as the answer. A 3xx status is below 400, so the link is recorded as working. The docs table says this on purpose ("counts as working"). That means a link that redirects into a refused address, such as a metadata or link-local one, or into an action link, is reported as healthy without the destination being checked. Consider a distinct note on the result, or a test that pins this behaviour down.
  • (medium) adapter.ts: allowPrivateNetwork is derived from the audited site's hostname. If getCrawl fails, catchAll falls back to null, so siteHost is empty and private access is silently denied. That is the safe direction, but it should log or note it, because every private-site external link would then come back unchecked without explanation.
  • (low) external-checker.ts: checkExternalLinks returns skipped action links as status: null with no error. Callers other than the audit entry point cannot tell "not requested" from "unresolved". Consider a notRequested flag.
  • (low) adapter.ts: isNotRequestedExternalLink is called per link inside both rule-data builders, and looksLikeAnAction parses and tokenizes each URL. That is fine at normal sizes, but it is worth memoizing for very large crawls.
  • (low) The cloud bulk checker still follows redirects on its own side, as the docs note. A redirect from a clean-looking URL into a token link is therefore still requested there. Worth stating clearly in the docs as a known gap.
  • (nit) The move of looksLikeAnAction into @squirrelscan/utils/link-actions is a large diff in link-target-probe.ts. Confirm that the exports and the package.json export map keep any external importers working.

Tests were added for the egress behaviour, the not-requested split, the rules and link-actions. The skip-before-request design, the manual redirect handling and the masking of reported URLs look sound overall.

@claude

claude Bot commented Oct 14, 2026

Copy link
Copy Markdown

Review of the core changes in adapter.ts, external-checker.ts and the docs. I did not read the packages/rules and packages/utils diffs or the new test files, and CI was still pending when I looked.

The design is sound: a pre-filter before anything is sent, manual redirect following with a per-hop action check, and an egress guard on every hop. Findings:

  • (medium) external-checker.ts requestFollowingSafeRedirects: the behaviour change when options.egress is absent is easy to miss. With no policy, hops are unrestricted, as before. checkCollectedExternalLinks always passes a policy, but any other caller of checkExternalLinks still gets no address checks. Consider making egress required, or add a test that pins which callers rely on the default.
  • (medium) adapter.ts isNotRequestedExternalLink: one page's anchor text such as "Delete" or "Unsubscribe" removes that URL for every page that links it. That is a deliberate trade-off and is documented, but it can silently hide a real broken link that happens to share a URL with an action-worded link. The info check does list these links, so this is acceptable. A test for a mixed-text URL would document it.
  • (low) external-checker.ts: a hop limit of 20 throws too many redirects from inside the HEAD attempt. The code then retries with GET and walks another 20 hops, so a redirect loop costs up to about 40 requests per link. Short-circuit the GET fallback when the HEAD error was a redirect loop.
  • (low) external-checker.ts: when a redirect hop is refused or is an action URL, the 3xx is returned as the answer, so the link counts as working (status below 400). This is documented. It does mean a redirect into a blocked target is reported as healthy, so confirm that is the intent.
  • (low) adapter.ts checkCollectedExternalLinks: storage.getCrawl errors are swallowed with catchAll and siteHost becomes "". That fails closed (allowPrivateNetwork false), which is the right default, but a debug log would help when private-network audits unexpectedly refuse links.
  • (low) adapter.ts: the not-requested appearances are pushed into allAppearances without a row. Check that nothing else assumes every appearance href has a link row, for example the stats and report queries.
  • (nit) external-checker.ts: response.body?.cancel().catch(() => {}) appears twice in the redirect loop. Cancelling once before the branches would remove the duplication.
  • (nit) The PR is large (about 1.5k added lines) and mixes the classifier move, the egress guard, the redirect rewrite and the report check. It is well described, but the pieces could have been separate commits.

No critical or high issues found in the parts I reviewed.

…olicy; tests on loopback pass a private-site policy squirrelscan/repo#2759

requestFollowingSafeRedirects now always sends through egressGuardedSend:
a caller that gives no policy gets DEFAULT_EGRESS (public addresses only,
pinned), never an unguarded fetch. The audit's entry point still builds
its own (private allowed for a private site, transport pinning in the
container). Tests whose targets are on loopback pass
allowPrivateNetwork: true, as a private site's audit does, and the CLI
dead-links test's crawl is on localhost for the same reason (CI failed on
its public example.com base once the guard refused 127.0.0.1). A new test
pins the fail-closed default.

Signed-off-by: Nik Cubrilovic <[email protected]>
@claude

claude Bot commented Oct 14, 2026

Copy link
Copy Markdown

Review of #767 (external link check never requests action/token links, with egress-guarded manual redirects). I read the diff: the checker, adapter, link-actions move and docs. I did not run the tests, and CI was still pending when I looked.

The design is sound. The skip happens before the cloud bulk checker and the cache are reached, redirect hops are re-vetted, and refused requests are never cached or reported as broken. The new tests cover the main paths.

  • (medium) external-checker.ts requestFollowingSafeRedirects: a refused or non-followed redirect hop returns the 3xx as the link's answer, and the status table in docs says that counts as working. A page linking to a URL that redirects to a private or metadata address therefore shows as working. That is probably intended, but please confirm. Consider surfacing it as unresolved, as a refused first request is.
  • (medium) adapter.ts splitNotRequestedExternalLinks and checkExternalLinks: skipping uses URL plus link text (linkTextLooksLikeAnAction) in the adapter, but only looksLikeAnAction(url) in checkExternalLinks. Other callers of checkExternalLinks, and the bulk path, will behave differently from the audit entry point. A short comment or a shared helper would keep them from drifting.
  • (low) adapter.ts: egress.allowPrivateNetwork is derived from the crawl's baseUrl hostname. If getCrawl fails, siteHost is empty and the policy silently becomes strict. That fails safe, but a private-site audit would then get no external results with no explanation. Consider logging it.
  • (low) requestFollowingSafeRedirects: the HEAD-then-GET fallback repeats the full redirect chain, up to 20 hops twice. The timeout bounds it, so this is only a load cost on third-party hosts.
  • (low) The not-requested sample (NOT_REQUESTED_SAMPLE_LINKS) is masked with maskLinkTokens, which the docs call best effort. Since the sample goes into reports that may be published, a test with an unusual token shape would help show where the masking fails.
  • (nit) pin: egressPinnedByTransport !== true reads as a double negative. Naming the option for what it does would be clearer.
  • (nit) The found stat counts the not-requested links while checked and cap do not. A one-line comment would help readers of the stats.

@nc9
nc9 merged commit e99e62f into main Oct 14, 2026
15 checks passed
@nc9
nc9 deleted the fix/external-links-skip-action-token-2759 branch October 14, 2026 14:39
nc9 added a commit that referenced this pull request Oct 14, 2026
…k cache and bulk checker #770

Follow-ups to #767's egress guard on the external link check:
1. A link whose address the policy refuses (a private, link-local or
   metadata address on a public site's page) was stored unresolved and left
   out of every report line. checkCollectedExternalLinks now records them
   in stats.externalLinkCheck (refused, refusedLinks: masked sample with
   pages, the same builder as the not-requested sample), and
   links/broken-external-links lists them in a refused-external-links info
   check, never as working or broken.
2. checkExternalLinks consulted the link cache and the bulk checker before
   the guard, so a verdict a private site's audit cached for the same URL
   could be served into a public site's report, and the URL sent to the
   cloud. A new refusedWithoutLookup (@squirrelscan/utils/public-egress)
   settles what the URL alone decides (scheme, allowHost, refused IP
   literal, metadata name, non-public name the policy does not allow)
   before either is asked.
4. Docs list the headers the check sends, Accept-Encoding included.

Signed-off-by: Nik Cubrilovic <[email protected]>
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.

2 participants