Skip to main content

N0RMA

Home counter-surveillance detector for Linux (BlueZ + NetworkManager + iw). Detect-only: no jamming, no spoofing. Run: ./n0rma.sh setup once, then ./n0rma.sh run -> http://127.0.0.1:8777

dashboard with made-up demo data

What's new in 0.5

  • Smart tab on the dashboard: nearby gadgets grouped by maker (Amazon, Google, Samsung, cameras, plugs) from their network and Bluetooth names, a privacy checklist (Amazon Sidewalk, Ring/Alexa accounts, microphones, router), and a link that opens the community DeFlock license-plate-camera map (maps.deflock.org) in your browser. n0rma smart prints the same checklist. Names are hints, not proof.
  • Physical inspection: n0rma inspect <room> is a tick-off checklist (ceiling fittings, outlets, objects facing the bed, lens-glint and infrared checks, mirrors, router device list; bedroom/bathroom/rental extras and a car list). Most real finds are physical.
  • Sweep report: n0rma sweep-report -o report.txt is a TSCM-style report: which areas you inspected, every item NOT checked, what was flagged, and the methods a computer cannot perform (non-linear junction detection, wideband RF, thermal imaging, wired/cellular checks). It never says a place is "clear", and it uses the same tamper-evident hash chain (n0rma evidence --verify report.txt).

What's new in 0.4

  • Evidence report: n0rma evidence -o report.txt writes a plain-text, tamper-evident report of everything flagged (30 days by default) for police or an advocate. Every log line is hash-chained to the one before it; check a saved file with n0rma evidence --verify report.txt. Send the final CHAIN END line to someone you trust right away. The Android app makes the same format, and each can verify the other's reports.
  • Device names: the dashboard and n0rma devices show a name for each device (router DNS or mDNS), and you can set your own: n0rma name <mac> Alex iPhone.
  • Dashboard tabs (Status / Nearby / Radar / History), "this is my network" and "I know this device" buttons, and fewer false alerts for virtual bridges and loopback addresses.
  • The command is n0rma and the PyPI package is n0rma-sec.

What was new in 0.2

  • Dark, muted, low-glare dashboard (no flashing alerts; every status is word + icon + color) with a Night switch (dim red on black)
  • A plain-language banner ("All clear" / "Keeping an eye on something" / "Needs your attention") with a breathing dot and live scan ages, so you can see it is working
  • "This is mine" on trackers: your own Tile/AirTag stops flagging and shows as yours
  • Sister project: n0rma-android (public, with signed APKs on its Releases page) - same detection on a phone, with tap-to-find, room sweeps and survey exports

Install

pip install n0rma-sec (the command it installs is n0rma) (or from source below). System packages are still needed: sudo apt install ieee-data nmap iw network-manager bluez (the vendor database from ieee-data/nmap is required for camera/drone vendor detection - N0RMA warns at startup if it is missing), then python3 -m venv .venv --system-site-packages && .venv/bin/pip install bleak. Optional RF module: sudo apt install rtl-sdr + an RTL-SDR dongle (24 MHz-1.7 GHz only; not 2.4/5.8 GHz).

Commands

Command What
setup first-run walkthrough: your Wi-Fi, home position, which devices are yours
run [--lan] all detectors + dashboard (type b+Enter to log a sensor beep)
scan one-shot scan
beep [--ago MIN] / report log sensor beeps / line them up against detections (with background baseline)
devices / trust all|<mac> LAN inventory; the first scan auto-trusts everything - review it
find <BLE addr> hot/cold locator
inspect <room> [--tick id ...] physical-inspection checklist for a room
sweep-report [-o file] TSCM-style report (what was and was NOT checked + everything flagged)
smart smart-device privacy checklist and the DeFlock map link
home <lat> <lon> home position for the drone map (west longitude is negative)
ntfy setup|test|on|off phone alerts (generic text only, via ntfy.sh)
selftest unit tests

