{"slug": "factory-and-grok-build-ship-agent-skills-to-migrate-code-to-post-quantum-crypto", "title": "Factory and Grok Build Ship Agent Skills to Migrate Code to Post-Quantum Crypto", "summary": "Factory and xAI's Grok Build each shipped agent workflows in early December 2026 that inventory quantum-vulnerable cryptography and open migration pull requests, days after NSA, CISA and ONCD urged faster post-quantum upgrades. Factory's open-source migrate-post-quantum skill runs a read-only audit that produces a cryptographic bill of materials and a remediation mode that opens pull requests while never merging, and Factory cites 82%–90% recall on reference suites in vendor tests. Grok Build's Post-Quantum Upgrade Project packages migration as a coordinated project template with security-agent guardrails and optional credits, walking six NSA-style actions starting with inventory of TLS, IPsec, SSH, certificates and signing.", "body_md": "**Factory and Grok Build both shipped agent workflows in early December 2026 to inventory quantum-vulnerable cryptography and open migration pull requests, days after [NSA, CISA, and ONCD urged faster post-quantum upgrades](https://www.cisa.gov/news-events/news/joint-statement-recent-advances-cryptographic-and-cybersecurity-capabilities?ref=explainx).** Factory's **[migrate-post-quantum](https://github.com/Factory-AI/migrate-post-quantum?ref=explainx)** skill is **open source**; Grok Build's **[Post-Quantum Upgrade Project](https://grok.com/news/post-quantum-migration-with-grok-build?ref=explainx)** is a **product template** with **security-agent guardrails** and **optional credits**.\n\n## What triggered the tooling wave\n\nOn **December 2, 2026**, the US government and **eight large tech firms** synchronized on **post-quantum cryptography (PQC)** messaging. explainx.ai documented the federal line — **no immediate widespread crisis**, still **accelerate migration** — in **[NSA, CISA, and ONCD coverage](https://explainx.ai/blog/nsa-cisa-oncd-post-quantum-cryptography-ai-december-2026)** and the **[OpenAI joint PQC statement](https://explainx.ai/blog/openai-p-bqp-proof-rumor-denied-shkreli-claimed-vs-verified-december-2026)** thread.\n\nThat week also brought **RSA panic headlines** and **[claimed-vs-verified lattice rumors](https://explainx.ai/blog/anthropic-post-quantum-encryption-announcement-claimed-vs-verified-november-2026)**. Agent vendors responded with **concrete inventory SKUs** instead of another blog pledge alone.\n\n## Factory migrate-post-quantum: audit then PRs\n\nCertificate scroll suggesting TLS and code-signing inventory work\n\nFactory's **[December 3 news post](https://factory.com/news/migrate-post-quantum?ref=explainx)** frames the problem plainly: you cannot replace **RSA, elliptic curve, and Diffie-Hellman** uses you have not found. Those algorithms hide in **library defaults**, **config**, **certificates**, and **vendor appliances**.\n\nThe **`migrate-post-quantum`** skill on **[GitHub](https://github.com/Factory-AI/migrate-post-quantum?ref=explainx)** runs two modes:\n\n1. **Audit (read-only)** — map**codebases, cloud config, dependencies, and vendors** across product, build, CI, corporate IT, and third-party tools; rank urgency; output a**cryptographic bill of materials (CBOM)** , questionnaires, and a remediation plan.\n2. **Remediate** — for each approved item,**open a pull request** , keep**CI green** , respond to review, and**never merge** .\n\nFactory documents install via:\n\n```\nnpx skills add https://github.com/Factory-AI/migrate-post-quantum --skill migrate-post-quantum\n```\n\nThe skill expects **evidence per finding** (file and line), a **lead agent validation pass** on top-ranked items, and explicit **gaps** for unscanned systems. **Hybrid transitions** keep old algorithms temporarily so clients do not break overnight.\n\n### Limits Factory states openly\n\nFactory lists four boundaries every buyer should paste into runbooks:\n\n- No visibility into systems the agent cannot reach.\n- No inspection inside most **vendor binaries** or**SaaS** without docs you supply.\n- **No production key generation or rotation** by the agent — only human task templates.\n- **No full-coverage guarantee** ; cited recall is**82%–90%** on reference suites in vendor tests.\n\nThat honesty matters next to **[Chrome ECDSA distrust timelines](https://explainx.ai/blog/chrome-distrust-ecdsa-p-256-ca-keys-march-15-2027-check-certificate-chain-december-2026)** and **[Trump executive order PQC deadlines](https://explainx.ai/blog/trump-quantum-computing-executive-orders-post-quantum-cryptography-2026)**: agents **start** migration; they do **not** sign audits.\n\n## Grok Build: project template and downgrade detection\n\nxAI's **[December 4 Grok Build post](https://grok.com/news/post-quantum-migration-with-grok-build?ref=explainx)** packages migration as a **coordinated project** rather than a one-shot chat:\n\n1. **Post-Quantum Upgrade Project** — coordinator agent walks**six NSA-style actions** : inventory TLS/IPsec/SSH/certs/signing, move TLS 1.3 with hybrid KEX, stand up PQC CAs, reissue certs, update dependencies, triage blocked systems.\n2. **Security Review** — flags PRs that**weaken** PQC (TLS downgrades, removed hybrid KEX, new classical-only paths).\n3. **Vulnerability Remediation** —**full-repo** scans for legacy weak crypto, not only diffs.\n4. **Forward-deployed engineers** — optional human help connecting cloud envs and kicking off audits.\n\n**Eligible paid Teams and Enterprise** organizations receive a **one-time $1,000 Grok credit** when starting from the template, applied for **30 days** of model usage inside that project, then **metered** afterward.\n\nPair this with explainx.ai **[Grok for Builders](https://explainx.ai/blog/xai-grok-for-builders-ultra-access-program-december-2026)** if you need **API and agent access** beyond consumer tiers, and read **[Grok Build exposure lessons](https://explainx.ai/blog/grok-build-ghostshares-passive-dns-confidential-data-november-2026)** before connecting **production repos**.\n\n## Factory versus Grok Build for your team\n\n| Dimension | Factory migrate-post-quantum | Grok Build PQC project | \n|---|---|---|\n| **License** | Open skill on GitHub | Commercial Grok Build template | \n| **Host** | Factory Droid or Agent Skills hosts | Grok Build cloud project | \n| **Outputs** | CBOM, vendor questionnaires, ranked report | Migration plan plus PRs in Grok workflow | \n| **Ongoing guard** | Re-audit after merges (skill design) | Security Review on future PRs | \n| **Cost hook** | Bring your own model spend | **$1,000** promo credit per org (eligible plans) | \n\nNeither replaces **[Anthropic's reported PQC engineering work](https://explainx.ai/blog/anthropic-post-quantum-encryption-announcement-claimed-vs-verified-november-2026)** or **[Cloudflare operator math](https://explainx.ai/blog/cloudflare-pq-still-safe-anthropic-lattice-galactic-algorithm-december-2026)**; they help **application teams** execute **inventory and PR churn**.\n\n## Step-by-step: run a read-only audit this week\n\n1. **Pick one non-production monorepo** with TLS clients, JWT libraries, and infra-as-code.\n2. **Install Factory skill** or**start Grok PQC project** on a**sanitized clone** if secrets remain.\n3. **Require evidence columns** in the report before sharing with security.\n4. **Assign human owners** for merge, key rotation, and vendor mail — the agents only draft tasks.\n5. **Cross-check** findings against**[CISA December 2 statement](https://www.cisa.gov/news-events/news/joint-statement-recent-advances-cryptographic-and-cybersecurity-capabilities?ref=explainx)** priorities:**firmware signing** ,**long-lived confidentiality** , and**agility** .\n\nSecurity leads running **agentic CI** should add this beside **[PrismGuard signal tooling](https://explainx.ai/blog/prismguard-signals-not-verdicts-agent-runtime-protection-december-2026)** and **[decepticon red-team agents](https://explainx.ai/blog/decepticon-bittersecurity-autonomous-red-team-agent-github-december-2026)** — different layers, same December **crypto stress**.\n\n## What searchers ask about post-quantum migration\n\n**What is post-quantum cryptography migration?** Moving from classical public-key algorithms (RSA, elliptic curve families) to **[NIST PQC standards](https://www.nist.gov/cybersecurity?ref=explainx)** such as **ML-KEM** and **ML-DSA**, often via **hybrid** TLS and cert chains during transition.\n\n**What is a post-quantum cryptography migration roadmap?** An ordered list of systems, owners, and dates — these agents output **draft roadmaps** from repo scans, not signed GRC documents.\n\n**Is encryption broken today?** Per **December 2** US guidance summarized in our **[NSA-CISA post](https://explainx.ai/blog/nsa-cisa-oncd-post-quantum-cryptography-ai-december-2026)**, **not an immediate widespread break** — still **migrate faster**.\n\nTeams adopting agents for **compliance-heavy** work benefit from **[structured AI training](https://explainx.ai/workshops/ai-builder)** so reviewers catch **hallucinated cipher names** before merge.\n\n## Cryptographic bill of materials: what auditors want\n\nA **CBOM** is the **inventory artifact** compliance teams export to **GRC tools**. Factory's skill emits a **machine-readable CBOM** plus a **human report** ranking **RSA**, **ECDH**, and **legacy DH** uses by **confidentiality lifetime** and **blast radius**. That mirrors **SBOM** practice after **Log4j**, but for **algorithms** instead of **packages**.\n\nWhen you attach a CBOM to **vendor diligence**, insist on:\n\n- **Evidence links** (file, line, config key) for**code-owned** findings.\n- **\"Unconfirmed vendor\"** flags where the agent only read**marketing PDFs** .\n- **Explicit scan gaps** (repos not cloned, cloud accounts not connected).\n\nGrok Build's **project template** emphasizes **TLS 1.3**, **hybrid KEX**, and **weak curve** flags aligned with **NSA's December advisory language** on **RSA under 3072 bits** and **deprecated DH groups**.\n\n## Hybrid migrations and outage avoidance\n\nBoth vendors describe **dual-algorithm** cutovers: **add PQC**, **keep classical** temporarily, **remove classical** only after **clients upgrade**. That is standard **TLS agility**, but agents accelerate the **tedious** steps — finding **hard-coded cipher suites**, **old JDK defaults**, and **internal mTLS** chains.\n\nDo **not** let an agent **disable classical** in the same PR that **adds ML-KEM** unless **your client matrix** is proven. Factory explicitly keeps **both** during transition. Grok **Security Review** is meant to stop **later PRs** from **quietly downgrading** protections — treat it as **CI policy**, not **cosmetic lint**.\n\nCross-read **[Matthew Prince eight-lab warning](https://explainx.ai/blog/cloudflare-matthew-prince-rsa-elliptic-curve-eight-lab-pqc-warning-december-2026)** when **edge TLS** and **app repos** diverge.\n\n## Who should run which tool first?\n\n| Team profile | Start here | Why | \n|---|---|---|\n| **OSS-heavy monorepo** | Factory skill on a **clone** | GitHub skill is **portable** across hosts | \n| **Grok-centric enterprise** | PQC **project template** | Built-in **coordinator** and**$1k** promo | \n| **Regulated vendor questionnaires** | Factory **audit-only** pass | CBOM + **vendor mail templates** | \n| **Continuous agentic CI** | Grok **Security Review** hooks | Blocks **future downgrades** | \n\nNeither tool removes **legal review** for **export-controlled** crypto implementations.\n\n## December panic versus December checklists\n\nSocial feeds mixed **RSA price moves**, **P=BQP hoaxes**, and **real December 2 statements**. Our **[OpenAI Shkreli rumor post](https://explainx.ai/blog/openai-p-bqp-proof-rumor-denied-shkreli-claimed-vs-verified-december-2026)** separates **trading-terminal noise** from **vendor migration pledges**.\n\nThese **Factory** and **Grok Build** releases are **checklist enablers** in that calmer lane: they assume **NIST PQC** is the destination and **classical math** still works **today**, matching **[CIRG's public framing](https://explainx.ai/blog/cryptography-incident-review-group-cirg-21-cryptographers-november-2026)**.\n\n## Failure modes to rehearse in a tabletop\n\n1. **False positive flood** — agents flag**test fixtures** with**1024-bit RSA** ; triage before executive panic.\n2. **Missed HSM paths** — no agent sees**hardware modules** without**vendor API** access.\n3. **Over-automerged config** — humans must still**own merge** on**ingress controllers** .\n4. **Credit cliff** — Grok**$1k** expires in**30 days** ; budget**follow-on tokens** .\n\nRun the tabletop beside **[PrismGuard runtime signals](https://explainx.ai/blog/prismguard-signals-not-verdicts-agent-runtime-protection-december-2026)** so **security** and **platform** agents share one **risk register**.\n\n## Agent Skills format and portability\n\nAgent Skills-style library cards with one skill package highlighted\n\nFactory documents **`migrate-post-quantum`** as an **[Agent Skills](https://agentskills.io/?ref=explainx)**-compatible package. That matters if you already run **Claude Code skills**, **Codex harnesses**, or **internal MCP hosts**: the **same audit playbook** can move without rewriting prompts. Grok Build instead **bundles** migration into a **managed project graph** — higher lock-in, faster **time-to-first-PR** for teams already on **grok.com**.\n\nWhen evaluating portability, ask whether **your** CI can **re-run audits** on **every release branch** the way Factory describes **re-audit after merges**. One-shot audits age quickly when **dependabot** lands **weekly**.\n\n## Mapping agent output to NIST migration phases\n\nNIST's public PQC guidance frames migration as **discover**, **prioritize**, **implement**, and **decommission classical**. Factory's **audit report** maps cleanly to **discover/prioritize**; its **PR loop** covers **implement** for **repos you control**; **decommission** still needs **calendar-owned** key ceremonies. Grok's **six-step project** mirrors **NSA's December advisory bullets** (inventory, TLS 1.3, CAs, reissue, dependency updates, triage) — useful when **executives** ask for **checklist parity** with **government PDFs**.\n\nDocument **which step** each merged PR satisfies so **auditors** do not treat an **inventory CSV** as proof of **production cutover**.", "url": "https://wpnews.pro/news/factory-and-grok-build-ship-agent-skills-to-migrate-code-to-post-quantum-crypto", "canonical_source": "https://explainx.ai/blog/factory-grok-build-post-quantum-migration-agents-december-2026?utm_source=rss&utm_medium=feed&utm_campaign=blog", "published_at": "2026-12-05 00:00:00+00:00", "updated_at": "2026-12-05 06:44:49.743601+00:00", "lang": "en", "topics": ["ai-agents", "ai-safety", "ai-policy", "developer-tools"], "entities": ["Factory", "Grok Build", "xAI", "NSA", "CISA", "ONCD", "migrate-post-quantum"], "also_reported_by": [], "takeaway": "Factory's migrate-post-quantum skill audits codebases, cloud config, dependencies and vendors into a cryptographic bill of materials, then opens pull requests per approved item without merging, with cited recall of 82%–90% on reference suites.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/factory-and-grok-build-ship-agent-skills-to-migrate-code-to-post-quantum-crypto", "markdown": "https://wpnews.pro/news/factory-and-grok-build-ship-agent-skills-to-migrate-code-to-post-quantum-crypto.md", "text": "https://wpnews.pro/news/factory-and-grok-build-ship-agent-skills-to-migrate-code-to-post-quantum-crypto.txt", "jsonld": "https://wpnews.pro/news/factory-and-grok-build-ship-agent-skills-to-migrate-code-to-post-quantum-crypto.jsonld"}}