Skip to content

fix(fetch): enforce URL policy on agent probes - #179

Merged
warp-factories[bot] merged 2 commits into
mainfrom
2026-08-21-fix-agent-probes-bypassing-url-prefix-policy
Sep 15, 2026
Merged

warp-factories[bot] merged 2 commits into
mainfrom
2026-08-21-fix-agent-probes-bypassing-url-prefix-policy

Conversation

@chaliy

@chaliy chaliy commented Aug 21, 2026 •

Copy link
Copy Markdown
Contributor

What changed

  • Enforce URL policy before generated probes and every redirect hop, with regression coverage that proves a disallowed redirect is never sent.

Why

Generated probes and redirects could escape a path-scoped allowlist after seed validation.

Before / After

Before, /docs/start could send /private. After, fetch returns BlockedUrl before transport.

Risk

  • Low. The existing per-hop policy fix is unchanged; this revision adds one behavioral test.

Checklist

  • Unit tests: focused regression and cargo test --workspace
  • Smoke tests: cargo fmt --all -- --check, Clippy with -D warnings, and release build
  • Documentation: RUSTDOCFLAGS="-D warnings" cargo doc --workspace --no-deps
  • Specs are up to date and retain the every-outbound-destination policy

@warp-factories warp-factories Bot added the factory:foreman Label associated to the "foreman" factory label Sep 15, 2026
@warp-factories
warp-factories Bot merged commit 4355515 into main Sep 15, 2026
12 checks passed
@warp-factories
warp-factories Bot deleted the 2026-08-21-fix-agent-probes-bypassing-url-prefix-policy branch September 15, 2026 01:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

aardvark codex factory:foreman Label associated to the "foreman" factory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant