Skip to content

Release v4.2.1

Latest

Choose a tag to compare

@github-actions github-actions released this 26 Nov 08:59
· 1 commit to master since this release
e17bbe4

v4.2.1 — Security dependency refresh, RSA Verify restored, upstream v11.5.0

Released: 2026-11-26
Upstream base: CyberChef v11.5.0 (v4.2.0 shipped v11.4.0; this is the first release of the #153 sync)
Licence: GPL-3.0-or-later
Node: >=26 <27

Published artifacts

Verified after publication on 2026-11-26. These figures did not exist when the tag was cut, so they
appear on this release page and not in the v4.2.1 tag message. The rest of this page is the tag
message, unchanged.

Source. Tag v4.2.1 (annotated, object f7b112e5d1304859920f3f0af85ef07945f49de9) points at
e17bbe40cd77d19b85b570dbac4f0f3b6d7f5aad, the merge of #188 on master.

Container image. A multi-arch OCI index. The same digest is served from both registries and
under every tag listed:

Index digest sha256:bf2be8dae2a4916431f0a9cbefef9ed830b9dabb055f0e4061f9dc0d0511465f
linux/amd64 sha256:83914a02b57079c146ea00532885a82ffe82d5eee8670df10271c8dd9ad58d73 (433 MB uncompressed)
linux/arm64 sha256:7c4353fc2a1be5a171a9d118137f71da6c66e583584ca2e25eb33c143935d565
Attestations one provenance attestation manifest per platform (ca748200…, c0e0e84f…)
GHCR tags ghcr.io/doublegate/cyberchef-mcp_v4:4.2.1, :4.2, :4
Docker Hub tags parobek/cyberchef-mcp:4.2.1, :4.2, :4, :latest
Runtime Node v26.13.1 on the Chainguard base, running as non-root UID 65532:65532, working directory /app

Pin by digest for reproducible deployments:

docker pull ghcr.io/doublegate/cyberchef-mcp_v4@sha256:bf2be8dae2a4916431f0a9cbefef9ed830b9dabb055f0e4061f9dc0d0511465f
docker buildx imagetools inspect ghcr.io/doublegate/cyberchef-mcp_v4:4.2.1   # should print the same index digest

Release assets. SHA-256 digests as computed by GitHub:

Asset Size SHA-256
cyberchef-mcp-v4.2.1-docker-image.tar.gz (offline / air-gapped docker load) 148,496,314 bytes 651d3d1b30c38330ddaa831ec170aaeebde2ad2287cb2cc74eb13a7f946afe67
sbom.cyclonedx.json (CycloneDX SBOM) 569,063 bytes baab13736cb51c129b2df69f0b288dfd60e8eb303666833ec22e1b64533311c2

Check a download with sha256sum -c <<< "<digest> <file>".

npm. cyberchef-mcp@4.2.1 (latest), integrity
sha512-EMPstxgb2Od5bo4OjTdea3j+krppP/OeOCGeTGwvPLEj8tWN1vd+n+gaEB1c/kfYSrHcxxXIMq1LhHZ0jpDJ4Q==, shasum
dd81907f2624c86af00c6e497d3f0175ad3c67a9. If you already have a lockfile, also run
npm update hono @hono/node-server (see the hono note below).

MCP Registry. io.github.doublegate/cyberchef-mcp is at 4.2.1 and marked latest, listing both
packages: oci:ghcr.io/doublegate/cyberchef-mcp_v4:4.2.1 and npm:cyberchef-mcp@4.2.1.

What is inside the published image. Read from the pulled digest, not from the lockfile:

Package Version
node-forge 1.4.4 (fixes CVE-2026-85393 and the other 20 advisories below)
hono / @hono/node-server 4.13.22 / 2.1.11
js-sha3 0.16.0
openpgp / eckey-utils 6.3.3 / 0.7.14
kbpgp 2.1.21

Smoke test of the published image. The official SDK client (StdioClientTransport) ran
against docker run -i --rm of the index digest, with CYBERCHEF_TOOL_SURFACE=all and
CYBERCHEF_OFFLINE=true:

Check Result
serverInfo / tools/list cyberchef-mcp 4.2.1, 546 tools
cyberchef_sha3 256 of abc 3a985da74fe225b2045c172d6bd390bd855f086e3e9d525b46bfe24511431532 (NIST known answer)
cyberchef_rsa_sign -> cyberchef_rsa_verify, 2048-bit key Verified OK
cyberchef_rsa_verify, forged nested-DigestAlgorithm signature (CVE-2026-85393) rejected: ASN.1 object does not contain a valid RSASSA-PKCS1-v1_5 DigestInfo value.
cyberchef_parse_pgp_key (new in this release) on a generated ECC-256 key parsed (v4 key information)
HTTP request through cyberchef_bake refused by the offline guard

Release-commit CI (e17bbe40, all passing): MCP Server CI, Build and Test MCP Server (amd64
and arm64), Security Scan (Trivy container scan at CRITICAL/HIGH, SBOM, dependency vulnerability
scan), CodeQL, Performance Benchmarks, Documentation Site and Wiki Sync. GitHub's Dependabot view of
master drops from 31 open alerts to 1 once it re-scans. The remaining one is the development-only
minimatch advisory listed under Not fixed.


What changed, in one paragraph

Mostly a security dependency release. Every advisory below lives in a dependency or the container
base image, and is fixed by the version resolved in package-lock.json or by the base-image
digest in Dockerfile.mcp. Installing from npm with an existing lockfile needs one extra step; see
the hono note below. Relative to v4.2.0 there is one source change: upstream CyberChef v11.5.0
reaches a release for the first time. It adds one operation (Parse PGP Key) and an opt-in kid
argument for PEM to JWK, removes a duplicate operation file, and brings seven behaviour fixes (see
Upstream). Separately, RSA Verify keeps
working
. It was disabled on master after v4.2.0 because of CVE-2026-85393 in node-forge, and is
restored here byte-for-byte, unchanged from v4.2.0, now on node-forge 1.4.4, which fixes the
flaw. New regression tests prove the forgery is rejected (see
RSA Verify). Six
Dependabot pull requests are folded in: #176, #177, #181 and #182 through #185, and #186 and #187
through #188. This is also the first release of the runtime updates #170 landed on master after
v4.2.0. No configuration key, transport or protocol behaviour changes; see
Compatibility. The version string is read at startup, so a running v4.2.1 server
reports 4.2.1 in serverInfo, the startup log and the cyberchef_mcp_build_info metric.

RSA Verify is restored

What happened. CVE-2026-85393 (GHSA-86w9-cpqp-85rv, HIGH) is a signature-forgery flaw in
node-forge <= 1.4.0. RSA PKCS#1 v1.5 verification checked the element count of the outer
DigestInfo SEQUENCE but not of the nested DigestAlgorithm SEQUENCE. Unconsumed bytes inside that
nested structure still verified, which gives a low-exponent (e=3) key the room for a forged
signature over any message. It was an incomplete fix for CVE-2026-33894. On 2026-10-09, with no
fixed node-forge release available, commit 89cc60b replaced RSA Verify's body on master with a
"temporarily disabled" error. That change never shipped: v4.2.0 predates it, so v4.2.0 users had the
operation working on vulnerable node-forge 1.4.0.

What v4.2.1 does.

  • It ships node-forge 1.4.4 (^1.4.4 floor). That release carries the upstream fix
    (digitalbazaar/forge#1152), which requires the nested DigestAlgorithm to contain only the OID
    and an optional NULL.
  • It restores src/core/operations/RSAVerify.mjs byte-for-byte from gchq/CyberChef v11.5.0,
    which is also byte-identical to the file v4.2.0 shipped.
  • It drops the hand edit. Under this fork's rules src/core/** is upstream-owned, and an edit there
    that is not a patches/fork/ patch is silently reverted by the next sync: that is how the
    SafeRegex mitigation was lost. The next sync would have re-enabled RSA Verify unannounced.
    Restoring upstream's file makes that sync a no-op for this operation.

How it is proven. tests/mcp/cve-regressions.test.mjs gains nine tests. They sign with a real
key rather than reproduce a full e=3 forgery, which keeps the one property under test isolated: does
verification reject a DigestAlgorithm whose shape is anything other than the OID plus an
optional, empty NULL?

Test node-forge 1.4.0 node-forge 1.4.4
a genuine signature verifies Verified OK Verified OK
a genuine signature over a different message Verification Failure Verification Failure
control: DigestAlgorithm = OID, NULL Verified OK Verified OK
control: DigestAlgorithm = OID alone (parameters absent, allowed by RFC 8017) Verified OK Verified OK
OID, NULL, plus an extra OCTET STRING (the CVE-2026-85393 vector) Verified OK (vulnerable) OperationError
OID with non-NULL INTEGER parameters Verified OK (vulnerable) OperationError
OID with non-NULL OCTET STRING parameters Verified OK (vulnerable) OperationError
OID with a NULL that carries 32 value bytes Verified OK (vulnerable) OperationError
guard: an extra element on the outer DigestInfo (CVE-2026-33894) OperationError OperationError

The table is measured, not inferred. The suite was run against node-forge 1.4.0 installed in place
(npm install --no-save node-forge@1.4.0), where the four malformed DigestAlgorithm cases fail
and the other five pass, and against the locked 1.4.4, where all nine pass. The last row is the
outer half of the same bug, fixed in 1.4.0 already. It guards the fix that CVE-2026-85393
completed, rather than distinguishing the two versions. The test key comes from Node's native
crypto.generateKeyPairSync and is imported into forge, so the suite has no pure-JS prime search on
its path. The controls exist so that a broken test
builder cannot make a rejection pass for the wrong reason. The rejections assert an
OperationError whose message names the DigestInfo, not just "some exception", so a bare Error
leaking to the MCP layer would also fail. Against the disabled operation that master carried,
every test fails, so the suite also fails if anyone disables the operation again without changing
the test.

Upstream CyberChef v11.4.0 -> v11.5.0

#153 synced upstream v11.5.0 (released 2026-09-18) into src/core/** on 2026-10-09, after v4.2.0
was tagged. The sync is mechanical: an rsync -a --delete of the upstream tree, then the
patches/fork/ patches re-applied, where a patch that stops applying fails the sync. So these are
upstream's changes, listed with upstream's pull requests:

Change Upstream Effect here
New operation Parse PGP Key gchq/CyberChef#2734 New tool cyberchef_parse_pgp_key, in the Public Key category. Uses openpgp
Duplicate RandomPrime.mjs removed #2764 No operation lost: it was byte-identical to GeneratePrime.mjs and both declared Pseudo-Random Prime Generator
LM Hash no longer crashes on input that expands when upper-cased #2787 Error -> digest for such input
Render Markdown keeps anchors that already carry a target attribute #2767 Output change for those links only
PEM to JWK adds an opt-in kid (RFC 7638 thumbprint) #2771 New boolean argument, off by default. Default output measured identical to v4.2.0 for RSA (SPKI, PKCS#8, PKCS#1) and EC P-256 (SPKI, PKCS#8) keys
MOD, Luhn Checksum raise OperationError, not a bare Error #2766 Same failure, now a structured tool error
Parse IP range masks host bits in the network of a CIDR range #2694 Output change for CIDR input with host bits set
Disassemble x86 accepts hexadecimal address arguments #2721 New accepted input form
Blank number arguments fall back to the declared default #2707 Operation.mjs: a number argument whose value is NaN (for example, left blank) takes the argument's default instead
Numeric 0 input is a value, not an empty dish, in the Node API #2759 Dish.mjs and src/node/api.mjs: input 0 is processed instead of being treated as empty

Upstream's one SECURITY item in v11.5.0 (no autobake on a loaded recipe when an operation sets
manualBake) is in the web UI. src/web is not part of this server, so it does not apply here.

Operation count: 504 -> 505 (Parse PGP Key). tools/list on all goes from 545 to 546
tools, measured at 427,123 bytes with npm run measure:surfaces. The index (23 tools, 15,620
bytes) and curated (120 tools, 109,548 bytes) surfaces are unchanged, so a default client sees
the same listing as on v4.2.0. The new operation is reachable there through cyberchef_search,
cyberchef_describe_operation and cyberchef_bake.

Fixed in this release

Package Old New Advisories
node-forge (direct) 1.4.0 1.4.4 21, seven HIGH: RSA PKCS#1 v1.5 signature forgery (GHSA-86w9-cpqp-85rv, GHSA-5x38-2vff-x55p, ...), X.509 basicConstraints/pathLenConstraint, AES-GCM tag verification
hono (via @modelcontextprotocol/node) 4.13.14 4.13.22 GHSA-3gg2-335m-rxc6, GHSA-46wx-v44x-9hh2, GHSA-4h7h-rv7c-7m2v, GHSA-4m76-xfj5-7975, GHSA-h7mg-cq63-vhpq
@hono/node-server (via @modelcontextprotocol/node) 2.1.5 2.1.11 GHSA-jpvv-r467-5p4w, GHSA-qv5m-9pm6-hqp3
astro (documentation site, not shipped) 7.4.2 7.4.13 GHSA-mh32-jxcr-mh9f, GHSA-r3h5-4585-7x3w

The full node-forge list: GHSA-2vgq-wchc-25w7, GHSA-4487-j8r4-4g2f, GHSA-4642-5mcj-2rqw,
GHSA-525v-9gp9-w22h, GHSA-5cwg-6vw7-rj6p, GHSA-5x38-2vff-x55p, GHSA-6889-vf6x-f3g5,
GHSA-6cv4-p8m7-4r25, GHSA-6qrw-m8cv-hcxf, GHSA-6wvx-3r32-xmcg, GHSA-7wch-p9px-956x,
GHSA-86w9-cpqp-85rv, GHSA-8hrf-8g6f-7xwp, GHSA-9wg5-mj3p-v49q, GHSA-h46v-rmh6-fq4f,
GHSA-h6cr-wjv9-3cpp, GHSA-hqq3-7jhf-c5jx, GHSA-j8rw-jp99-435v, GHSA-jc66-7q78-782g,
GHSA-rhr8-3pm8-cq29, GHSA-w4xr-hqv8-ch44.

Container base image. CI's Trivy scan of the image failed on CVE-2026-123863 (HIGH, Node.js
HTTP/2 denial of service) in the Chainguard Node v26.12.1 base. The advisory was published after the
last green scan on master, so master would have failed the same way. Both Dockerfile.mcp
stages are re-pinned to the 2026-11-26 Chainguard digests, which run Node v26.13.1
(nodejs-26-26.13.1-r1; fixed in 26.13.1-r0):

Stage Tag Digest
builder cgr.dev/chainguard/node:latest-dev sha256:42e9e83d31a228a12c991c4c332205409cb7b46bd29a3e9519f6c98f710fbea1
runtime cgr.dev/chainguard/node:latest sha256:3f0d2afa09a5b4ccf8cb9caf9457343d0128a7e1ca63ebe5f9932420fe96cfa4

The .trivyignore entry for CVE-2026-85393 (node-forge) is removed. It said to remove it once a
fixed release existed, and node-forge 1.4.4 is one, so a scan that reports it again now fails.

The two hono packages sit under the Streamable HTTP transport. The fixed releases are inside the
ranges @modelcontextprotocol/node already declares, so npm update lifted them and no
overrides entry was added.

If you install from npm with an existing lockfile, refresh these two yourself. The published
package ships no lockfile, and @modelcontextprotocol/node still accepts affected versions, so
upgrading cyberchef-mcp alone leaves whatever your lockfile already records. Run
npm update hono @hono/node-server to get hono >= 4.13.16 and @hono/node-server >= 2.1.11.
The Docker image and a fresh install are not affected, because the image builds with npm ci
from this repository's lock.

The direct floors are raised so npm consumers cannot resolve an unpatched or untested version:
node-forge ^1.4.4 and dompurify ^3.5.0 (the versions locked and tested here).

