Get the latest tech news

A look at Cloudflare's AI-coded OAuth library


I decided today to take a look at CloudFlare’s new OAuth provider library, which they apparently coded almost entirely with Anthropic’s Claude LLM: This library (including the schema do…

I’m not familiar with CloudFlare Workers, so maybe it adds some of these for you, but I’d expect at least an X-Content-Type-Options: nosniff header and HTTP Strict Transport Security to protect the bearer tokens being used. prompt: This looks pretty good, but for performance, let’s define WRAPPING_KEY_HMAC_KEY as a 32-byte array, so that it doesn’t have to be encoded or hashed down to the right size (as HMAC would do for larger keys). What I am taking away from my experience with LLMs, and from reviewing this project is this: you need to have a clear idea in your head of the kind of code you’re expecting the LLM to produce to be able to judge whether it did a good job.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Look

Look

Photo of Cloudflare

Cloudflare

Photo of coded oauth library

coded oauth library

Related news:

News photo

I read all of Cloudflare's Claude-generated commits

News photo

A Look Back at Recent Car Carrier Fires

News photo

Here's our first look at a fresh-faced, whipper snapper of a James Bond in 007: First Light