Read this first

  • This is not a guarantee of safety. A quiet dashboard means "nothing seen by these radios", not "nothing is there". Blind spots: drones without Remote ID, SD-card-only cameras, cellular/GPS trackers, anything on 2.4/5.8 GHz video.
  • Remote ID is unauthenticated. Anyone can broadcast a fake one, so a red drone alert means a broadcast claims a drone. Position and operator location are whatever the sender says. Operator coordinates are shown live and are never written to disk; events are pruned after 30 days.
  • Do not interfere with a drone (shooting at, jamming or spoofing one is a federal crime). Report it to law enforcement or the FAA.
  • The radar is a rough estimate. Signal strength gives only a crude distance, badly distorted indoors, and no direction.
  • If you find something: don't touch or move it, photograph it where it is, note the time, and contact local law enforcement. A tracker you don't own: Apple/Android show unknown-tracker alerts and can help identify it.
  • --lan is plain HTTP. Anyone sniffing your Wi-Fi can see the private link/token. Use it only on a network you trust. Localhost mode only accepts Host: 127.0.0.1/localhost (blocks DNS rebinding) and state-changing requests need an X-N0rma header.
  • Your Wi-Fi name, home position, tokens and the ntfy topic live in ~/.local/share/n0rma/config.json (mode 600), never in the code.

Dashboard themes

The browser dashboard opens in a calm grey/white theme: a plain-words status banner, three cards (active scans, unresolved items, evidence), an Info / Suspect / Alert event timeline where each flagged event can be marked resolved (own device, false alarm), quick actions (export evidence, rebaseline, settings, safety checklist) and the tamper-evident evidence export. Pick Night vision (dim red on black), Executive (a streamlined slate look: one headline, the three items that need a decision, a few links) or Classic (the original DEFCON / Matrix look) from the menu at the top right, or open /?theme=classic.

Rebaseline (dashboard button, or n0rma rebaseline for the host part): once everything looks normal, lock in the network devices, listening ports and USB devices seen right now. Anything new after that is flagged. Camera-like devices are never locked in automatically: a camera on the network right now may be the thing you are looking for, so it stays flagged until you decide about it.

Hidden-mic sweep (RTL-SDR)

A microphone is silent, so this looks for the transmitter that would carry its audio. Needs sudo apt install rtl-sdr and a dongle (RTL-SDR Blog V3 recommended).

n0rma mic-sweep baseline          # quiet house, your own gear on: remembers steady carriers as normal
n0rma mic-sweep scan              # flags steady narrowband carriers NOT in the baseline (WATCH only)
n0rma mic-sweep tone 433.920      # plays random tone patterns in the room; ALERT only if they come back

How it avoids false alarms: fixed manual gain (stored with the baseline), a lower bar for recording baseline carriers than for flagging new ones, a fresh random on/off pattern each test with a shuffle test for chance, and control measurements (an empty nearby frequency and a nearby real carrier). If a control also "hears" the tone the result is coupling, never an alert. A confirmed tone means that frequency carries this room's audio (it could be your own baby monitor), not who put it there.

A clean result does not prove a room is free of bugs: recorders that don't transmit, wired mics, GSM/LTE/DECT/digital or burst transmitters and anything above ~1.3 GHz are invisible to this.

Metadata

Release files for n0rma-sec 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for n0rma-sec 0.5.0
File Size Uploaded Provenance Actions
n0rma_sec-0.5.0.tar.gz 95.8 kB With provenance Details for n0rma_sec-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for n0rma-sec 0.5.0
File Interpreter ABI Platform Actions
n0rma_sec-0.5.0-py3-none-any.whl Python 3 none any Details for n0rma_sec-0.5.0-py3-none-any.whl

Total release size: 180.4 kB

Release files / n0rma_sec-0.5.0.tar.gz

Download URL n0rma_sec-0.5.0.tar.gz
Size 95.8 kB
Tags Source
SHA-256 checksum
How to use checksums
09d84c3e22ca2027b34aae194121ec3e636e3a702ae1cee8d0c864d7575e534e
BLAKE2b-256 checksum
How to use checksums
f56955cdc8463a457116c47c1ce3a1fb28540d255b56b64d9cb7f9ad4d1316ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

Release files / n0rma_sec-0.5.0-py3-none-any.whl

Download URL n0rma_sec-0.5.0-py3-none-any.whl
Size 84.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
71b97bee5297daa59486db9631e4f4713f12c25c211957dc4508a20677322597
BLAKE2b-256 checksum
How to use checksums
5ad87e752c660be0b530d981c8193e6ce3fda3606c421da1cc22421ee0ad3c14
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

Security for n0rma-sec 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for n0rma_sec-0.5.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page