# esquery@1.7.0 security report (npm)

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

## Summary

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

## Findings

### [low] Dynamic RegExp construction

Finding ID: `NPS-A4CC0A2869C4`

File: `parser.js:846`

The parser constructs a RegExp object from user-supplied pattern and flags (peg$c76). This is standard for CSS/selector parsers and is not inherently malicious, but if the parser output is consumed without validation, a crafted regex could cause ReDoS. No other risky patterns were found.

## Files reviewed

- `parser.js` (safe): This is a standard PEG.js-generated selector parser with no malicious patterns; only a benign dynamically constructed RegExp from parsed input was noted.

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