Skip to content

CLI audits should always fetch scripts and assets through the tarpit-aware fetch budget #2340

In review

Description

@nc9

The shared script fetcher supports a tarpit-aware FetchBudget, but the CLI only creates one when --max-duration is set. A normal CLI audit can keep requesting a host that is tarpitting it.

Acceptance Criteria

  • A default CLI audit (no --max-duration) builds a FetchBudget with tarpit detection and passes it to the script and asset fetchers
  • --max-duration still adds its wall-clock bound on top
  • An end-to-end CLI test against a tarpitting script host shows later scripts from that host being skipped
  • Results for normal (non-tarpitting) sites are unchanged

Activity

  1. added
    enhancement
    size: M
    on Nov 25, 2026
  2. added theissue type on Nov 25, 2026
  3. added
    in-progress
    on Nov 25, 2026
  4. self-assigned this
    on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

clienhancementin-progresssize: M

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions