ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

pqc-scan

โดย microtollรุ่น 0.3.3i★ –iรันบนเครื่อง
ชื่อใน registryio.github.microtoll/pqc-scan

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

The cryptography a JavaScript or TypeScript codebase uses, and which a quantum computer would break.

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: เครื่องมือนักพัฒนา

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

ต้องเตรียมก่อน

  • npmติดตั้ง Node.js (มีคำสั่ง npx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "pqc-scan": {
      "command": "npx",
      "args": [
        "-y",
        "@microtoll/pqc-scan",
        "mcp"
      ]
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add pqc-scan -- npx -y @microtoll/pqc-scan mcp

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "pqc-scan": {
      "command": "npx",
      "args": [
        "-y",
        "@microtoll/pqc-scan",
        "mcp"
      ]
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "pqc-scan": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@microtoll/pqc-scan",
        "mcp"
      ]
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub microtoll ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด เครื่องมือนักพัฒนาi

  • ดาวมากกว่า 0% ของอีก 1392 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 62% ของอีก 1392 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 1392 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

pqc-scan ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.3.3) เข้า registry 31 วันที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี GitHub, Desktop Commander, Cloudflare MCP

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

GitHub

โดย github

server ทางการของ GitHub ให้ AI อ่านและจัดการโค้ด issue และ pull request ในบัญชีของคุณได้ ใช้ผ่านคลาวด์ของ GitHub หรือรันในเครื่องด้วย Docker ก็ได้

บนเครื่องหรือคลาวด์★ 34,245MITอัปเดต 3 วันที่ผ่านมา
ติดตั้ง

Desktop Commander

โดย wonderwhy-er

MCP server for terminal commands, file operations, and process management

รันบนเครื่อง★ 10,225MITอัปเดต 15 วันที่ผ่านมา
ติดตั้ง

Cloudflare MCP

โดย cloudflare

Cloudflare MCP servers

รันบนคลาวด์★ 4,446Apache-2.0อัปเดต 14 เดือนที่ผ่านมา
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

pqc-scan

An inventory of the cryptography a JavaScript or TypeScript codebase uses, and which of it a large quantum computer would break.

An inventory and pointers, not a compliance certificate.

pqc-scan reads your source files, your package.json and lockfile, and any TLS (Transport Layer Security) configuration written down in the tree. It writes a report of every cryptographic algorithm it finds: through which interface (Web Crypto, node:crypto, a library), with what key size where the code says, where in the code, and a migration priority for each use a quantum computer would break. The report follows the discovery exercise the UK National Cyber Security Centre (NCSC) asks for in its post-quantum migration timeline: discovery and a plan by 2028, the highest-priority migrations by 2031, the rest by 2035.

It only reads. It runs nothing it scans, reads no environment variables, sends nothing anywhere, and has no telemetry. Zero dependencies; Node 20 or later. Free, and the command line stays free: a hosted report (trends over time, an organisation-wide view) may exist later, and would read the same JSON file; nothing of it is built.

Install

pqc-scan is a command-line tool. You need two things on your computer:

  1. Node.js 20 or later. Check with node --version in a terminal (Command Prompt, PowerShell or Windows Terminal on Windows; Terminal on macOS or Linux). If the command is not found, or prints a version below 20, install the current "LTS" release from https://nodejs.org. On Windows the installer is a normal .msi; accept the defaults, then open a new terminal window so it picks up the change.
  2. The scanner. The quickest way needs nothing more than Node.js: run it straight from the npm registry, downloading nothing by hand:
   npx @microtoll/pqc-scan path/to/your/app

or install it once and call it as pqc-scan from anywhere:

   npm install -g @microtoll/pqc-scan

If you would rather read the code first, or work without the registry, take it from this repository in one of two ways:

  • Download: on the repository page, *Code → Download ZIP*, then unzip it somewhere convenient, for example C:\Tools\pqc-scan on Windows or ~/tools/pqc-scan elsewhere.
  • Clone, if you have git: sh git clone https://github.com/microtoll/pqc-scan.git

There is nothing else to install: the scanner has no dependencies, so there is no npm install step inside it, and it needs no configuration, no account and no network connection to run.

Run it

Point it at the folder that holds your application's code (the one with its package.json).

On Windows (PowerShell or Command Prompt), with the scanner unzipped at C:\Tools\pqc-scan and your app at C:\Code\my-app:

C:\Tools\pqc-scan\pqc-scan C:\Code\my-app

On macOS or Linux:

node ~/tools/pqc-scan/bin/pqc-scan.mjs ~/code/my-app

It prints a short summary and writes two files into the folder you are standing in: pqc-scan.md, the report to read, and pqc-scan.json, the same for other tools. The summary tells you both paths:

pqc-scan: 6 quantum-vulnerable public-key uses in 5 files; 12 libraries; TLS groups not written down.

272 files read; 1 High, 5 Medium, 0 Low; 2 to check by hand. Report: C:\Users\you\pqc-scan.md (open it; read sections 1 and 3 first) JSON: C:\Users\you\pqc-scan.json

Open pqc-scan.md in any editor or Markdown viewer (Visual Studio Code shows it with *Ctrl+Shift+V*). Start with section 1, the summary, then section 3, the priorities, where each High or Medium says which line of your code it points at and why.

To put the reports somewhere else, name the files: --md C:\Reports\app.md and, if you want it, --json C:\Reports\app.json. If your tests are not in folders called test, tests, spec or __tests__, tell the scanner what their names contain, so the report can say how much of what it found is test code: --test-files self-check, repeatable.

A scan of a medium-sized application takes a few seconds. If you are in the scanner's own folder, . means "this folder", and --help prints every option:

node bin/pqc-scan.mjs --help

node bin/pqc-scan.mjs . --fail-on high # exit 1 if anything is High (for CI)

Things that catch people out:

  • "node is not recognized" on Windows: Node.js is not installed, or the terminal was opened before the installer ran. Install it, then open a new terminal.
  • A path with spaces needs quotes: "C:\My Projects\app".
  • Nothing found? The scanner reads only JavaScript and TypeScript (.js, .mjs, .cjs, .ts, .mts, .cts, .jsx, .tsx), lockfiles and TLS configuration files. Code in other languages is not seen (see "What it cannot see").
  • It never changes your files. It reads them and writes only the report files you name.

The full set of options:

OptionMeaning
dirThe folder to scan (default: the current one).
--writeWrite pqc-scan.md and pqc-scan.json into the current folder: what a run from a terminal does by default.
--md Write the human report to this file instead.
--json Write the machine-readable report (schema version 1) to this file.
--cbom Write a CycloneDX 1.6 cryptographic bill of materials (CBOM) to this file.
--test-files Treat a file whose path contains this text as test code. Repeatable.
--fail-on highExit 1 if anything is High.
--fail-on mediumExit 1 if anything is High or Medium.
--exclude Skip a directory or file name, or a path from dir. Repeatable. node_modules and .git are never read.

In a script or a pipe, with none of --json, --md or --cbom, the Markdown goes to standard output and nothing is written to disk; at a terminal pqc-scan.md and pqc-scan.json are written instead (the bill of materials only when asked for). Exit codes: 0 done, 1 the --fail-on threshold was met, 2 a usage or read error. The threshold counts everything in the report, test code included; use --exclude to leave a directory out.

In GitHub Actions

permissions:

contents: read steps:

  • uses: actions/checkout@
  • uses: microtoll/pqc-scan@ # pin a full commit SHA with: fail-on: high # optional; empty never fails

The action runs the scanner on the workspace, adds the Markdown report to the job summary, uploads the two reports and the bill of materials as the pqc-scan artefact, and then, if fail-on is set and met, fails the job. Its inputs: path, fail-on, exclude (one name per line), json, md, cbom, job-summary, upload, artifact-name. Its outputs: high, medium, low, verdict, json, cbom. It needs Node 20 or later on the runner; GitHub's hosted runners have it.

What it finds

  • Web Crypto: crypto.subtle calls, with the algorithm read from the nearest literal, including the post-quantum and hybrid names (ML-KEM-768, ML-DSA-65, X25519MLKEM768, MLKEM768-X25519).
  • `node:crypto`: hashes, HMACs, ciphers, key pairs, signatures, Diffie– Hellman, public-key encryption, PBKDF2, scrypt, HKDF and random numbers.
  • Libraries: nearly sixty catalogued packages (tweetnacl, libsodium, the @noble family, jose, jsonwebtoken, bcrypt, crypto-js, web-push, openpgp, …), from package.json, package-lock.json, yarn.lock and pnpm-lock.yaml, with their calls where the catalogue maps them and JSON Web Token (JWT) algorithm names such as RS256.
  • TLS: nginx, Apache, Caddy and Node's tls and https options; whether a hybrid post-quantum key-exchange group is enabled.

A value it cannot read (an algorithm name held in a variable) is reported as dynamic — check by hand, never guessed.

The priorities

Only public-key uses get a priority: a large quantum computer breaks RSA, elliptic-curve and Diffie–Hellman cryptography, but only weakens symmetric ciphers and hashes.

  • High: a key agreement or public-key encryption that seals data. Someone can record the ciphertext now and open it later ("harvest now, decrypt later"). Consider a hybrid seal for new data.
  • Medium: a signature. It can be forged only once such a computer exists, so the risk is to long-lived signatures. Plan; do not rush.
  • Low: a key exchange for a session, including TLS without a hybrid group. The exposure is the session, not the archive.

The priority is a heuristic from the words near the call (seal, encrypt, store… against session, tls, handshake…). A use with no telling word is High until a person checks. Every entry says which word decided it. A person should review each High.

The report

  • pqc-scan.json: the inventory, described by schema/pqc-scan.schema.json (version 1). Paths are relative, with forward slashes; the scanned directory appears by name only; two scans of the same tree differ only in scannedAt.
  • pqc-scan.md: a summary, the inventory, the priorities with a replacement to consider, notes on symmetric ciphers and hashes (AES-128, SHA-1, MD5, 3DES, ECB mode, weak PBKDF2 iteration counts), dependencies, TLS, next steps in the NCSC's three milestones, and what the scan cannot see.
  • --cbom : the same inventory as a cryptographic bill of materials in the CycloneDX 1.6 format, the shape a central inventory, a supplier questionnaire or a viewer for these files expects.

The cryptographic bill of materials

A CycloneDX 1.6 bill of materials lists each algorithm variant the scan found as a cryptographic-asset component (AES-256-GCM, ECDH P-256, ML-KEM-768…) with CycloneDX's own fields where the name settles them (the primitive, the key size or curve, the mode, the functions used, the classical and NIST post-quantum security levels) and an occurrence for every use: the file, the line, the interface and call, and the source line with its priority. The Web Crypto API, node:crypto and each catalogued package appear as library components that *provide* the assets found through them, with a package URL (pkg:npm/…) and version where the lockfile says. Each TLS configuration is a protocol asset that references its key-exchange groups, so X25519 in a server's group list and X25519 in a Web Crypto call are one asset. What CycloneDX has no field for (the scanner's class and kind, the migration priority and its reason, literal parameters such as an iteration count, the notes) travels in properties named microtoll:pqc-scan:*. The bill of materials says nothing the JSON report does not: it is written from the report alone, its serial number is worked out from its own contents (two scans of one tree give the same bill of materials apart from the timestamp and the serial number), and it keeps the sentence *an inventory and pointers, not a compliance certificate* in its metadata. The mapping is in DESIGN.md §8.14, and every output is checked against the published CycloneDX schema in the tests.

For coding agents

pqc-scan mcp runs the scanner as a Model Context Protocol (MCP) server over standard input and output, so a coding agent in Claude Code, Cursor or any other MCP host can check the cryptography it has just written. Add it to Claude Code, for every project, with:

claude mcp add pqc-scan --scope user -- npx -y @microtoll/pqc-scan mcp

Without --scope user, Claude Code registers the server for the folder the command was run in only. New conversations pick it up; one already open does not.

Any other host takes the same command (npx -y @microtoll/pqc-scan mcp) as a stdio server. It offers one tool:

ToolWhat it does

| pqc_scan({ directory, exclude?, testFiles?, detail? }) | Scans the folder

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx