# whatwg-url@17.1.1 security report (npm)

- Verdict: **No issues** (risk level: safe)
- Scanned: 2026-10-06T14:25:18.000Z
- Files reviewed: 16
- Findings: 1 low severity finding
- Report: https://security.togoder.click/npm/whatwg-url@17.1.1
- Source: Togoder Security (https://security.togoder.click), AI source-code review

## Summary

Togoder Security scanned the npm package whatwg-url@17.1.1 on Oct 6, 2026. An AI review of 16 source files produced 1 low severity finding. No malicious behavior, install-time payloads, credential theft or exfiltration were identified.

## Findings

### [low] Dynamic code execution

Finding ID: `NPS-6D3CE66A545E`

File: `lib/utils.js:51`

The code uses globalObject.eval("(async function* () {})..." ) inside a try/catch to obtain the %AsyncIteratorPrototype% intrinsic. This is a functional necessity, not an obfuscated payload, and the evaluated string is a fixed constant with no external input.

## Files reviewed

- `index.js` (safe): No malicious patterns detected; the file is a standard module entry point that exports URL parsing utilities and installs WebIDL wrappers without any suspicious behavior.
- `lib/Function.js` (safe): No malicious patterns detected; the code is a standard WebIDL function converter wrapper with no exfiltration, obfuscation, or dynamic execution.
- `lib/URL-impl.js` (safe): No malicious patterns detected
- `lib/URL.js` (safe): No malicious patterns detected; the code is a standard WebIDL-based URL implementation for a web-platform polyfill.
- `lib/URLSearchParams-impl.js` (safe): Cleared by Jev triage; no further analysis needed
- `lib/URLSearchParams.js` (safe): No malicious patterns detected; this is standard generated WebIDL binding code for URLSearchParams with no network, filesystem, process, or obfuscation activity.
- `lib/VoidFunction.js` (safe): No malicious patterns detected
- `lib/encoding.js` (safe): Cleared by Jev triage; no further analysis needed
- `lib/infra.js` (safe): Cleared by Jev triage; no further analysis needed
- `lib/percent-encoding.js` (safe): Cleared by Jev triage; no further analysis needed
- `lib/url-miscellaneous.js` (safe): Cleared by Jev triage; no further analysis needed
- `lib/url-state-machine.js` (safe): No malicious patterns detected; the file is a legitimate WHATWG URL parser implementation with no data exfiltration, credential harvesting, dynamic code execution, or other suspicious behavior.
- `lib/url-string-validator.js` (safe): Cleared by Jev triage; no further analysis needed
- `lib/urlencoded.js` (safe): Cleared by Jev triage; no further analysis needed
- `lib/utils.js` (safe): No malicious patterns detected; the only dynamic evaluation is a fixed literal needed to retrieve the AsyncIterator prototype, and there is no network, filesystem, credential, process, or exfiltration behavior.
- `webidl2js-wrapper.js` (safe): Cleared by Jev triage; no further analysis needed

## Version ranges

None of the 3 scanned versions of whatwg-url are flagged high or critical. The latest scanned version, 17.1.1, is clean. Only versions we have scanned are listed; unscanned versions between them are not covered.

- 16.0.1 – 17.1.1 (`>=16.0.1 <=17.1.1`): clean
- 8.7.0 – 11.0.0 (`>=8.7.0 <=11.0.0`): not scanned
- 5.0.0 (`5.0.0`): clean

## Scanned versions

- [17.1.1](https://security.togoder.click/npm/whatwg-url@17.1.1): safe, 2026-10-06T14:25:18.000Z
- [16.0.1](https://security.togoder.click/npm/whatwg-url@16.0.1): safe, 2026-10-06T14:15:00.000Z
- [5.0.0](https://security.togoder.click/npm/whatwg-url@5.0.0): safe, 2026-10-04T16:45:59.000Z

AI analysis is guidance, not a guarantee. Methodology: https://security.togoder.click/methodology
