Why OpenAI and Anthropic Are Rushing to Stop AI Cryptography Attacks

Why OpenAI and Anthropic Are Rushing to Stop AI Cryptography Attacks

Your encrypted messages might not stay secret much longer. That's the quiet panic currently driving the biggest players in artificial intelligence.

For years, cybersecurity experts treated AI-driven encryption cracking as a distant sci-fi problem—something to worry about alongside working quantum computers in the 2030s. Not anymore. Both OpenAI and Anthropic have openly confirmed they are accelerating internal research and defensive guardrails to prevent AI models from breaking modern cryptographic protections. Meanwhile, you can explore related events here: The Ghost Shipments of Silicon (And How £80 Million of Forbidden Hardware Slipped Past the Gates).

They aren't doing this for good PR. They're doing it because frontier models are getting disturbingly good at finding mathematical shortcuts, spotting implementation flaws, and automating vulnerability discovery at speeds human security teams simply can't match.

If you've ever sent a private text on Signal, logged into a bank account, or pushed code to a private GitHub repository, your security rests entirely on math problems that are supposed to take computers millions of years to solve. When the companies building the world's smartest software start hitting the emergency brake on cryptography risks, you need to pay attention. To see the complete picture, check out the excellent analysis by ZDNet.

What OpenAI and Anthropic Are Actually Worried About

Let's clear up a massive misconception right away. Neither OpenAI nor Anthropic is claiming their models can brute-force AES-256 encryption today. Brute-forcing strong modern encryption still violates the basic laws of thermodynamics and computing power.

The real threat isn't brute force. It's cryptanalysis and implementation exploitation.

Think about how real-world encryption actually fails. Almost nobody breaks the pure math of RSA or elliptic curve cryptography head-on. Instead, attackers find subtle bugs in how developers wrote the code around that math. Maybe a random number generator wasn't actually random. Maybe a memory buffer leaks three bytes of a private key during a specific error state. Maybe an outdated TLS handshake allows a downgrade attack.

Historically, finding those flaws required elite security researchers spending months staring at assembly code and mathematical proofs. Now? Frontier reasoning models can audit thousands of lines of cryptographic libraries in minutes.

Both companies have expanded their preparedness and safety frameworks—specifically OpenAI's Preparedness Framework and Anthropic's Responsible Scaling Policy—to explicitly track cyber capabilities. When a model shows an ability to autonomously discover zero-day vulnerabilities or assist in breaking cryptographic implementations, it triggers strict internal deployment limits.

Honestly, the speed of this shift caught a lot of security veterans off guard. Two years ago, large language models struggled to write basic Python scripts without hallucinating fake libraries. Today, specialized reasoning systems solve competitive math problems at an Olympiad level and routinely spot memory-corruption bugs in open-source C libraries.

Why Cryptography Is Different From Standard Cybersecurity

You might wonder why cryptography gets special treatment compared to regular malware or phishing defense.

It comes down to asymmetry and permanence.

If an attacker uses AI to write a better phishing email, you can train your staff, update your spam filters, and reset a compromised password. The damage is painful, sure, but it's containable. You patch the hole and move on.

Cryptography doesn't work like that.

The Harvest Now, Decrypt Later Problem

Nation-state intelligence agencies and sophisticated cybercriminal groups already run massive collection operations. They vacuum up encrypted traffic today—corporate trade secrets, diplomatic cables, medical records, financial transactions—and store it on cheap hard drives. They can't read it yet. They're waiting.

If an AI breakthrough exposes a mathematical shortcut in a widely used algorithm like RSA-2048 or a specific elliptic curve standard, every single piece of intercepted data using that standard becomes readable overnight. You can't retroactively re-encrypt data someone stole three years ago. Once the math breaks, history becomes an open book.

Open-Source Dependencies Are Everywhere

Almost the entire internet runs on a handful of foundational cryptographic libraries. OpenSSL, BoringSSL, libsodium, and a few others carry the weight of global commerce.

