December 4, 2026
9 mins read Snyk Code now flags quantum-vulnerable cryptography in the code you write. A new Snyk Labs toolkit maps the cryptography your services inherit, so when an algorithm breaks, you know what's exposed and whether the fix is a config change or an upgrade.
Quantum-vulnerable cryptography hides in two places #
On December 2, NSA advised National Security Systems owners, operators, and vendors to immediately accelerate their move to post-quantum cryptography. Frontier AI companies have disclosed discoveries that weaken some cryptographic systems in use today. And as NSA puts it, "adversaries are already collecting encrypted information to decrypt once the capabilities become available."
NSA's first step is to inventory your cryptographic dependencies. That inventory has two halves: the cryptography you write and the cryptography you inherit.
Starting today, Snyk Code covers the first half. A new rule flags the public-key algorithms NSA lists as migration targets across 21 languages, in the IDE, CLI, pull request checks and SCM imports. Additionally, Snyk API & Web adds a check from the outside. It flags web and API targets whose TLS servers don't negotiate post-quantum key exchange, with no code repository required.
The second half is harder. Your services also trust cryptography chosen by TLS libraries, language runtimes and base images. For that, Snyk Labs built a toolkit for your coding agent. You keep a BOM for code and AI, but your cryptography doesn't have one
Security teams have spent years building inventories, and every new one surfaced risk nobody knew they had. When Snyk turned AI-BOM loose on real codebases, the 2026 State of Agentic AI Adoption research found a single AI model can bring in nearly three times as many untracked components.
You keep a BOM for code and AI, but your cryptography doesn't have one #
Security teams have spent years building inventories, and every new one surfaced risk nobody knew they had. When Snyk turned AI-BOM loose on real codebases, the 2026 State of Agentic AI Adoption research found a single AI model can bring in nearly three times as many untracked components. e
| Inventory | The question it answers |
|---|---|
| SBOM | What do we ship? |
| AI-BOM | Which models, agents and datasets do we run? |
| CryptoBOM | Which math are we trusting, where, and through which library? |
Cryptography sits underneath all of it. Every TLS handshake, signed token and certificate check depends on algorithms most teams have never listed. A cryptography bill of materials (CBOM) is the next inventory, and the one NSA advises starting with.
Your container carries more cryptography than it uses #
Snyk Labs researchers started with Snyk's own Docker images. Their first discovery was that most images ship three to four separate SSL/TLS implementations, each with its own version and algorithm set. Most services only touch cryptography through TLS. But each of those libraries carries nearly every algorithm it supports. A filesystem scan lists all of them, and reachability analysis narrows that list to the algorithms a service can actually reach
That's harder than it sounds, because most crypto use is implicit. The team didn’t write a line of cryptography code. A Python service makes an HTTPS call, CPython's _ssl module loads libssl, and suddenly your agent's traffic depends on key exchange and signature algorithms no one chose on purpose. Even with standard configs, the reachable set is large, and it hinges on config values and environment details that are hard to find.
The CBOM Agentic Toolkit and the cryptography you inherit #
The CBOM Agentic Toolkit is a Snyk Labs experiment of a set of tools that allow your agent to build a CBOM straight from a service's Docker image. It focuses on the algorithms your service can actually reach, not everything that happens to sit on the filesystem.
Our toolkit traces each path from application to use, crypto library, algorithm and compromise scenario:
- Scan: One prompt to a coding agent such as Claude Code invokes a skill that lets the agent pull the image and inventory its packages, runtimes and native crypto libraries. It resolves the crypto stacks, probes what actually loads in a sandbox with no network access, traces call sites and hand-rolled crypto, and captures a real TLS ClientHello. The output is a validated CBOM per image.
- Explore: A viewer shows the reachable crypto tree, from TLS 1.3 and 1.2 down to certificate verification, with the evidence and paths for every algorithm, and how each fares under a chosen compromise scenario.
Take the example above. An agent image opens an mTLS connection to an LLM gateway. That connection runs through OpenSSL 3.0.2, loaded via CPython, and depends on three algorithms: X25519 for key exchange, AES-128-GCM for encryption and ECDSA P-256 for signature verification. The algorithms are chosen for a reason, but no one understands how they connect.
Why an agent? Mapping a crypto supply chain means following clues across package metadata, shared libraries, runtime behavior and config. Agents turned out to be very good at that, even from just an image.
Run the fire drill before the fire #
An inventory is only useful if it tells you what to do next. So the toolkit lets you break things on purpose.
- Simulate compromise overlays a scenario on the reachable tree. Pick NSA's call for an immediate move to CNSA 2.0, a cryptographically relevant quantum computer, or SHA-1 chosen-prefix collisions. Every affected path turns red, and each one gets a verdict:
- Fallback available: fix it by reconfiguring. In the example, AES-128-GCM can move to AES-256, which CNSA 2.0 requires.
- No alternative: the library version you ship can't do better, so you need a package update. In the example, that's X25519 and ECDSA P-256. For key exchange, the upgrade target is a library that supports a hybrid post-quantum group such as X25519MLKEM768, the same group Snyk API & Web checks for on live targets.
Just as useful is what stays grey. The service's random token generation runs through the OS CSPRNG and isn't touched by the scenario. Knowing what you don't need to fix keeps a team from panic-patching.
The lab found the most actionable view groups algorithms by the math they rely on. "What if elliptic curves break?" and "What if RSA breaks?" are questions a CISO can plan around. The answer splits into two lists: config changes for this sprint, and upgrades for the roadmap. That's NSA's steps two and three, assess and triage, with a concrete starting point.
What determines how accurate a CBOM can be #
Building the toolkit showed where cryptographic inventory gets its accuracy, and where teams should add context. Four principles guide how to use the result.
- Start with static analysis, then confirm with live probing. Static analysis of an image gives a useful approximation of every algorithm a service can negotiate, and that full set is the right scope for risk assessment, because a peer can steer negotiation toward any algorithm that isn't explicitly disallowed. The toolkit adds sandboxed probing of what loads and a captured TLS ClientHello of what the service offers. Probing live connections in your environment completes the picture by confirming what each one negotiates. For TLS key exchange, Snyk API & Web now does this from the outside, testing whether each web and API target selects a post-quantum group.
- Pair TLS allow lists with the inventory. Restricting a library to a short list of approved algorithms is a direct and effective control. Because the effective set then lives in configuration, including that configuration in the scan so the inventory reflects it.
- Measure completeness with test cases. Much cryptography is implicit, so a CBOM is only as complete as the evidence behind it. The toolkit records the evidence for every algorithm it reports and includes known-answer test cases, so you can score your own scans against containers with known crypto stacks.
- Add deployment context, and run it in CI. Deployment details and runtime access sharpen the results. Running the scan in CI keeps each image's inventory current as dependencies change.
Snyk Labs released the toolkit as an experiment so teams can apply these principles. Check what cryptography they are actually using, with resources to build more test cases.
Find out what you're trusting #
The CBOM Agentic Toolkit is now available on GitHub. It includes an agent skill that checks which cryptography your software actually uses, plus resources to build on it, such as known-answer test cases for scoring your own scans. Point it at one of your images, see the reachable crypto tree, and run a compromise drill on your own services. You'll need Docker and a coding agent such as Claude Code to run the scan.
Cryptography breaks without warning. Know what you depend on before it does. Want to see what your own services trust? Try the Agentic CBOM toolkit on GitHub.
SNYK LABS EXPERIMENT
Agentic CBOM toolkit on GitHub #
Point the Agentic CBOM toolkit at one of your container images to see the reachable crypto tree, then run a compromise drill to find which paths need a config change and which need an upgrade.