Fixed on master since v4.2.0, released here

#170 already moved these, and v4.2.1 is the first tag that carries them:

Package v4.2.0 shipped Now Advisories
handlebars 4.7.9 4.7.10 GHSA-8r5x-fm3f-whwj, GHSA-p8wg-vrv2-v86f (both CRITICAL), GHSA-xw65-4hp5-5hc7
@modelcontextprotocol/server 2.0.0 2.4.0 GHSA-46jr-4wx8-v453, GHSA-f897-62hf-6gxq, GHSA-jm63-cq47-j5jp (HIGH), GHSA-rvq5-wwqv-78pq
@modelcontextprotocol/node 2.0.0 2.1.2 GHSA-f897-62hf-6gxq (HIGH)
markdown-it 15.0.1 15.0.3 GHSA-gfr2-rv44-r23c, GHSA-r7fv-28h4-cvq7 (HIGH), GHSA-vfgh-jcmw-g37q
zod 4.6.1 4.6.7 GHSA-mrhx-c7xc-m3w5 (HIGH)
dompurify 3.4.15 3.4.17 (#170), then 3.5.0 (#182, this PR) GHSA-6688-9rhm-gjv2, GHSA-c6gr-qvv4-5v3f, GHSA-cg2g-xh64-v4q7, GHSA-mrv2-3pqr-j5jr, GHSA-p98j-92pf-mc4p
moment 2.30.1 2.31.0 GHSA-4p3w-j4w9-5jqw
pbkdf2 3.1.6 3.1.7 GHSA-477h-4r7f-fvrx
qs 6.16.0 6.16.1 GHSA-6pq8-jhm2-2vcw

Not fixed

  • elliptic 6.6.1 (GHSA-848j-6mx2-7j84, LOW): no fixed release exists, and the advisory marks
    every version affected. It is what npm audit --omit=dev still reports (4 low: elliptic and the
    packages that depend on it).
  • glob 13.0.6 (GHSA-3g3m-2fjr-6pw4) and minimatch 10.2.6 (GHSA-g3hv-75wg-m249),
    MODERATE: development-only. They are fixed only in the next majors (glob 14.0.2, minimatch
    11.0.1), and a major bump of build tooling does not belong in a patch release. Neither is in the
    image, which runs npm prune --omit=dev.

Other updates folded in

Runtime: bootstrap 5.3.9, bson 7.3.4, cbor2 2.4.2, d3 7.9.2, dompurify 3.5.0, jquery
4.1.0, js-sha3 0.16.0, jsonpath-plus 11.3.0, kbpgp 2.1.21, moment-timezone 0.6.6,
openpgp 6.3.3 (and its new dependency eckey-utils 0.7.14), otpauth 9.6.0, sql-formatter
15.10.0, terser 5.51.4, xpath 0.0.36. Development: @babel/* 8.1.2-8.1.3, vitest and
@vitest/coverage-v8 5.1.2, eslint 10.15.0, eslint-plugin-jsdoc 65.5.5, cspell 10.5.2,
globals 17.14.0, autoprefixer 10.7.0, postcss 8.5.33, postcss-loader 8.2.2, tinybench
6.2.5, webpack-bundle-analyzer 5.4.3.

Dependabot PR Group Folded in by
#176 node-forge (security-patches) #185
#177 astro in /docs-site #185
#181 development minor/patch (14 updates) #185
#182 production minor/patch (13 updates) #185
#186 postcss-loader (development minor/patch) #188
#187 production minor/patch (4 updates) #188

Every specifier is exactly what its Dependabot PR set, and npm resolved the newest release inside
each range. Coverage was checked mechanically. Every package.json change in the six PRs is equal
or higher here. Every lockfile entry they change resolves to an equal or newer version, with one
exception: a nested docs-site @napi-rs/wasm-runtime stays at 1.2.6 because
@rolldown/binding-wasm32-wasi pins it exactly. Both 1.2.6 and 1.2.7 are installed in either tree,
and OSV lists no advisories for 1.2.6.

Behaviour of the folded-in updates

None of these is a security fix, but some touch code paths whose output users check, so each was
read against the code that calls it.

js-sha3 0.14.0 -> 0.16.0 (SHA3, Keccak, Shake). This is a 0.x minor bump, so it may
break things, and it brings two digest-affecting changes:

  • 0.15.0 encodes unpaired UTF-16 surrogates in string input as U+FFFD, matching TextEncoder
    and Node.js crypto.
  • 0.16.0 hashes multi-byte typed arrays (Uint16Array, Uint32Array, Float32Array, ...) by
    their underlying bytes, and fixes the digests of DataView and of Int8Array with negative
    values.

Neither change can alter a CyberChef digest. All three operations declare
inputType = "ArrayBuffer" and pass that buffer directly to sha3_*, keccak* or shake*. Both
versions treat an ArrayBuffer as raw bytes. The 18 SHA3, Keccak and Shake vector tests in
tests/operations/tests/Hash.mjs pass unchanged.

kbpgp 2.1.19 -> 2.1.21 (PGP operations). The dropped bzip-deflate dependency is replaced by
a vendored decompressor, not removed: lib/openpgp/packet/compressed.js still handles
C.compression.bzip, now through contrib/bzip_deflate. The new code passes a max_length bound
into the inflater, which caps how far a BZIP2-compressed packet can expand. BZIP2-compressed PGP
messages still decode, with a decompression-bomb limit they did not have before.

openpgp 6.3.2 -> 6.3.3 (Parse PGP Key). Upstream fixed brainpool and secp256k1 ECDSA signing
and verification under Node, which failed because a dependency was missing from the bundle
(openpgpjs/openpgpjs#2075, fixed by #2078). Parse PGP Key parses keys and never signs or
verifies, so its output does not change.

terser 5.51.2 -> 5.51.4 (JavaScript Minify): patch releases. The operation has no
known-answer test in tests/operations, so it was exercised through the SDK client instead (see
Verification). jquery 4.1.0 and postcss-loader 8.2.2 are used only by the web app and its
build. Nothing under src/core/operations or src/node imports them.

Supply-chain review

openpgp 6.3.3 is the first openpgp release in years to declare a runtime dependency. The new
dependency, eckey-utils, is a single-maintainer package, and that pattern is a known warning sign,
so it was traced before it was accepted:

  • openpgp@6.3.3 was published to npm by larabr, the openpgpjs maintainer who also published
    6.3.2. Its gitHead is 804cf464, which matches the v6.3.3 GitHub release.
  • At that commit, upstream package.json declares "eckey-utils": "^0.7.14". It was introduced by
    openpgpjs/openpgpjs#2078, which larabr wrote and merged. Before that it was a bundled
    development dependency.
  • The eckey-utils@0.7.14 tarball (ISC, 27 KB unpacked) has no install scripts and no
    dependencies. It never uses child_process, http or fetch.
  • ^0.7.14 cannot resolve to the eckey-utils 1.x and 2.0 releases published on 2026-11-17 and
    2026-11-18, so those were not evaluated and cannot be installed through this range.
  • The range is openpgp's own, not this project's. The Docker image and npm ci install exactly
    0.7.14 from the lockfile. A fresh npm install of cyberchef-mcp without a lockfile resolves
    whatever <0.8.0 release is newest at that moment, and a future 0.7.x was not reviewed here. Use
    the image, or commit your lockfile, if that matters to you.
  • OSV lists no advisories for any of the six versions #188 resolves.

Compatibility

This is a drop-in release over v4.2.0: nothing a v4.2.0 client relies on is removed or renamed.

A note on the version number. Strict SemVer would make this 4.3.0. The upstream sync adds a
tool (cyberchef_parse_pgp_key) and an optional argument (cyberchef_pem_to_jwk), and additive
functionality is a MINOR change. It ships as 4.2.1 deliberately, as the security release for the
v4.2 line. Both additions come from the upstream sync rather than from new fork features, both are
opt-in, and a client that pins ^4.2.0 or ~4.2.0 picks up the security fixes either way. What a
v4.2.0 client can observe changing is bounded and listed above. The all listing gains one tool;
the index and curated listings do not change. The seven upstream behaviour fixes change output
only for the inputs each one names (for example, CIDR input with host bits set in Parse IP range,
or a blank number argument). RSA Verify gives v4.2.0's results for well-formed signatures. A
signature whose DigestAlgorithm is malformed, which v4.2.0 accepted as Verified OK on node-forge
1.4.0, is now rejected: that is the security fix.

  • Tools and schemas: additive only. index (23 tools) and curated (120) are unchanged. all
    gains cyberchef_parse_pgp_key (545 -> 546). cyberchef_pem_to_jwk gains one optional boolean
    argument whose default reproduces v4.2.0's output. All 505 operations and 19 registry tools are
    present, and the cyberchef_ prefix is unchanged.
  • Behaviour: RSA Verify verifies again, as it did in v4.2.0, now on fixed node-forge. The
    upstream fixes above change output only for the inputs each one names.
  • Protocol: unchanged. The 2026-07-28 and 2025 eras both match the conformance baseline.
  • Configuration: unchanged. There are no new, renamed or removed keys in cyberchef.config.json
    or the environment, and the precedence is still env > file > default.
  • Transports: unchanged. stdio, Streamable HTTP and socket behave as before; the hono
    upgrade is internal to the HTTP transport.
  • Runtime: Node >=26 <27. The image moves from Node v26.12.1 to v26.13.1.
  • Licence: GPL-3.0-or-later, unchanged.

Upgrading

Channel Command
GHCR docker pull ghcr.io/doublegate/cyberchef-mcp_v4:4.2.1 (also :4.2, :4)
Docker Hub docker pull parobek/cyberchef-mcp:4.2.1 (also :4.2, :4, :latest)
Offline cyberchef-mcp-v4.2.1-docker-image.tar.gz from this release, then docker load < it
npm npm install cyberchef-mcp@4.2.1, then npm update hono @hono/node-server if you already had a lockfile
Compose deploy/compose/docker-compose.yml already references 4.2.1; pin by digest as its comment shows
Helm appVersion and image.tag are 4.2.1. The chart version stays 0.5.8 because the chart is not published to a registry, so nothing can already hold 0.5.8 with different contents

Run the image with -i (docker run -i --rm ...); without it the stdio server exits immediately.
For an MCP client that pins a version, change the image tag or npm version and restart the client.
No configuration migration is needed.

Verification

Node v26.13.1, npm ci, the same steps as core-ci.yml, run on master (0a79189) first and then
on this branch:

Gate master v4.2.1
npx grunt lint Done, 0 errors Done, 0 errors
npm run check:versions / check:server-json pass / pass pass / pass
npm test (Node API / operations) 241/241, 2309/2309 241/241, 2309/2309
npm run testnodeconsumer Done Done
npm run test:coverage 75 files, 1728/1728 75 files, 1728/1728
Coverage (stmts / branches / funcs / lines) 95.5 / 89.86 / 96.84 / 96.44 95.5 / 89.86 / 96.84 / 96.44
npm run conformance both eras match baseline both eras match baseline
npm audit --omit=dev 7 (4 low, 2 moderate, 1 high) 4 low
npm audit 13 (4 low, 8 moderate, 1 high) 6 (4 low, 2 moderate)
OSV, root lock 6 packages affected 3 (elliptic, glob, minimatch)
OSV, docs-site lock 1 (astro) 0
docs-site: npm ci && npm run build not run 96 pages built
docker build -f Dockerfile.mcp not run built, 433 MB, Node v26.13.1
Trivy 0.69.3, CRITICAL,HIGH, .trivyignore fails in CI (CVE-2026-123863) 0 findings, exit 0

Stdio smoke test through the official SDK client with CYBERCHEF_OFFLINE=true: serverInfo
reports cyberchef-mcp 4.2.1, tools/list returns 23 tools on the index surface and 546 on
all, cyberchef_to_base64("Hello") returns SGVsbG8=, and HTTP request is refused by the
offline guard. The same smoke test against the locally built image (docker run -i) gives the
same four results.

The upgraded hono / @hono/node-server stack is exercised by the Streamable HTTP tests already in
test:coverage. tests/mcp/http-protocol-eras.test.mjs and tests/mcp/auth.test.mjs drive it
through the SDK's StreamableHTTPClientTransport, and http-transport-sessions.test.mjs and
transports.test.mjs cover sessions and transport selection.

Re-run after #188 (#186 and #187)

The same steps ran again on master at 39e8a1f (#185 merged) and then on the #188 branch. The
only difference is the nine new CVE-2026-85393 tests:

Gate master (39e8a1f) #188
npx grunt lint Done Done
check:versions / check:server-json pass / pass pass / pass
npm test 241/241, 2309/2309 241/241, 2309/2309
npm run testnodeconsumer Done Done
npm run test:coverage 75 files, 1728/1728 75 files, 1737/1737 (+9: CVE-2026-85393)
Coverage (stmts / branches / funcs / lines) 95.5 / 89.86 / 96.84 / 96.44 95.5 / 89.86 / 96.84 / 96.44
npm run conformance both eras match baseline both eras match baseline
npm audit --omit=dev 4 low (elliptic) 4 low (elliptic)

Smoke test through the official SDK client (StdioClientTransport, CYBERCHEF_OFFLINE=true) on the
#188 branch, aimed at the operations whose libraries changed:

Check Result
serverInfo / tools/list on index, curated, all cyberchef-mcp 4.2.1; 23, 120, 546 tools
SHA3 256 of abc, 512 of the empty string NIST known answers (3a985da7...431532, a69f73cc...1dcd26)
Keccak 256 of the empty string c5d24601...5d85a470 (Keccak team known answer)
Shake 128, 256 bits of the empty string 7f9c2ba4...fa66ef26 (NIST known answer)
JavaScript Minify (terser) comment dropped, identifiers mangled: function add(d,n){return d+n}console.log(add(1,2));
Generate PGP Key Pair ECC-256, then PGP Encrypt -> PGP Decrypt (kbpgp) round trip returns the plaintext
Parse PGP Key (openpgp) on that key v4, ECDSA, nistP256; the fingerprint ends in the key ID
HTTP request through cyberchef_bake refused by the offline guard
cyberchef_rsa_verify registered on all yes; digest enum SHA-1, MD5, SHA-256, SHA-384, SHA-512 (from MD_ALGORITHMS, as in v4.2.0)
cyberchef_rsa_sign -> cyberchef_rsa_verify, 2048-bit key, SHA-256 the 256-byte binary signature survives the JSON transport: Verified OK
same signature, different message Verification Failure
forged nested-DigestAlgorithm signature through cyberchef_rsa_verify rejected: Error: ASN.1 object does not contain a valid RSASSA-PKCS1-v1_5 DigestInfo value.

How an operation's own error reaches an MCP client. The forged-signature rejection arrives as
the tool's text result with isError: false, not as a protocol-level tool error. That holds for
every operation, and it is pre-existing behaviour, not part of this release. The recipe engine
(src/core/Recipe.mjs) turns an OperationError raised by an operation into that operation's
output text; v4.2.0 behaves the same, and so does, for example, RSA Verify with an empty key ("Please
enter a public key."). isError: true is reserved for failures the server itself detects, such as
an unknown operation, invalid arguments or the offline guard. For RSA Verify, an MCP client should
therefore treat only the exact text Verified OK as success. That has always been the operation's
contract, and the tests above pin it at the operation layer.

js-sha3 0.14.0 and 0.16.0 were also run side by side outside the server, on the inputs CyberChef
produces. They return identical digests for every ArrayBuffer input, and differ only for a string
that contains a lone surrogate, which CyberChef never passes to them.

A note on non-ASCII input, since it looks like a regression and is not one. Through MCP,
SHA3("é") hashes the single byte 0xE9, not the UTF-8 bytes C3 A9. That conversion is
upstream CyberChef's Utils.strToArrayBuffer, which maps text whose code points are all below 256
to one byte per character. It happens before js-sha3 sees the input, it is the same on v4.2.0, and
this release does not change it.

Pull requests in this release

  • #185: security dependency refresh (node-forge, hono, @hono/node-server, astro),
    Chainguard Node v26.13.1 base image, version bump and release documentation. It folds in #176,
    #177, #181 and #182.
  • #188: folds in #186 and #187, restores RSA Verify from upstream with the CVE-2026-85393
    regression tests, corrects the published tool counts, and expands these notes.
  • #153 (merged after v4.2.0, first released here): upstream CyberChef v11.5.0 sync.
  • 89cc60b (after v4.2.0, superseded here): the interim RSA Verify disable.
  • #170 (merged after v4.2.0, first released here): handlebars, @modelcontextprotocol/server and
    /node, markdown-it, zod, dompurify, moment, pbkdf2, qs and the @jimp/* zod
    override.