r/CloudFlare • • 6h ago

Cloudflare Blog Project Quantum Leap: Cloudflare will be fully post-quantum in 2027

Thumbnail
blog.cloudflare.com
68 Upvotes

r/CloudFlare • • 4h ago

open-source CRM for AI agents on Cloudflare Workers (apparently I had to)

4 Upvotes

Yes, I know. There are a million CRMs already. I built another one anyway and I have to get it off my chest.

In my defense, I built it for my own business first. I run an agency doing CRM implementation and GTM engineering, so I spend lots of time thinking about this stuff. I also love Cloudflare Workers, and I couldn't find a CRM that lived there. So now one does.

So the trend now, as I see it: agents are going to be (if they aren't already) the main users of CRMs, and humans are the guests.

Therefore, this CRM is built for agents:

  1. Any agent can plug in. MCP, CLI, REST and a TypeScript SDK. Pick your favorite.
  2. It's headless. There's a small control panel for the admin stuff, but no CRM UI to fight with.
  3. Have your agent vibe-code whatever front end you want on top of it, that fits exactly your business and your workflow.
  4. Apps you build with the TypeScript SDK authenticate using OAuth. All auth is implemented using Better Auth (or Clerk), not hand rolled.
  5. Permissions are granular, so you can hand an agent the keys without holding your breath. Per resource, an agent can read, propose a change for someone to approve (a human, or another AI agent), or just write.
  6. Gmail sync works today. More messaging platforms are coming, as long as they have an API.
  7. Every write to the CRM is auditable (there’s an event log)
  8. MIT licensed. Take it, fork it, do weird things with it.

It runs on Workers + D1 + R2 in your own Cloudflare account, so there's no hosted service and nobody else holds your data. I'm considering adding a Postgres adapter.

I'm sure there are rough edges. Please try it, tell me what worked/broke. If you like it, a star helps. And if you don't, that's fine too, I'll cry quietly.

Repo: https://github.com/benocodes/crm (Yes! Star/fork it now!)
Docs: https://docs.vibase.ai


r/CloudFlare • • 23h ago

Discussion Building a Worker to Auto-Detect and Block Bot Attacks on a Woo Site

3 Upvotes

We see a lot of bots hitting our clients' sites, so I got to thinking, what about setting up a CF Worker to automate things? The one site I want to do this on is a Woo site on Kinsta and they have their own Cloudflare Pro. This site gets hit constantly and I'm tired of playing whack-a-mole by hand. Over the last few months we've dealt with:

  • Card testing on checkout / Store API
  • SQLi scans on search
  • Spam account registrations and comment/review spam
  • Crawlers hammering faceted filters (filter_, min_price, etc.)
  • A bot using the host's temp domain to bypass CF entirely (since closed)

Today, twice in 12 hours, a PDP flood from ~900 rotating residential IPs using Google Shopping srsltid params with a spoofed same-site referrer. PDPs aren't cached (client needs instant stock), so it maxed out PHP and took the site down

Current setup is 12/20 custom rules and 2/2 rate limit rules (maxed on Pro). I have rules for card testing, SQLi, XML-RPC, filter crawling, ASN/VPN challenges on checkout, AI crawlers, and a catch-all bot block rule. Can't use Super Bot Fight Mode because it breaks ShipStation and other webhooks/API traffic, even with allow rules.

Problem is every new attack means me finding it in the logs after the fact and hand-writing a new condition.

My Plan is a Worker on a 5 min Cron that

  1. Pulls the last 5 min of traffic from the GraphQL analytics API
  2. Looks for patterns across the whole site, not just one attack type: request spikes by ASN, UA, path, query pattern, referrer, POSTs to checkout/login/register, etc.
  3. When something crosses a threshold, writes it into the existing catch-all block rule via the Rulesets API (no new rules, no IPs since they rotate)
  4. Logs each entry in KV with an expiry so it drops out after X days and doesn't block real customers forever
  5. Never touches verified bots, payment/shipping webhooks or /wp-json integrations
  6. Pings me when it adds or removes something

Questions

  1. Is GraphQL analytics on Pro enough for this or will I hit limits on breakdowns/lookback?
  2. Better signals than ASN/UA/path that are available on Pro? (I know JA4 is Bot Management only)
  3. Anything built into CF I'm overlooking that would do this without a Worker?
  4. Anyone already doing something like this, and what bit you?

Am I missing anything here? Solid?


r/CloudFlare • • 4h ago

Zero-dep Ed25519 + ML-DSA-65 OpenVEX signing & CBOM on CF Workers

1 Upvotes

I built CRA-Switch (operated by The Peripety Company, LLC), a zero-dependency Cloudflare Workers tool and Node 22 CLI for EU Cyber Resilience Act (CRA) Article 14 vulnerability monitoring, OpenVEX signing, and CycloneDX 1.6 lockfile CBOMs.

Yesterday's Dec 2 CISA/NSA/ONCD and industry PQC statement (accelerating EO 14412's 2030/2031 deadlines) surfaced a concrete problem in EU CRA compliance engineering: EU CRA Art. 13(13) (effective Dec 11, 2027) requires manufacturers to retain technical documentation and EU Declarations of Conformity for at least 10 years after placing on the market, or for the support period, whichever is longer (2036+). While the CRA does not mandate PQC or Ed25519 signatures, teams cryptographically signing 2026 compliance artifacts with Ed25519 alone produce audit bundles whose classical signatures outlive 2030/2031 federal and enterprise PQC transition timelines.