When I've audited enterprise software stacks in the past, the most terrifying discovery wasn't bad custom code—it was seeing how many critical systems still relied on unmaintained wrappers around ten-year-old cryptographic functions. If an autonomous AI agent systematically scans open-source repositories for side-channel vulnerabilities or padding oracle flaws, attackers could compromise thousands of downstream companies before maintainers even finish writing a patch.

How AI Models Attack Encryption in Practice

To understand why OpenAI and Anthropic are scrambling, you have to look at the specific attack vectors AI accelerates. It's rarely a single Hollywood-style "hack the mainframe" moment. It's a combination of three distinct capabilities.

1. Automated Side-Channel Analysis

Encryption algorithms leak tiny physical clues while they run. A processor might consume slightly more power when processing a 1 bit versus a 0 bit, or a server might take two microseconds longer to reject an invalid password hash.

Humans are terrible at spotting faint statistical patterns across millions of noisy timing measurements. Machine learning models thrive on it. Deep learning side-channel attacks have already demonstrated the ability to extract secret keys from smart cards and hardware security modules far faster than traditional statistical methods. Frontier models make writing and tuning those attack pipelines dramatically easier for less-skilled actors.

2. Fuzzing and Protocol State-Machine Exploitation

Cryptographic protocols like TLS, SSH, and WireGuard rely on strict rules about what happens when two computers introduce themselves and agree on a shared secret. If an attacker sends weird, malformed packets in an unexpected order, poorly written state machines can get confused and skip authentication entirely.

AI models now generate intelligent "fuzzing" inputs—tailored streams of junk data designed specifically to push cryptographic code into weird edge cases. Instead of randomly guessing inputs, the model reads the source code, understands the logic, and crafts exact payloads to trigger crashes or key leaks.

3. Mathematical Shortcut Discovery

This is the wildcard that keeps researchers awake at night. Modern public-key cryptography relies on problems we assume are hard, like factoring massive prime numbers or solving the discrete logarithm problem. Nobody has mathematically proven they are impossible to solve quickly; we just haven't found an efficient algorithm yet.

As AI systems become better at formal theorem proving and symbolic mathematics, they start exploring mathematical spaces humans haven't touched. Even a modest improvement in factoring algorithms—cutting the required computing power by a few orders of magnitude—could shrink the safety margin of existing keys from centuries down to weeks.

What OpenAI and Anthropic Are Doing to Fight Back

So what does "speeding up efforts" actually look like behind closed doors at these labs? It's not just slapping a refusal filter onto a chatbot so it says, "I'm sorry, I cannot help you break encryption." Anyone who has spent five minutes testing prompt injections knows surface-level refusals crumble under pressure.

Both companies are attacking the problem at the infrastructure and capability level.

First, they're building automated defensive auditing tools using their own frontier models. Before releasing a stronger model to the public, internal red teams turn that exact model loose on critical open-source infrastructure. The goal is simple: let the good-guy AI find the cryptographic bugs, report them to maintainers, and get patches deployed before the capability becomes widely accessible. Anthropic has publicly highlighted how its models have already uncovered high-severity vulnerabilities in open-source software during pre-deployment testing.

Second, they're tightening compute and API monitoring. Detecting when a user is trying to use an API for large-scale cryptanalysis or automated vulnerability scanning isn't straightforward, especially when attackers break tasks into tiny, innocent-looking math sub-problems. Both labs are investing heavily in behavioral classifiers that look at patterns across thousands of API calls rather than judging single prompts in isolation.

Third, they're collaborating directly with organizations like the National Institute of Standards and Technology (NIST) and the UK AI Security Institute to benchmark cyber-offense capabilities. By creating standardized capture-the-flag evaluations specifically focused on cryptography and reverse engineering, labs can measure exactly how close a model is to crossing dangerous thresholds.

The Catch: Safety Guardrails Slow Down Defenders Too

Here's the messy reality nobody in Silicon Valley likes to admit out loud. Every safeguard OpenAI and Anthropic build to stop malicious hackers also creates friction for legitimate security engineers.

