Summary
Togoder Security scanned the npm package @panva/hkdf@1.2.1 on Oct 6, 2026. An AI review of 8 source files produced 1 low severity finding. No malicious behavior, install-time payloads, credential theft or exfiltration were identified.
Findings 1
cryptographic_function
NPS-BFE803BB2387
This file implements HKDF (HMAC-based Key Derivation Function) using Node.js crypto's createHmac. It performs standard key derivation operations, hashing input key material with a salt and info parameter. No external communication, environment access, obfuscation, file system manipulation, process spawning, or dynamic imports are present. This is a legitimate cryptographic utility.
Files reviewed
| File | Verdict | What the reviewer saw |
|---|---|---|
| dist/node/cjs/index.js | safe | Cleared by Jev triage; no further analysis needed |
| dist/node/cjs/runtime/fallback.js | safe | No malicious patterns detected; the code implements HKDF key derivation using Node.js crypto and performs no network, filesystem, process, or dynamic code execution. |
| dist/node/cjs/runtime/hkdf.js | safe | No malicious patterns detected; the file implements a standard HKDF key derivation wrapper with a fallback, using only Node.js crypto APIs and no external network, filesystem, or process operations. |
| dist/node/esm/index.js | safe | Cleared by Jev triage; no further analysis needed |
| dist/node/esm/runtime/fallback.js | safe | Legitimate HKDF key derivation implementation using crypto.createHmac with no malicious patterns detected. |
| dist/node/esm/runtime/hkdf.js | safe | Cleared by Jev triage; no further analysis needed |
| dist/web/index.js | safe | Cleared by Jev triage; no further analysis needed |
| dist/web/runtime/hkdf.js | safe | No malicious patterns detected; the code implements standard HKDF key derivation using the Web Crypto API. |
Scanned versions of @panva/hkdf
| Version | Verdict | Files | Scanned |
|---|---|---|---|
| 1.2.1 | No issues | 8 | Oct 6, 2026 |
Frequently asked questions
Is @panva/hkdf safe to use?
Our AI source review of @panva/hkdf@1.2.1 found no malicious code: no install-time payloads, credential theft, exfiltration, obfuscated loaders or backdoors.
Does @panva/hkdf contain malware?
No malware was identified in @panva/hkdf@1.2.1 when Togoder Security scanned it on Oct 6, 2026. A new version can still introduce malicious code, so scan the exact versions in your lockfile.
How was @panva/hkdf checked?
Togoder Security downloaded the published npm package and had an AI model read its 8 source files, looking for install scripts, credential access, network exfiltration, obfuscation, backdoors and crypto-wallet theft. The results are cached by file hash and shown here.
How do I scan @panva/hkdf together with the rest of my dependencies?
Upload your lockfile at https://security.togoder.click/scan or call the API documented at https://security.togoder.click/api-docs. Files that have already been scanned, like the ones in @panva/hkdf@1.2.1, cost nothing.