MrTechKing

7 min read

AdGuard Home: Block Ads and Trackers on Every Device at Home (GitHub, Scanned)

A free, self-hosted DNS server that blocks ads and trackers for every device on your network, smart TVs included.

AdGuard Home logo
✅
Scan: safe. Nothing malicious. Two things to know: the install script runs with sudo and sets AdGuard Home up as a service, and it checks AdGuard's server for updates. Scanned Dec 2, 2026; the full report is below.

AdGuard Home is a free program that blocks ads and trackers for your whole home network by acting as its DNS server, the service that turns website names into addresses. Install it on a computer that stays on, such as a Raspberry Pi, open its setup page, then point your router's DNS setting at it; from then on every phone, laptop, smart TV and games console on your Wi-Fi skips known ad and tracking domains, with no app on each device.

It earns its place because it covers devices where you cannot install an ad blocker, and its dashboard shows which device looks up which domain, so you see what your gadgets talk to. You can add filter lists and your own rules, block services such as TikTok for chosen devices, turn on safe search and parental controls, and send your lookups onward over encrypted DNS (DNS-over-HTTPS, DNS-over-TLS or DNS-over-QUIC). It can also be an encrypted DNS server for your phone away from home and has a built-in DHCP server. Like Pi-hole it blocks by domain name, so it cannot remove ads that YouTube serves from its own domains.

AdGuard Home is licensed under GPL-3.0, written in Go with a TypeScript web interface, and made by AdGuard, the company behind the AdGuard ad blocker apps and AdGuard DNS. It has about 39,000 stars and over 100 contributors. Version 1.0.0 came out on 19 November 2026.

  • Repository: github.com/AdguardTeam/AdGuardHome
  • Licence: GPL-3.0 (GNU General Public License v3.0)
  • Language: TypeScript. Stars: 39K. Forks: 2,646. Last push: Dec 1, 2026.
  • Scan: safe, Dec 2, 2026, commit ab8364d

Who it is for

Households that want fewer ads and trackers on every device, parents who want filtering for children, privacy-minded tinkerers, and Pi-hole users who want encrypted DNS built in. You need a computer that stays on, a Raspberry Pi is enough, and access to your router's settings; it runs on Linux, macOS, Windows and FreeBSD.

Getting started

1. Install on Linux or macOS with the official script (it uses sudo to install a system service)

curl -s -S -L https://raw.githubusercontent.com/AdguardTeam/AdGuardHome/master/scripts/install.sh | sh -s -- -v

2. Or run the official Docker image (DNS on port 53, setup page on 3000)

docker run --name adguardhome --restart unless-stopped -v ./work:/opt/adguardhome/work -v ./conf:/opt/adguardhome/conf -p 53:53/tcp -p 53:53/udp -p 3000:3000/tcp -d adguard/adguardhome

3. Or on Linux, from the Snap Store

sudo snap install adguard-home

4. Open the setup wizard, choose the ports and create your admin login

http://localhost:3000

5. Then set your router's DNS server to this computer's IP address so every device uses it

http://192.168.1.1

The install script downloads AdGuard Home from static.adtidy.org into /opt/AdGuardHome on Linux (/Applications on a Mac) and runs AdGuardHome -s install with sudo, which registers it as a system service that starts at boot; run it again with -u to uninstall. AdGuard Home needs port 53, so turn off any other DNS service on that machine first. 192.168.1.1 is a common router address; yours may differ. Our scan covers the source code, not the prebuilt binaries or the Docker image.

Safety scan