Talk to any penetration tester or cryptographic auditor right now and you'll hear the same complaint. You try to use a frontier model to analyze a suspicious binary, test a local TLS configuration for weak ciphers, or write a proof-of-concept exploit to prove to your boss that an old server needs upgrading—and the model lectures you about cybersecurity ethics.

It's a genuine dilemma. Dual-use technology doesn't come with a neat moral switch. The exact same reasoning chain that helps a security engineer verify whether an elliptic curve implementation is safe against timing attacks is the exact same reasoning chain an attacker uses to exploit it.

If OpenAI and Anthropic lock down their models too tightly, enterprise defenders lose their best tool for auditing massive codebases at AI speed. Meanwhile, open-weights models—which anyone can download, fine-tune, and strip of safety filters on local hardware—continue catching up to proprietary frontier systems within months.

You can't put open-source math back in the bottle. Restricting commercial APIs buys time, and time matters, but it isn't a permanent shield.

Why Post-Quantum Cryptography Isn't a Magic Bullet

Whenever encryption risks hit the news, someone inevitably chimes in with: "Don't worry, post-quantum cryptography solves this."

Not quite.

NIST has indeed finalized its first batch of post-quantum cryptographic standards, including algorithms like ML-KEM (formerly Kyber) and ML-DSA (formerly Dilithium), designed to resist attacks from future quantum computers. Major tech companies like Apple, Google, and Cloudflare are already rolling them out across messaging apps and web browsers.

That's great progress, yet it introduces a brand-new danger zone.

Post-quantum algorithms are mathematically complex and brand new compared to battle-tested standards like RSA and AES. New code means new bugs. Implementation mistakes in early post-quantum libraries are practically guaranteed over the next few years. In fact, several early candidates in the NIST competition were broken on standard laptops using classical math—not quantum computers—because researchers found subtle algebraic flaws after years of scrutiny.

AI models accelerating cryptanalysis means those brand-new post-quantum implementations are going to face brutal automated stress-testing from day one. Upgrading to quantum-resistant math won't save you if your software team introduces a buffer overflow or side-channel leak while implementing it.

What You Should Actually Do Right Now

You don't need to throw your laptop into a river or start communicating via carrier pigeon. Unless you're protecting state secrets or managing high-value cryptocurrency infrastructure, nobody is burning a frontier AI zero-day just to read your weekend group chat.

Still, if you run software, manage IT infrastructure, or care about long-term privacy, the timeline for upgrading your security posture just shrank.

Audit your cryptographic dependencies immediately. Run an automated software bill of materials (SBOM) scan across your production apps to find out exactly which versions of OpenSSL, TLS, and authentication libraries you're running. Anything running TLS 1.1 or older, SHA-1 hashes, or RSA keys shorter than 2048 bits is a liability you needed to fix yesterday.

Move toward crypto-agility. Hardcoding specific encryption algorithms deep inside your application logic is a trap. Build your systems so you can swap out cipher suites, certificate authorities, and key lengths via configuration files without rewriting core software. When a flaw gets discovered in a library, teams with crypto-agility patch in hours; everyone else scrambles for months.

Enforce short-lived credentials and automated key rotation. If an AI-assisted attack eventually compromises a session token or API key, short expiration windows limit the blast radius. Rotate static keys automatically every 30 to 90 days, and kill off long-lived developer tokens sitting in environment variables.

Enable post-quantum key exchange where it's already turnkey. If you use Cloudflare, AWS, or modern Linux distributions, enabling hybrid post-quantum TLS (like X25519Kyber768) often takes a single toggle. Turn it on now to neutralize "harvest now, decrypt later" collection against your users' traffic.

The race between AI-powered code breakers and AI-powered defenders has officially started, and relying on outdated encryption defaults is no longer an option.

RR

Riley Russell

An enthusiastic storyteller, Riley Russell captures the human element behind every headline, giving voice to perspectives often overlooked by mainstream media.