When Agentic Glue Melts Exploiting Cloudflare Code Mode and ... - #339
Open
carlospolop wants to merge 1 commit into
Open
When Agentic Glue Melts Exploiting Cloudflare Code Mode and ...#339carlospolop wants to merge 1 commit into
carlospolop wants to merge 1 commit into
Conversation
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: https://research.checkpoint.com/2026/when-agentic-glue-melts Content Categories: Based on the analysis, this content was categorized under "Pentesting CI/CD > Cloudflare Security > Cloudflare Workers/workerd Sandbox Escape and Cross-Tenant Memory Corruption". Repository Maintenance:
Review Notes:
Bot Version: HackTricks News Bot v1.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 Automated Content Update
This PR was automatically generated by the HackTricks News Bot based on a technical blog post.
📝 Source Information
🎯 Content Summary
Overview
Check Point Research audited workerd, the open-source C++ runtime underpinning Cloudflare Workers and Cloudflare Code Mode. Code Mode changes MCP-style tool use by exposing tools as a typed TypeScript API and having the LLM generate one program containing loops, branches, local data processing, and multiple tool calls. That generated program executes inside workerd, with tools exposed through bindings while direct filesystem access and arbitrary networking th...
🔧 Technical Details
Parallel metadata/value count mismatch: When a wrapper pairs regex captures returned by one engine with names or metadata generated by a separate parser, verify that both collections have identical lengths. Nested groups may be counted differently. If iteration uses the larger collection while indexing the smaller one, a one-past-the-end object can be interpreted as a native descriptor. For structures such as
{ptr, size, disposer}, controlling adjacent bytes converts the OOB access into an arbitrary-address read.Heap shaping through attacker-controlled vector length: If input syntax controls the number of elements in a native vector, padding the input can select an allocator size class. Spray controlled allocations in that class so one lands next to the vulnerable vector, making a one-element OOB access deterministic.
Free-list metadata as an ASLR disclosure: Prepare a chunk with a small length in bytes 8–1...
🤖 Agent Actions
Done — I updated:
src/pentesting-ci-cd/cloudflare-security/README.mdAdded a new Workers / workerd / Code Mode native attack surface subsection covering:
workerd/ JSG attack surface outside isolate-focused protectionsURLPattern-style parallel metadata/value mismatch bugsnode:zlibmanaged/native lifetime bugs## Referencessection with the Check Point research URLI also verified the final diff to ensure the change is contained to that single file.
This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.