Gateway Forward: Custom Logic on the Traffic You Already Inspect

Disclaimer: This article reflects my personal views and experiences and does not represent the official stance of Cloudflare. PkgGuard is a personal project, not a Cloudflare product, and the Forward action is in public beta at the time of writing. What happens when a Gateway policy can run your own code. TL;DR — Gateway’s package registry security already sees every package your developers download: the ecosystem, the name, the version, and who asked. What it cannot know on its own is which of those packages are malicious this week. The Forward action closes that gap. Gateway keeps doing the proxying, the TLS decryption and the identity, and hands matching traffic to a Worker where you write the logic. I used it to build PkgGuard, which blocks known-malicious npm, PyPI, Cargo, RubyGems, NuGet and Go packages using the OSV.dev feed, with a single Gateway rule. The package use case is only the example. The real story is that you can now put your own decision in the path of traffic Cloudflare already inspects. ...

November 9, 2026 · 10 min · 2096 words · Matthieu
Read more about Gateway Forward: Custom Logic on the Traffic You Already Inspect

The Internet Was Built for Humans. AI Didn't Get the Memo.

Disclaimer: This post reflects my own synthesis and perspective on publicly available Cloudflare research and announcements — it does not represent an official Cloudflare position. TL;DR — AI crawlers now represent a structural threat to how the web creates and distributes value. They consume content at massive scale, send little traffic back, and are quietly degrading CDN performance for real users. This post covers how Cloudflare is responding — not just with bot controls, but with a coherent platform: cryptographic bot identity (co-authored as an IETF standard), content monetization via Pay Per Crawl, token-efficient delivery for agents, a pub/sub AI Index to replace blind crawling, AI-aware cache architecture, and a secure execution layer for agentic code. Each piece reinforces the others. Together they represent Cloudflare’s answer to the question: what should the AI-era internet actually look like? ...

April 8, 2026 · 12 min · 2518 words · Matthieu
Read more about The Internet Was Built for Humans. AI Didn't Get the Memo.