So in v1.2.0 I wired two things without adding a single runtime dependency (dependencies: {}):

  1. Hybrid Ed25519 + ML-DSA-65 (NIST FIPS 204) co-signing on Cloudflare Workers. Using the opt-in webcrypto_modern_algorithms flag (backed by BoringSSL in workerd), the Worker signs canonical JSON payloads for /.well-known/vex.json and 10-year customer-owned AWS S3 Object Lock evidence bundles with both Ed25519 and ML-DSA-65, exposing keys via /.well-known/jwks.json (OKP + AKP JWK, kid: mldsa65:cra-switch-pqc-v1). Existing Ed25519 verifiers keep working unchanged while PQC verifiers can validate the 3,309-byte ML-DSA-65 co-signature today.
  2. Dependency-level CycloneDX 1.6 CBOM (--cbom). Honest scope note upfront: this is a lockfile/dependency heuristic across npm, PyPI, Cargo, Go, and Maven — *not* source-code AST or call-graph analysis. It will miss stdlib crypto calls (e.g., node:crypto or Go crypto/rsa) and cannot prove whether an imported crypto package is reachable. For deep AST or binary analysis, run IBM cbomkit and pipe its CycloneDX 1.6 JSON in. Lockfile CBOM is the <1s zero-code-execution 80/20 pass to surface third-party classical RSA/ECC/Ed25519 packages with NIST FIPS 203/204 (ML-KEM / ML-DSA) migration hints.

On the CRA Article 14 side (reporting went live Sept 11, 2026), raw KEV/EUVD lockfile hits start in triage_required (4h internal SLA) rather than immediately tripping the statutory 24h ENISA clock, and CRA-Switch never auto-submits (autoSubmitted: false).

Zero-signup checks:

npx -y u/craswitch/cli scan --cbom --json

Sample output (lockfile heuristic, NOT AST):

Crypto Deps: 4 | Quantum-Vulnerable (Shor): 3 | Weakened Symmetric (Grover): 1

- elliptic@6.5.7 -> ML-DSA (FIPS 204) / ML-KEM (FIPS 203)

- jsonwebtoken@9.0.2 -> ML-DSA (FIPS 204) hybrid JWT/JOSE

- node-forge@1.3.1 -> ML-DSA (FIPS 204) + ML-KEM (FIPS 203)

- crypto-js@4.2.0 -> AES-256-GCM + SHA-384/512 via WebCrypto

Live canary (/api/health):

pqc=ML-DSA-65 kid=mldsa65:cra-switch-pqc-v1 sig=3309B verified=true tamper_rejected=true

Browser scanner (with 1-click CBOM Demo): https://craswitch.dev/tools/scanner

Live 2026 KEV/EUVD feed: https://craswitch.dev/feed

Live dual JWKS & hybrid VEX: https://craswitch.dev/.well-known/jwks.json and https://craswitch.dev/.well-known/vex.json

Remote MCP (3 free zero-auth tools): https://mcp.craswitch.dev/mcp

Happy to answer questions on BoringSSL ML-DSA-65 JWK serialization, lockfile CBOM false positives, or EU CRA triage edge cases.

(Disclosure: Independent B2B tool by The Peripety Company, LLC (Maine, USA); advisory aid only — not legal advice, never auto-submits to ENISA; not affiliated with or endorsed by CISA, NSA, ONCD, ENISA, Cloudflare, or IBM.)