Togoder security

npm package security report

napi-postinstall npm package 0.3.4: is it safe?

Medium: risky but common patterns, not malware.

Needs review Version 0.3.4 Files reviewed 8 Size 25.8 KB Scanned

Summary

Togoder Security scanned the npm package napi-postinstall@0.3.4 on Nov 2, 2026. An AI review of 8 source files produced 3 medium, 5 low severity findings. The overall verdict is medium: the findings flag risky but common patterns that the package's purpose explains (dynamic code, telemetry, native installers, broad file or network access), not malware.

0
critical
0
high
3
medium
5
low

Findings 8

Login to view the findings

What the code does, the file and line, and the recommendation are for signed-in users. Logging in is free.

Files reviewed

FileVerdictResult
lib/fallback.js medium 2 findings
lib/index.js medium 2 findings
lib/cli.js low 2 findings
lib/helpers.js low 2 findings
lib/constants.js safe Clear
lib/target.js safe Clear
lib/types.js safe Clear
package.json safe Clear

Scanned versions of napi-postinstall

VersionVerdictFilesScanned
0.3.4 Needs review 8 Nov 2, 2026

Frequently asked questions

Is napi-postinstall safe to use?

No confirmed malware was found in napi-postinstall@0.3.4, but the review flagged 3 medium, 5 low severity findings for risky patterns worth checking before you rely on it.

Does napi-postinstall contain malware?

No malware was identified in napi-postinstall@0.3.4 when Togoder Security scanned it on Nov 2, 2026. A new version can still introduce malicious code, so scan the exact versions in your lockfile.

How was napi-postinstall 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 napi-postinstall 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 napi-postinstall@0.3.4, cost nothing.

Related security reports