Skip to content
Evergreen Evergreen
Documentation

crypto-js is deprecated

Deprecated. The source gives no day. Replacement: Web Crypto API (globalThis.crypto.subtle) or a maintained cryptography library. Source: crypto-js on npm.

Check a version:

evergreen check pkg:npm/crypto-js

npm marks crypto-js as deprecated: “Active development of CryptoJS has been discontinued. This library is no longer maintained.”

Look up another package or runtime · <form action="../lookup.html" method="get" role="search"> </form>

   
Status Deprecated
Severity high
Ecosystem npm
Component pkg:npm/crypto-js
Affected versions vers:npm/*
Date from the source The source gives no day
Replacement Web Crypto API (globalThis.crypto.subtle) or a maintained cryptography library
Evidence last seen 2026-10-19
Reviewed 2026-10-19 by arminazimi, drafted by the npm-deprecated importer
Review due 2027-10-19 (365 days after the last review)
Rule ID npm.package.crypto-js.deprecated

Sources

Migration

Constraints

  • Preserve the algorithms, modes, padding, key derivation, and output encodings each call site relies on, so data encrypted before the change still decrypts afterwards.

Steps

  1. Audit every cryptographic call. List each hash, cipher, KDF, HMAC, and encoding call with its algorithm, mode, padding, IV, and key size.
  2. Reimplement with a maintained implementation. Replace each call with the Web Crypto API or a maintained library that supports the same algorithms and parameters.
  3. Remove crypto-js. Remove crypto-js from dependencies and the lockfile once no call sites remain.

Verification

  • npm run test --if-present: Round-trip existing ciphertext and compare known-answer vectors in the repository tests.
  • npm run build --if-present: Type-check and build every affected entry point.

Detected by

The npm detector. See Detectors and Compatibility.

Same ecosystem

Data

This page is generated from registry/npm.json, rule npm.package.crypto-js.deprecated, in the ebb.registry.v2 format (how rules are written). A CLE (ECMA-428) export is not published yet. The same facts are embedded in this page as schema.org structured data.

Last updated