We cloned AdguardTeam/AdGuardHome at commit ab8364d on Dec 2, 2026 and ran the checks described on the GitHub Tools page: credential patterns, decode-and-execute code, install-time scripts, committed binaries, risky CI workflows, every host the code talks to, known vulnerabilities in pinned dependencies, and project hygiene. A person read every hit. This is what we found.

  • 12 secret hits and no committed binaries across 1,987 files and about 364,500 lines of Go, TypeScript and JSON. None is a real key: 10 are short fake PEM blocks in the client_v2/src/__tests__ tests for the encryption settings, and the other 2 are the text -----BEGIN PRIVATE KEY----- used as a form placeholder (pemFields.ts line 82) and in a pattern that checks what you paste (validate.ts line 43).
  • 0 pattern hits. There are no npm lifecycle scripts in the web interfaces and no build scripts that download anything; the Go program is built with the repo's own Makefile and scripts.
  • scripts/install.sh, the script the README pipes into sh, finds your OS and CPU, downloads the matching archive from static.adtidy.org, unpacks it into /opt/AdGuardHome (or /Applications on macOS) and runs AdGuardHome -s install with sudo or doas to register a system service. -u uninstalls and -r reinstalls. It does not touch your shell profile.
  • 178 advisories across 2,031 packages in 3 lockfiles, 11 critical, none in the AdGuard Home program: go.mod, the Go server, has 1 unrated notice. The critical ones sit in client and client_v2 package-lock.json and belong to build and test tools (vitest, tinypool, the dev server's websocket-driver and proxy-addr, shell-quote, cross-spawn), plus seroval, which solid-js only uses for server rendering that this browser-only interface never does. Most of the 89 high are in the same tooling.
  • The README says AdGuard Home collects no usage statistics. It checks static.adtidy.org for updates, downloads the filter lists you choose (the defaults come from adguardteam.github.io), and sends DNS lookups to the upstream servers you pick. Safe browsing and parental control, off by default, check domains against AdGuard's family.adguard-dns.com when you turn them on. 6 workflows, none on pull_request_target, and no third-party actions. A security policy is present; OpenSSF Scorecard 5.6 of 10; no Dependabot or CodeQL.

What the scanner counted

CheckResult
Secrets12 candidates found and read; see the notes above.
Suspicious codeNone found.
Install-time code1 installer script (one can call sudo)
Committed binariesNone.
CI workflows6 workflows. None use pull_request_target. No third-party actions.
Network hosts40 distinct hosts referenced from source; most often github.com, adguardteam.github.io, datatracker.ietf.org, static.adtidy.org. No URLs to bare IP addresses.
Known vulnerabilities178 advisories across 2,031 pinned packages: 11 critical, 89 high, 65 moderate, 12 low, 1 unrated. client/package-lock.json: 1,236 packages, 106 advisories; client_v2/package-lock.json: 1,334 packages, 87 advisories; go.mod: 109 packages, 1 advisories.
Project hygieneHas security policy, licence file, contributing guide. Missing automated dependency updates, CodeQL.
OpenSSF Scorecard5.6 out of 10, as of Nov 30, 2026.

The raw findings

Every hit the scanner wrote out, with a link to the exact line at the scanned commit. Secrets candidates are redacted.

Secret candidates (12, redacted)
WhereRuleMatch
client_v2/src/__tests__/components/encryption-dropzone.test.tsx:58private-key-----B…--- (27 chars)
client_v2/src/__tests__/components/encryption-tls-cert-section.test.tsx:27private-key-----B…--- (27 chars)
client_v2/src/__tests__/components/encryption-tls-cert-section.test.tsx:81private-key-----B…--- (27 chars)
client_v2/src/__tests__/components/encryption-validate.test.ts:36private-key-----B…--- (27 chars)
client_v2/src/__tests__/components/encryption-validate.test.ts:223private-key-----B…--- (27 chars)
client_v2/src/__tests__/components/encryption-validate.test.ts:249private-key-----B…--- (27 chars)
client_v2/src/__tests__/components/encryption-validate.test.ts:378private-key-----B…--- (27 chars)
client_v2/src/__tests__/components/encryption-validate.test.ts:393private-key-----B…--- (31 chars)
client_v2/src/__tests__/components/tls-setup-wizard.test.tsx:79private-key-----B…--- (27 chars)
client_v2/src/__tests__/components/tls-setup-wizard.test.tsx:403private-key-----B…--- (27 chars)
client_v2/src/components/Encryption/blocks/SetupWizard/pemFields.ts:82private-key-----B…--- (27 chars)
client_v2/src/components/Encryption/validate.ts:43private-key-----B…--- (31 chars)
Installer scripts (1)
  • scripts/install.sh, 603 lines, uses sudo; talks to github.com, raw.githubusercontent.com, serverfault.com, static.adtidy.org
Worst known vulnerabilities (24 of 178)
AdvisorySeverityPackageSummary
GHSA-ghv9-86vm-4v8mcriticalcross-spawn@7.0.6cross-spawn: Command injection on Windows when spawning batch files
GHSA-jqcg-44mw-7w3hcriticalproxy-addr@2.0.7proxy-addr vulnerable to IP spoofing via IPv4-mapped IPv6 trust subnet
GHSA-w7jw-789q-3m8pcriticalshell-quote@1.8.1shell-quote quote() does not escape newlines in object .op values
GHSA-5gmw-xhrv-c9v3criticaltinypool@1.0.2Tinypool: Prototype Pollution gadget in worker options leads to Remote Code Execution
GHSA-85c8-ppgw-ccprcriticaltinypool@1.0.2Tinypool: Prototype Pollution Gadget to RCE in run() options
GHSA-5xrq-8626-4rwpcriticalvitest@3.1.1When Vitest UI server is listening, arbitrary file can be read and executed
GHSA-v36f-rjg3-3v46criticalwebsocket-driver@0.7.4websocket-driver: Message corruption and denial of service triggered by crafted client message
GHSA-xv26-6w52-cph6criticalwebsocket-driver@0.7.4websocket-driver: Message corruption via abuse of protocol length headers
GHSA-p6vx-979v-rg4ccriticalseroval@1.5.4Seroval: `fromJSON()` Promise thenable assimilation invokes plugin-produced callables (bypass of GHSA-mv8w-475r-vwqw)
GHSA-pqg4-j6r4-53mvcriticalshell-quote@1.8.4shell-quote: `quote()` command injection via a line terminator in a token after a `{ comment }` token
GHSA-v36f-rjg3-3v46criticalwebsocket-driver@0.7.5websocket-driver: Message corruption and denial of service triggered by crafted client message
GHSA-fv7c-fp4j-7gwphigh@babel/plugin-transform-modules-systemjs@7.24.1@babel/plugin-transform-modules-systemjs generates arbitrary code when compiling malicious input
GHSA-2883-xcg3-v3hhhighjs-yaml@4.1.1js-yaml: maxTotalMergeKeys does not limit CPU use for empty merge sources
GHSA-52cp-r559-cp3mhighjs-yaml@4.1.1js-yaml: YAML merge-key chains can force quadratic CPU consumption
GHSA-5p4m-2wfm-xmqjhighjs-yaml@4.1.1JS-YAML: Quadratic CPU consumption in !!omap resolution (3.x and 4.x) - CVE-2026-59870 fix not backported
GHSA-3jxr-9vmj-r5cphighbrace-expansion@2.1.0brace-expansion: DoS via exponential-time expansion of consecutive non-expanding {} groups
GHSA-6j4f-fj2g-mc7phighbrace-expansion@2.1.0brace-expansion: DoS via uncontrolled recursion in parseCommaParts causing stack exhaustion
GHSA-mh99-v99m-4gvghighbrace-expansion@2.1.0brace-expansion: DoS via unbounded expansion length causing an out-of-memory process crash
GHSA-qhr7-859c-m2p7highbrace-expansion@2.1.0brace-expansion: DoS via uncontrolled recursion on nested brace groups causing stack exhaustion
GHSA-rgw5-rvv9-x895highbrace-expansion@2.1.0brace-expansion: DoS via unbounded intermediate arrays, bypassing the CVE-2026-14257 mitigation
GHSA-27r3-jxmh-p828highbody-parser@1.20.4body-parser vulnerable to Denial of Service via trailing bytes after a compressed request body
GHSA-3jxr-9vmj-r5cphighbrace-expansion@1.1.14brace-expansion: DoS via exponential-time expansion of consecutive non-expanding {} groups
GHSA-6j4f-fj2g-mc7phighbrace-expansion@1.1.14brace-expansion: DoS via uncontrolled recursion in parseCommaParts causing stack exhaustion
GHSA-mh99-v99m-4gvghighbrace-expansion@1.1.14brace-expansion: DoS via unbounded expansion length causing an out-of-memory process crash

By the numbers

Stars39K
Forks2,646
Contributors106
Commits4,663
Open issues1,145
Open pull requests124
Releases250
Latest releasev1.0.0
LicenceGPL-3.0
Main languageTypeScript
Project age10 years
Last pushDec 1, 2026
Tracked files1,987
Lines of code364.5K
Checkout size16 MB

Lines by language: JSON 115.7K, Go 102.4K, TypeScript 98.4K, CSS 20.2K, YAML 15.7K, Markdown 7,355.

Questions

Is AdGuard Home free?

Yes. It is free and open source under GPL-3.0, with no account and no paid tier. AdGuard sells other products, such as its ad blocker apps and a paid AdGuard DNS plan, but AdGuard Home needs none of them.

AdGuard Home or Pi-hole?

Both block ads by DNS and do it well. AdGuard Home is one program with encrypted DNS, per-device rules and blocked services built in; Pi-hole has a long track record and a big community, and adds encrypted DNS with extra software.

Does AdGuard Home block YouTube ads?

Mostly not. It blocks by domain name, and YouTube serves its ads from the same domains as its videos. A browser ad blocker handles those better.

Does AdGuard Home send my data anywhere?

Not to AdGuard, unless you turn on safe browsing or parental control. Your DNS lookups go to the upstream servers you choose, and it checks AdGuard's server for updates and downloads your filter lists.

What hardware do I need for AdGuard Home?

Very little. A Raspberry Pi, an old laptop, a home server or some routers can run it, on Linux, macOS, Windows or FreeBSD. It must stay on, or devices that use it lose name lookups.


This post is part of GitHub Tools, where every repository is cloned and scanned before it is written up. The scan is a snapshot of one commit on one day; the repository has moved on since, so check it before you install.