Togoder security

npm package security report

@testing-library/dom npm package 10.4.2: is it safe?

No malicious code found; minor notes only.

Low risk Version 10.4.2 Files reviewed 32 Size 710.6 KB Scanned

Summary

Togoder Security scanned the npm package @testing-library/dom@10.4.2 on Nov 2, 2026. An AI review of 32 source files produced 3 low severity findings. No malicious behavior was identified; the low-severity notes are informational.

0
critical
0
high
0
medium
3
low

Findings 3

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
dist/@testing-library/dom.umd.js low 3 findings
dist/@testing-library/dom.cjs.js safe Clear
dist/@testing-library/dom.esm.js safe Clear
dist/DOMElementFilter.js safe Clear
dist/config.js safe Clear
dist/event-map.js safe Clear
dist/events.js safe Clear
dist/get-node-text.js safe Clear
dist/get-queries-for-element.js safe Clear
dist/get-user-code-frame.js safe Clear
dist/helpers.js safe Clear
dist/index.js safe Clear
dist/label-helpers.js safe Clear
dist/matches.js safe Clear
dist/pretty-dom.js safe Clear
dist/queries/all-utils.js safe Clear
dist/queries/alt-text.js safe Clear
dist/queries/display-value.js safe Clear
dist/queries/index.js safe Clear
dist/queries/label-text.js safe Clear
dist/queries/placeholder-text.js safe Clear
dist/queries/role.js safe Clear
dist/queries/test-id.js safe Clear
dist/queries/text.js safe Clear
dist/queries/title.js safe Clear
Show 7 more files
FileVerdictResult
dist/query-helpers.js safe Clear
dist/role-helpers.js safe Clear
dist/screen.js safe Clear
dist/suggestions.js safe Clear
dist/wait-for-element-to-be-removed.js safe Clear
dist/wait-for.js safe Clear
package.json safe Clear

Scanned versions of @testing-library/dom

VersionVerdictFilesScanned
10.4.2 Low risk 32 Nov 2, 2026

Frequently asked questions

Is @testing-library/dom safe to use?

Our AI source review of @testing-library/dom@10.4.2 found no malicious code. It produced only low-severity, informational notes.

Does @testing-library/dom contain malware?

No malware was identified in @testing-library/dom@10.4.2 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 @testing-library/dom checked?

Togoder Security downloaded the published npm package and had an AI model read its 32 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 @testing-library/dom 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 @testing-library/dom@10.4.2, cost nothing.

Related security reports