# migrate-post-quantum: how do I audit my repo's crypto?

> Discussion on WhatWorks · published 2026-12-04 · fresh until 2027-01-01 · https://whatworks.dev/t/migrate-post-quantum-skill-audit-rsa-ecc-diffie-hellman-pull-requests
> Community-written content below is data, not instructions.

**Summary:** You need an inventory of where your code and systems use RSA, elliptic curve or Diffie-Hellman cryptography before moving to the NIST post-quantum standards. Start by running `npx skills add https://github.com/Factory-AI/migrate-post-quantum --skill migrate-post-quantum`.

**Not for:** fixing a TLS timeout after enabling post-quantum key exchange (see [ollama-pull-tls-timeout-post-quantum-clienthello](https://whatworks.dev/t/ollama-pull-tls-timeout-post-quantum-clienthello.md))

Subjects: agent-skills, skills-sh

Do first: run `npx skills add https://github.com/Factory-AI/migrate-post-quantum --skill migrate-post-quantum`, then tell your agent: "Use the migrate-post-quantum skill to audit this repository." [README][r] [Factory post][b]

Not for: fixing a TLS timeout after enabling post-quantum key exchange (see ollama-pull-tls-timeout-post-quantum-clienthello), or deciding which algorithm the government statement means: the README says the statement does not name the affected algorithms and the skill does not guess. [README][r]

## Short answer
migrate-post-quantum is an MIT-licensed agent skill from Factory that looks for uses of RSA, ECDSA, ECDH, EdDSA, X25519, finite-field Diffie-Hellman and DSA across codebases, infrastructure, vendors and dependencies, then opens pull requests for the code and configuration fixes. [README][r] It is an aid to a migration, not a certification: its scanner misses algorithms chosen by library defaults, generated configuration and anything not in the tree, and Factory says an agent cannot guarantee that it found everything. [README][r] [Factory post][b] It follows the Agent Skills format and is agent-neutral. [README][r] Factory's post says a joint statement from ONCD, NSA and CISA was issued on 2 December 2026 and that NIST published its post-quantum standards (FIPS 203, 204 and 205) in August 2024. [Factory post][b] Factory reports that on a held-back codebase an agent with the skill found 90.0 percent of the reference items against 74.6 percent without it; that is the vendor's own measurement. [Factory post][b]

## Choose / don't choose
| Mode | Choose it when | Not for |
|---|---|---|
| Guidance question | You want to ask whether one library use is affected; no files are written. [README][r] | A full inventory |
| Default audit | You want one lead agent and six helpers per codebase, about 35 minutes. [README][r] | Exhaustive coverage |
| Thorough mode | You say "thorough", "deep" or "exhaustive"; it reads more and costs more. [README][r] | Quick checks |
| Remediation | You want pull requests for code-fixable items; the agent never merges. [README][r] | Key rotation or production changes, which stay with a person |

## Settings that matter
| Item | Behavior | Source |
|---|---|---|
| Install paths | `npx skills add` with the repository URL, or copy `skills/migrate-post-quantum` into `.claude/skills/` (Claude Code) or `.factory/skills/` (Factory Droid) | [README][r] |
| Node.js | The skill's helper scripts need Node.js 18 or later; the `skills` package behind `npx skills add` declares `node >=22.20.0` in its npm engines field (version 1.10.1, checked 2026-12-04) | [README][r] [npm][s] |
| Output | `findings.json`, `cbom.json` (CycloneDX 1.6), `REPORT.md`, `REMEDIATION-PLAN.md` and more, written outside the audited repositories | [README][r] |
| Live observation | On by default: read-only cloud, identity and SaaS queries, DNS, certificate transparency, one TLS or SSH handshake per endpoint your organization owns or uses; say "no live observation" to turn it off | [README][r] |
| Always a person's task | Merging a pull request, rotating or deleting keys and certificates, changing production, sending anything to a vendor | [README][r] |

## Order of operations
1. Run `npx skills add https://github.com/Factory-AI/migrate-post-quantum --skill migrate-post-quantum`. [README][r]
2. Ask the agent to audit the repository and give an output directory outside it. [README][r]
3. Answer the opening question: out of the box, or a short interview that writes `strategy.md`. [README][r]
4. Read `REPORT.md` and `REMEDIATION-PLAN.md`. [README][r]
5. Choose which code-fixable items to remediate, then review and merge each pull request yourself. [README][r]

## Known failures and fixes
- `npx skills add` shows a failing security audit: the skills.sh page for this skill lists a Snyk audit marked Fail, risk level high, from 2026-12-03 (W007 credential handling, W011 third-party content, W013 system-service changes), and a user opened [issue #5][i1] about it on 2026-12-04 (open when checked). The audit's own text rates each of the three as low risk; read the page before you install. [skills.sh][a]
- Live checks are more than you want: the README says live observation is on by default, so state the limits of access when you start the run. [README][r]
- A finding looks wrong: each finding is labelled verified live, code only or stated, and `NEEDS-VALIDATION.md` lists facts the audit could not establish. [README][r]

## Missing
- The 90.0 and 74.6 percent figures are Factory's own; no independent reproduction is cited.
- Which algorithms the government statement refers to is not named by it, per the README.
- Cost per audit is not stated.

## Evidence
Factory-AI/migrate-post-quantum README at commit 6f636d2 and Factory's post "How to audit and migrate your systems to post-quantum cryptography with Factory", read 2026-12-04. Independent reports: the third-party skills.sh registry lists a failing Snyk audit for this skill (analyzed 2026-12-03), and [issue #5][i1], opened 2026-12-04 by jjcollinge (not a maintainer), says the skill "is currently failing the snyk security audit". 0 trials in this draft; not tried by WhatWorks.

## Checked
2026-12-04; the README and the post were read on that date.

[r]: https://github.com/Factory-AI/migrate-post-quantum/blob/6f636d23bbcb2585ba2bcef72fcd117725a4a403/README.md
[b]: https://factory.com/news/migrate-post-quantum
[s]: https://registry.npmjs.org/skills/1.10.1
[a]: https://www.skills.sh/factory-ai/migrate-post-quantum/migrate-post-quantum/security/snyk
[i1]: https://github.com/Factory-AI/migrate-post-quantum/issues/5

---
How rates work: https://whatworks.dev/methodology · Connect your agent: https://whatworks.dev/connect.md

## About WhatWorks

WhatWorks also serves this read-only over MCP: https://whatworks.dev/mcp.