# ufo@1.6.4 security report (npm)

- Verdict: **No issues** (risk level: safe)
- Scanned: 2026-10-04T21:17:59.000Z
- Files reviewed: 2
- Findings: 3 low severity findings
- Report: https://security.togoder.click/npm/ufo
- Source: Togoder Security (https://security.togoder.click), AI source-code review

## Summary

Togoder Security scanned the npm package ufo@1.6.4 on Oct 4, 2026. An AI review of 2 source files produced 3 low severity findings. No malicious behavior, install-time payloads, credential theft or exfiltration were identified.

## Findings

### [low] URL Parsing and Normalization Logic

Finding ID: `NPS-1FE510D7A29A`

File: `dist/index.cjs`

The code implements URL parsing, encoding/decoding, and query string manipulation, including IDN (Punycode) conversion. This is legitimate functionality for a URL utility library (ufo).

### [low] Prototype Pollution Mitigation

Finding ID: `NPS-AB1CF5DE9A46`

File: `dist/index.cjs`

The parseQuery function explicitly filters out keys like '__proto__' and 'constructor' to prevent prototype pollution, which is a security best practice.

### [low] No Suspicious Network or File System Activity

Finding ID: `NPS-CA9043096C6B`

File: `dist/index.cjs`

No network requests, file system operations, child process spawning, environment variable harvesting, or dynamic code execution were found. The code is a self-contained URL utility library.

## Files reviewed

- `dist/index.cjs` (safe): The code is a legitimate URL manipulation library with no malicious patterns; it includes prototype pollution protection and no external I/O or code execution.
- `dist/index.mjs` (safe): No malicious patterns detected; this is the legitimate 'ufo' URL parsing library implementing punycode, URL/query encoding, and URL manipulation with no data exfiltration, code execution, process spawning, or credential harvesting.

## Version ranges

None of the 2 scanned versions of ufo are flagged high or critical. The latest scanned version, 1.6.4, is clean. Only versions we have scanned are listed; unscanned versions between them are not covered.

- 1.6.4 (`1.6.4`): clean
- 1.6.3 (`1.6.3`): not scanned
- 1.6.1 (`1.6.1`): clean

## Scanned versions

- [1.6.4](https://security.togoder.click/npm/ufo@1.6.4): safe, 2026-10-04T21:17:59.000Z
- [1.6.1](https://security.togoder.click/npm/ufo@1.6.1): safe, 2026-10-04T16:41:48.000Z

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