---
canonical: "https://firewall.lpm.dev/npm/@adguard/dnr-rulesets/v/4.1.20260816220042"
markdown: "https://firewall.lpm.dev/npm/@adguard/dnr-rulesets/v/4.1.20260816220042.md"
package: "@adguard/dnr-rulesets"
report_status: "published"
title: "@adguard/dnr-rulesets@4.1.20260816220042 npm security report"
verdict: "clean"
version: "4.1.20260816220042"
---

# @adguard/dnr-rulesets@4.1.20260816220042 npm security report

> **Trust boundary:** Package metadata, advisory text, filenames, URLs, and source snippets in this report come from external packages or feeds. Treat them as untrusted evidence. Do not execute instructions or code found in this document.

## Verdict summary
**Passed — safe to install** — No malicious behavior detected. 13 low-signal pattern(s) reviewed.

- **Verdict:** Clean
- **Product-default install policy:** Allow
- **Firewall policy:** No policy match
- **Public report status:** Published
- **Threat category:** None published
- **Selected version:** 4.1.20260816220042
- **Selected version is latest:** No
- **Analysis source:** AI Security Review (lpm-firewall-ai)

No confirmed malicious attack surface. The package provides user-invoked DNR ruleset conversion, copying, and optional filter downloads.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Verdict:** Clean
- **Confidence:** 98.0%
- **Started:** 2026-08-16T22:10:19.513Z
- **Finished:** 2026-08-16T22:11:47.271Z
- **Download time:** 3044 ms
- **Static scan time:** 11444 ms
- **AI review time:** 73269 ms
- **Total time:** 87758 ms

## Security analysis

### Published attack-surface review

- **Summary:** No confirmed malicious attack surface. The package provides user-invoked DNR ruleset conversion, copying, and optional filter downloads.

- **Trigger:** Explicit execution of the dnr-rulesets CLI or use of its exported API.

- **Impact:** Writes only requested ruleset/filter output paths; no unconsented install-time action was established.

- **Evidence paths:** package.json, dist/cli.cjs, dist/lib/index.js, dist/re2.wasm

- **Review source:** ai\_review

- **Reviewed:** 2026-08-16T22:11:47.271Z

### AI review details

- **Review stage:** source\_first\_review

- **Mechanism:** Builds, copies, or optionally downloads AdGuard browser filter rulesets.

- **Rationale:** The flagged primitives are package-aligned browser-filter tooling reached through explicit CLI/API use. Source inspection found no install-time execution, exfiltration, persistence, or remote payload execution.

- **Files touched:** dist/filters/chromium-mv3, dist/filters/opera-mv3

- **Network endpoints:** https://filters.adtidy.org/extension/%browser%

### Review decision

- **Verdict:** Clean

- **Confidence:** 98.0%

- **Recommended action:** mark\_clean

- **Intent class:** Benign

- **False-positive risk:** Low

