Summary
Togoder Security scanned the npm package pretty-format@27.5.1 on Nov 2, 2026. An AI review of 13 source files produced 1 low severity finding. No malicious behavior was identified; the low-severity notes are informational.
Findings 1
What the code does, the file and line, and the recommendation are for signed-in users. Logging in is free.
Login to view
Files reviewed
| File | Verdict | Result |
|---|---|---|
| build/plugins/AsymmetricMatcher.js | low | 1 finding |
| build/collections.js | safe | Clear |
| build/index.js | safe | Clear |
| build/plugins/ConvertAnsi.js | safe | Clear |
| build/plugins/DOMCollection.js | safe | Clear |
| build/plugins/DOMElement.js | safe | Clear |
| build/plugins/Immutable.js | safe | Clear |
| build/plugins/ReactElement.js | safe | Clear |
| build/plugins/ReactTestComponent.js | safe | Clear |
| build/plugins/lib/escapeHTML.js | safe | Clear |
| build/plugins/lib/markup.js | safe | Clear |
| build/types.js | safe | Clear |
| package.json | safe | Clear |
Affected version ranges
None of the 2 scanned versions of pretty-format are flagged high or critical. The latest scanned version, 30.4.1, is not scanned. Only versions we have scanned are listed; unscanned versions between them are not covered.
| Versions | Verdict | Count | Range | Top findings |
|---|---|---|---|---|
| 29.7.0 – 30.4.1 | Not scanned | 3 | >=29.7.0 <=30.4.1 | |
| 27.5.1 | Low risk | 1 | 27.5.1 | |
| 3.8.0 | No issues | 1 | 3.8.0 |
Full list, including published versions not scanned yet: version ranges API.
Scanned versions of pretty-format
Frequently asked questions
Is pretty-format safe to use?
Our AI source review of pretty-format@27.5.1 found no malicious code. It produced only low-severity, informational notes.
Does pretty-format contain malware?
No malware was identified in pretty-format@27.5.1 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 pretty-format checked?
Togoder Security downloaded the published npm package and had an AI model read its 13 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 pretty-format 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 pretty-format@27.5.1, cost nothing.