Summary
Togoder Security scanned the npm package dompurify@3.4.16 on Nov 2, 2026. An AI review of 12 source files produced 1 medium, 1 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.
Findings 2
What the code does, the file and line, and the recommendation are for signed-in users. Logging in is free.
Login to view
Login to view
Files reviewed
| File | Verdict | Result |
|---|---|---|
| dist/purify.cov.cjs.js | medium | 1 finding |
| src/purify.ts | low | 1 finding |
| dist/purify.cjs.js | safe | Clear |
| dist/purify.es.mjs | safe | Clear |
| dist/purify.js | safe | Clear |
| package.json | safe | Clear |
| src/attrs.ts | safe | Clear |
| src/config.ts | safe | Clear |
| src/regexp.ts | safe | Clear |
| src/tags.ts | safe | Clear |
| src/types.ts | safe | Clear |
| src/utils.ts | safe | Clear |
Scanned versions of dompurify
| Version | Verdict | Files | Scanned |
|---|---|---|---|
| 3.4.16 | Needs review | 12 | Nov 2, 2026 |
Frequently asked questions
Is dompurify safe to use?
No confirmed malware was found in dompurify@3.4.16, but the review flagged 1 medium, 1 low severity findings for risky patterns worth checking before you rely on it.
Does dompurify contain malware?
No malware was identified in dompurify@3.4.16 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 dompurify checked?
Togoder Security downloaded the published npm package and had an AI model read its 12 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 dompurify 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 dompurify@3.4.16, cost nothing.