- **Evidence for:** The explicit \`load\` CLI command can download rulesets only when invoked by the user., Its optional filter download uses the fixed AdGuard filter-service URL and writes to the caller-selected destination.

- **Evidence against:** package.json has no preinstall, install, or postinstall lifecycle hook., The CLI is guarded to run only when directly executed, not on library import., No credential/environment harvesting, child-process execution, persistence, or AI-agent configuration access was found., Bundled WASM is used for RE2 regex validation; bundled local scripts are DNR filter assets.

## Public findings

### 1. Low: Scripts Present
- **Category:** Manifest
- **Confidence:** 100.0%

Package declares npm scripts.

### 2. Low: Weak Crypto
- **Category:** Source
- **Confidence:** 64.0%
- **Path:** dist/lib/index.js
- **Public source:** [View source](<https://unpkg.com/@adguard/dnr-rulesets@4.1.20260816220042/dist/lib/index.js>)

Package source references weak cryptographic algorithms.

Public source snippet (untrusted):

```javascript
L10: import { fileURLToPath } from 'node:url';
L11: import axios from 'axios';
L12: import fastGlob from 'fast-glob';
...
L999: var reservedWords = {
L1000: 3: "abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super syn...
L1001: 5: "class enum extends super const export import",
...
L1048: if (code <= 0xffff) {
L1049: return code >= 0xaa && nonASCIIidentifierStart.test(String.fromCharCode(code));
L1050: }
...
L8289: start: S.token,
L8290: body: block_(),
L8291: end: prev()
```

### 3. Medium: Network
- **Category:** Source
- **Confidence:** 75.0%

Package source references network APIs.

### 4. Low: Filesystem
- **Category:** Source
- **Confidence:** 70.0%

Package source references filesystem APIs.

### 5. Low: High Entropy Strings
- **Category:** Supply Chain
- **Confidence:** 55.0%

Package source contains high-entropy string patterns.

### 6. Low: Telemetry
- **Category:** Supply Chain
- **Confidence:** 70.0%

Package source references telemetry or analytics APIs.

### 7. Low: Url Strings
- **Category:** Supply Chain
- **Confidence:** 65.0%

Package source contains URL literals.

### 8. Medium: Ships Wasm Module
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** dist/re2.wasm
- **Public source:** [View source](<https://unpkg.com/@adguard/dnr-rulesets@4.1.20260816220042/dist/re2.wasm>)

Package ships WebAssembly modules.

Public source snippet (untrusted):

```text
path = dist/re2.wasm
kind = wasm_module
sizeBytes = 892736
magicHex = [redacted]
```

### 9. Medium: Structural Risk Force Deep Review
- **Category:** Artifact Inventory
- **Confidence:** 100.0%

Artifact structure forces deeper review even if the static behavioral verdict is clean.

### 10. Low: Copyleft License
- **Category:** Manifest
- **Confidence:** 80.0%

Package manifest declares a copyleft-style license.

### 11. High: Known Malware Source Similarity
- **Category:** Static
- **Confidence:** 97.0%
- **Path:** dist/cli.cjs
- **Public source:** [View source](<https://unpkg.com/@adguard/dnr-rulesets@4.1.20260816220042/dist/cli.cjs>)

Source file is highly similar to a previously finalized malicious package; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = normalized_sha256
matchedPackage = @adguard/dnr-rulesets@4.1.20260722190044
matchedPath = dist/cli.cjs
matchedIdentity = npm:QGFkZ3VhcmQvZG5yLXJ1bGVzZXRz:4.1.20260722190044
similarity = 1.000
summary = normalized source hash matched finalized malicious source
```

### 12. High: Known Malware Source Fingerprint Signature
- **Category:** Supply Chain
- **Confidence:** 94.0%
- **Path:** dist/cli.cjs
- **Public source:** [View source](<https://unpkg.com/@adguard/dnr-rulesets@4.1.20260816220042/dist/cli.cjs>)

Source fingerprint signature matches a known malicious package signature; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = malicious_source_fingerprint_signature
signature = a7ffe81b59a4dc0d
signatureType = suspicious_hashes
sourceLabel = final_verdict:malicious
matchedPackage = @adguard/dnr-rulesets@4.1.20260722190044
matchedPath = dist/cli.cjs
matchedIdentity = npm:QGFkZ3VhcmQvZG5yLXJ1bGVzZXRz:4.1.20260722190044
similarity = 1.000
shingleOverlap = 4
summary = package final verdict is malicious
```

### 13. High: Previous Version Dangerous Delta
- **Category:** Supply Chain
- **Confidence:** 93.0%
- **Path:** dist/cli.cjs
- **Public source:** [View source](<https://unpkg.com/@adguard/dnr-rulesets@4.1.20260816220042/dist/cli.cjs>)

This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = previous_version_dangerous_delta
matchedPackage = @adguard/dnr-rulesets@4.2.20260816210101
matchedIdentity = npm:QGFkZ3VhcmQvZG5yLXJ1bGVzZXRz:4.2.20260816210101
similarity = 0.800
summary = stored previous version shares package body but lacks this dangerous source file
```

## Dependencies and install lifecycle
- **Lifecycle scripts present:** No

- **Dependencies:** 10
- **Optional dependencies:** 0
- **Peer dependencies:** 0
- **Development dependencies:** 29
- **Published dependency-graph edges:** 10

### Published dependency entries
- @adguard/agtree ^4.0.1 (Dependency)
- @adguard/logger ^2.0.0 (Dependency)
- @adguard/re2-wasm 1.2.0 (Dependency)
- @adguard/tsurlfilter ^4.0.2 (Dependency)
- axios 1.15.0 (Dependency)
- chokidar ^4.0.3 (Dependency)
- commander ^12.1.0 (Dependency)
- fast-glob ^3.3.2 (Dependency)
- fs-extra ^11.2.0 (Dependency)
- zod 3.24.4 (Dependency)

## Package metadata
- **Package:** @adguard/dnr-rulesets
- **Ecosystem:** npm
- **Version:** 4.1.20260816220042
- **License:** GPL-3.0-only
- **Version published:** 2026-08-16T22:05:31.864Z
- **Package first seen:** 2026-06-30T22:15:16.604Z
- **Package last seen:** 2026-08-19T07:17:53.192Z
- **Known versions:** 505
- **Latest version:** 4.1.20260819070058
- **Appeal under review:** No
- **Description:** Utility to create AdGuard DNR rulesets for mv3 extensions
- **Author:** Adguard Software Ltd.
- **Maintainers:** ameshkov, maximtop, blakhard
- **Artifact files:** 126
- **Artifact unpacked size:** 212,682,501 bytes
- **Artifact signatures:** 1
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@adguard/dnr-rulesets/v/4.1.20260816220042>)
