Cloudflare is bringing its secure web gateway closer to its Workers development platform. With Forward, available in public beta, businesses can add code to the processing of certain authorised HTTP requests.[2] For IT teams, this development opens up a concrete possibility: adapting controls to business uses. It also requires this code to be treated as a sensitive component, since an error could disrupt users’ work.
The gateway becomes a point of customisation
A secure web gateway controls users’ access to web services. Its role differs from that of a WAF, which is usually placed in front of an application to protect it. The subject here is the traffic passing through Cloudflare Gateway and the processing the company wishes to apply to it.
The Worker can modify a request or a response, produce its own response or launch a background task. Gateway retains management of the proxy connection, TLS decryption and routing to the service.[2] The company therefore adds application logic to a network path that is already managed.
This flexibility may appeal to a team that needs to apply a specific exception to a business tool. But the need must be clearly defined: adding code also increases the number of behaviours to understand in the event of an incident.
Two mechanisms with different timelines
The announcement of 15 October distinguishes between Forward and Custom Functions. The latter are expected before the end of 2026: they will return a value that can be used in the conditions of a Gateway policy, based on logic specific to the organisation.[1] Their timeline should not be confused with the beta that is already available.
Cloudflare illustrates this approach with pages asking for an access justification, header transformations and notifications. Calls to Workers follow their usual pricing, with the quotas and execution limits associated with the chosen plan.[1] Customisation must therefore be assessed together with its operating cost.
Three questions for choosing the right control
This grid suggests decision criteria for a pilot, without assuming any gains measured in production.
| Need | Expected benefit | Useful check |
|---|---|---|
| Adapt an exchange | Transform a request or a response with Forward.[2] | Does the application still work after the change? |
| Enrich a decision | Introduce a calculated value with the upcoming Custom Functions.[1] | What decision should be taken if the data is missing or out of date? |
| Inform teams | Trigger a contextual notification.[1] | Is the alert useful without exposing confidential content? |
The code remains bound by the gateway’s scope
The documentation states that Forward does not bypass a block rule. Inspection may interrupt the Worker, and WebSocket traffic goes directly to the origin service without passing through it.[2] The presence of a Worker therefore does not prove that all of an application’s exchanges are covered.
The announcement states that Gateway and Workers share the same infrastructure, which avoids a network hop between them.[1] This does not eliminate the execution time of the code, nor that of any external services called. A slow dependency can affect the user experience: the full journey needs to be measured.
An SME can start with a single business use case
Take an illustrative scenario: an SME wants to display a reminder before users access a file-sharing service. A pilot could target one domain and a small test group. The team would check that the reminder appears at the right moment, that connections remain possible and that unaffected traffic continues normally.
Testing should include a standard request, an unexpected format and the unavailability of any service called. Response times should be compared, logs reviewed and a rollback to the previous configuration prepared. This scenario is a suggested test, not a customer deployment reported by Cloudflare.
Professionals design and maintain verifiable controls
This development draws directly on Cybersecurity. Professionals must translate a business requirement into precise behaviour: which traffic to control, which information to use, which action to allow and which record to keep. A rule must be explainable both to those it protects and to those who maintain it.
The work now includes reviewing the code and its dependencies. Permissions, secrets and data written to logs deserve particular attention. Tests must verify both the expected blocking and the continuity of legitimate uses.
Maintenance continues after deployment. A change in an application or an identity can invalidate an assumption. Versioning changes, appointing an owner and keeping a removal procedure make it possible to retain control over the mechanism over time.
Editorial note
A programmable gateway gives more latitude to teams able to maintain their extensions. For a small organisation, the right criterion remains the need being addressed: does customisation provide a useful, verifiable control with an acceptable maintenance burden?
Further reading
Four CCCLX reads to explore infrastructure security and control in more depth.
Open-source security scales up: IBM, Red Hat and Palo Alto join forces
Sandbox, terminal, policies: GitHub puts guardrails around its coding agents
Project Glasswing: Anthropic goes on the offensive against software vulnerabilities
AI voice agents: Oracle details a LiveKit architecture on OCI
Sources
- 01
Gerstenhaber, A. J. and Carryl, A., Cloudflare (15 October 2026). “A fully programmable secure web gateway”. Overview of Gateway customisation with Workers and of the announced Custom Functions.
- 02
Cloudflare One, documentation (updated 15 October 2026). “Integrate Workers”. Documentation on the Forward action, request and response processing, Gateway rules and known limitations.
Djinn Stealer: the malware targeting companies’ cloud and AI credentials
Cybercriminals are changing targets Cyberattacks are no longer aimed solely at data or workstations. The credentials used to access cloud platforms, artificial intelligence environments and development tools have become highly sought-after assets. It is against this...
Claude Tag turns Slack into a genuine agentic workspace
AI agents settle at the heart of collaborative work Artificial intelligence is no longer limited to assistants accessed in a chat window. With Claude Tag, Anthropic is taking a new step by building an AI agent directly into Slack. Available in beta for Claude...
IBM and OpenAI want to arm businesses against machine-speed cyberattacks
Defenders must now fight AI with AI Cyberattacks are evolving at unprecedented speed. Thanks to artificial intelligence models, attackers can automate the search for vulnerabilities, analyse code in seconds and quickly identify the most exposed systems. To respond to...
Open-source security scales up: IBM, Red Hat and Palo Alto join forces
Cyberattacks push IT giants to join forces Open-source components are present in virtually all modern applications, from cloud platforms to business software. This dependence, however, comes with a growing risk: vulnerabilities are now discovered and exploited much...
With Lambda, AWS prepares cloud infrastructure for autonomous AI agents
Serverless enters a new phase The cloud is evolving to meet the needs of a new generation of applications based on agentic artificial intelligence. As AI agents become capable of carrying out complex tasks for hours at a time, traditional serverless architectures are...
With Code Layers, Figma brings design and development together for good
A new step towards building apps without boundaries Design and software development have long followed two separate paths. Designers imagined the interfaces, developers then translated them into code, with many back-and-forth exchanges and sometimes discrepancies...
Google Chrome sees what you see: Gemini can now analyse your screen
Chrome takes a new step towards the intelligent browser Web browsers no longer simply display web pages. They are gradually becoming genuine assistants capable of understanding the context in which users are working. With the new “Select from screen” feature, Google...
SpaceX buys Cursor: agentic AI becomes the new standard in software development
An acquisition that reaches far beyond the software world SpaceX’s acquisition of Anysphere, the company behind Cursor, for an estimated $60 billion marks a major turning point in the tech industry. Behind this spectacular deal lies a much deeper transformation: the...
Europe’s AI takes shape: OVHcloud is developing its own LLMs
OVHcloud wants to move from cloud to artificial intelligence Long recognised as a major player in European cloud, OVHcloud now aims to play a much bigger role in the artificial intelligence ecosystem. At the VivaTech trade show, Octave Klaba, the group’s founder and...
F5 strengthens its WAF to tackle the cyber threats of the AI era
Cyberattacks are evolving faster than patches Artificial intelligence is transforming corporate cybersecurity, but it is also benefiting attackers. New models capable of rapidly identifying vulnerabilities or automating certain exploitation phases are dramatically...
