GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - TheRealNightmare/nightloom: Self-hosted, open-source OSINT tool that maps public information as an interactive investigation graph with provenance, evidence and an audit trail for every finding.

BranchesTags
Open more actions menu

Latest commit

 

History

189 Commits
189 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
apps
apps
 
 
deploy
deploy
 
 
docs
docs
 
 
packages
packages
 
 
scripts
scripts
 
 
shuttles
shuttles
 
 
.dockerignore
.dockerignore
 
 
.editorconfig
.editorconfig
 
 
.env.example
.env.example
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.node-version
.node-version
 
 
.pre-commit-config.yaml
.pre-commit-config.yaml
 
 
.python-version
.python-version
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
ETHICS.md
ETHICS.md
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
NOTICE
NOTICE
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 
package.json
package.json
 
 
pnpm-lock.yaml
pnpm-lock.yaml
 
 
pnpm-workspace.yaml
pnpm-workspace.yaml
 
 
pyproject.toml
pyproject.toml
 
 
uv.lock
uv.lock
 
 

Repository files navigation

Nightloom

Latest release License: Apache-2.0 CI

Every thread, woven into the full picture.

A Nightloom case graph in the dark theme: knots for domains, IP addresses, netblocks, ASNs, URLs and an organization, joined by threads, with the graph toolbar above and the legend of entity types beside it.

Nightloom is an open-source, self-hosted OSINT tool that collects public information and maps it as an interactive investigation graph. Start from a domain, IP address, organization or other entity, let Nightloom pivot through public data sources, and explore how everything connects — with provenance, evidence and an audit trail for every finding.

Status: 0.4.0. Cases, the investigation graph, twenty-five Shuttles (nineteen passive, four that visit a site where the case allows it, two active on verified targets) covering infrastructure, organizations, breaches, public code and, where a case allows it, people's public profiles, screenshots kept as evidence, Certificate Transparency monitoring, scan profiles, auto-pivot, a result cache, ownership verification, user management, the audit log and production deployment work today; the other planned features do not exist yet. See the changelog and the roadmap.

The interface

The web UI has sign-in, investigation cases (purpose, legal basis, members, activity) with an interactive graph that Shuttles fill with public data, user management and the audit log for admins, and a separate demo graph with fictional example.org data, clearly labelled "Demo data".

Its look is called Loom & thread: calm and crafted, ink and paper with a brass thread. Entities are knots and relationships are threads. Depth comes from fine hairlines and surface steps rather than shadows or glows; headings are set in Fraunces, the interface in Source Sans 3 and keys, IDs and timestamps in JetBrains Mono, all served by Nightloom itself. There is a light and a dark theme: the system setting is followed until you pick one with the toggle in the top bar.

The sign-in page shows a slow 3D loom beside the form: a brass weft passing over and under the warp threads, knots forming where it crosses. It loads only once the form is ready and the browser is idle, never takes focus, and gives way to a still drawing of the same loom with reduced motion, Save-Data, or without WebGL. Every page has its own title ("Cases · Nightloom"), and Nightloom can be installed as an app from the browser (it has a web manifest and icons).

Screenshots

All data in these pictures is fictional (example.org, documentation IP ranges and AS numbers); make screenshots takes them again on a throwaway stack of its own.

The sign-in page in the dark theme: the 3D loom on the left, its brass weft crossing the warp threads with a few colored knots, and the sign-in form on the right. The cases list in the light theme: three cases with their status, legal basis, the user's role and when each was last updated.
Sign-in (dark) Cases (light)
The case graph in the light theme: the same knots and threads on paper-colored ground. The case graph in 3D with depth by time: the oldest entities at the back, the newest in front, above a date ruler.
Graph, 2D (light) Graph, 3D with depth by time (dark)
The Views menu open over the graph, listing three saved views with who saved them and when, and "Save current view…". The Jobs panel above the graph: a finished run of the Parent domains profile on three entities, with its progress bar, above single jobs, each with its duration and counts.
Saved views Jobs, with a profile run
The Verified domains section of a case's settings in the light theme: example.org verified until December 16 with the DNS TXT record to publish shown below it, and example.net not found because the file was missing. The admin Scan profiles page in the dark theme: the four built-in profiles and an admin's Parent domains profile, each with its Shuttles.
Verified domains (light) Scan profiles (dark)
A certificate alert above the graph in the dark theme: example.org has two new certificates and three new names, staging.example.org, vpn.example.org and the lookalike examp1e.org, with Show in graph and Mark seen. A login page selected in the light theme: the side panel shows its screenshot and, under Looks like, the copy of the page on the lookalike examp1e.org.
Certificate monitoring alert (dark) Screenshot and pages that look alike (light)
The organization Example Ltd selected in the light theme: the graph highlights its two GitHub repositories and the three domains it owns, and the side panel shows its LEI record details and Public records links to GLEIF and Wikidata. An exposed secret selected in the dark theme: the graph highlights it next to the repository github.com/example-ltd/shop-api, and the side panel shows its kind, Stripe live secret key, with links to the commit and the line, never the secret itself.
An organization's public records (light) An exposed secret in a repository (dark)

Quick deploy

Each release publishes multi-architecture images (linux/amd64, linux/arm64) to GitHub Container Registry, ghcr.io/therealnightmare/nightloom-backend and ghcr.io/therealnightmare/nightloom-web, so a server only downloads them. On a Linux server with Docker and a DNS name pointing at it:

git clone --branch v0.4.0 https://github.com/TheRealNightmare/nightloom.git && cd nightloom
make secrets ARGS="--domain nightloom.example.org --acme-email [email protected]"
make deploy-pull && make up
make create-admin [email protected] name="Your Name"

docs/DEPLOYMENT.md covers the requirements, HTTPS with Caddy or Cloudflare Tunnel, backups, upgrades and Raspberry Pi hosts. Releases are listed on the releases page and in the changelog.

Quick start (developers)

With uv, Node.js 26 LTS (with Corepack for pnpm) and make installed:

make install       # install the Python dependencies
make web-install   # install the web dependencies (pnpm)
make deps-up       # start PostgreSQL, Valkey and Neo4j (Docker), needed by the tests
make check-all     # lint, type-check and test everything
make api           # run the API at http://127.0.0.1:8000/api/docs
make web-dev       # in a second terminal: the UI at http://127.0.0.1:5173

With Docker and Docker Compose you can run the whole stack (web UI, API, PostgreSQL, Neo4j, Valkey and S3-compatible object storage):

cp .env.example .env   # then change the passwords
make up                # start everything (waits until healthy)
make create-admin [email protected] name="Your Name"   # first admin; prompts for a password

Then open http://127.0.0.1:8080 and sign in with the admin you just created.

To run Nightloom on a server with HTTPS, generated secrets and backups, follow docs/DEPLOYMENT.md.

There is no public sign-up: the first admin is created from the command line, and admins add everyone else on the Users page.

See CONTRIBUTING.md for the full development setup and Running the stack.

Using Nightloom

  1. Sign in at http://127.0.0.1:8080 with an account an admin created for you. The first time, you sign in with the temporary password the admin gave you and must choose your own password (12–128 characters) before anything else opens.
  2. Create a case (admins and analysts): Cases → New case. Every case needs a purpose (30–2,000 characters: why it exists and what question it answers) and a legal basis (owned assets, authorized engagement, threat intelligence, journalism, academic research, self-assessment or other), and you confirm that it follows the ethics policy. An authorized engagement or other basis also needs a note naming the engagement or explaining the basis. Person entities are off by default; turning them on needs a written reason.
  3. Add what you already know. On the case's Graph tab, editors and owners of an open case choose Add entity, pick a type (for example Domain) and type a value. Nightloom stores it in its canonical form, so Example.ORG. and example.org are the same entity. Add relationship connects two entities with one of the relationship types allowed for that pair. Click an entity to see its key, provenance and connections, or delete it. Person-related types (email, person, phone, …) are only available in cases that allow person entities.
  4. Run Shuttles. Shuttles collect for you. Add a domain (say example.org), click it, and under Run Shuttle in the side panel choose Run DNS records. The Jobs panel opens and shows the job queued, then running, then succeeded (or why it failed), with what it created; you can cancel it while it runs. Running a Shuttle again on the same entity soon after reuses its recent results instead of asking the source again (DNS for an hour, crt.sh, RIPEstat and InternetDB for a day, RDAP and the Wayback Machine for a week); such a job says From cache · fetched …, and Run fresh on it (or unticking Use recent results before a run) asks the source again. See The result cache. The graph then reloads with the domain's IP addresses, name servers, mail exchangers and CNAME aliases, highlighted for a moment, and the domain's TXT, SPF, DMARC, SOA and CAA records appear under Properties. The DNS Shuttle only asks public resolvers (Cloudflare and Quad9 by default, NIGHTLOOM_DNS_RESOLVERS), never your server's own, and refuses internal names such as printer.local; see The DNS Shuttle. Run Certificate Transparency (crt.sh) on the same domain adds the subdomains public TLS certificates were issued for and the most recent certificates, with COVERS links to the names they cover; it can take a few minutes for a large domain, and its job shows notes such as how many names it dropped (email addresses, IP addresses, names outside the domain). See The crt.sh Shuttle. Run Registration data (RDAP) adds the domain's registration and expiry dates, status and registrar under Properties, with the registrar (and an organization registrant) linked by REGISTERED_BY; on an IP address it adds the registered network (WITHIN) and the organization that OWNS it. It never keeps people's names, email addresses, phone numbers or postal addresses; see The RDAP Shuttle. Run Routing and ASN (RIPEstat) on an IP address adds the announced prefix that covers it (WITHIN), the ASes that originate it (ANNOUNCED_BY) and the organizations that hold them (OWNS); on an ASN it adds the prefixes it announces. The holder organization is the same node as RDAP's when both name it the same way; see The RIPEstat Shuttle. Run Open ports and exposures (Shodan InternetDB) on a public IPv4 address adds the ports Shodan's scans found open as Services (RUNS_ON), the hostnames it saw as Domains (RESOLVES_TO, rated lower because they may be stale), and the software (CPEs), known vulnerabilities (CVE IDs) and tags under Properties. It reads Shodan's data and never contacts the address. InternetDB is free for non-commercial use only; the Run Shuttle panel shows that condition. See The InternetDB Shuttle. Run Reverse DNS (PTR) on a public address (or a netblock of up to 256 addresses) adds the names its PTR records give as Domains (HAS_PTR); a name that resolves back to the address also gets RESOLVES_TO and a higher rating, and the relationship's note says whether it was forward-confirmed. See The reverse DNS Shuttle.
  5. Narrow the view. Filters (on the graph) keeps only some entities: data sources (added by hand, or each Shuttle by name), sensitivity, when they were seen (last 24 hours, 7 or 30 days, or a range of dates), minimum confidence, minimum Admiralty reliability (A–E) and credibility (1–5), focus (only what is one to three relationships away from the selected entity) and hide isolated entities; the legend shows and hides types. A relationship is drawn only when both its ends are. A line such as Showing 120 of 1,340 entities · 3 filters active has Clear all. Filters are part of the page's address, so a filtered view can be shared as a link and survives a reload. When an entity has more than 25 neighbours of one type that are connected to nothing else (say 312 archived URLs of a domain), they are drawn as one dashed group node (312 URLs); click it to expand it, and Collapse in the side panel folds it again. Search still finds entities inside a group: picking one expands its group and selects it.
  6. Export. Export (on the graph) downloads the case as JSON (everything, with provenance), GraphML (for Gephi, yEd or Cytoscape) or CSV (a ZIP with entities.csv, relationships.csv and a README). Any member may export. Person-related data is redacted by default: people, email addresses and the other person-related types keep their type, but their values become [redacted] and their keys pseudonyms that still connect their relationships. Case owners can include person-related data by giving a reason, which is recorded in the case's activity. Exports are limited to 100,000 entities and to 10 per user every 10 minutes; see Exports.
  7. Work in the case. Owners add colleagues by email as owner, editor or viewer (Members), editors and owners see who did what (Activity), and owners change the purpose or legal basis (which asks for a reason) and close, archive or delete the case (Settings).

Scan profiles and auto-pivot

Run a profile (above Run a Shuttle in the side panel, or after selecting several entities with Ctrl/⌘+click or Shift+drag) runs several Shuttles on up to 25 entities at once: Quick domain recon, Deep domain recon, IP / network context, Exposure check, or a profile an admin added on the Profiles page. The run queues its jobs a few at a time, within your limit of five, and the Jobs panel shows its progress (7 of 12 done · 2 running · 3 waiting), its jobs and Cancel run. See Scan profiles and runs.

Where a case owner has turned on Allow auto-pivot in the case's Settings, Pivot from here next to Run on … runs the profile, then runs it again on the domains, addresses and other infrastructure it finds: up to 2 hops, 200 jobs and 500 new entities, never through people or organizations. The Jobs panel shows how many new entities it found and which hop it reached. See Auto-pivot.

Verified domains and active Shuttles

Passive Shuttles only ask third parties. Active Shuttles touch the target itself, so they run only on what a case has proven it controls. A case owner adds a domain in Settings → Verified domains, publishes the proof Nightloom gives (a DNS TXT record at _nightloom-challenge.<domain>, or a file at https://<domain>/.well-known/nightloom-verification.txt) and clicks Check now. A verified domain covers its subdomains and the addresses it resolves to for 30 days; Nightloom checks the proof again every day and revokes the verification if it disappears. See Ownership verification.

Certificate monitoring. In Settings → Certificate monitoring a case owner watches domains of the graph. Every hour Nightloom runs a crt.sh job for each (in that owner's name, without the cache); new certificates and names are added to the graph and shown as an alert on the Graph tab, where Show in graph highlights them and editors and owners mark them seen. The first check only records what exists. See Certificate Transparency monitoring.

On a verified domain, Run Web server headers and TLS records which security headers the site sends, its server software, TLS version and certificate; on one of its addresses, Run Common open ports tries 20 common TCP ports, four at a time, and adds the open ones as Services. Neither sends more than a browser opening the site would, or more than a connect-and-close. See The active Shuttles.

Saved views

A saved view is a named snapshot of how a case's graph looks: the camera (position, zoom and rotation), the filters, the expanded groups and the pinned entities. Views on the graph toolbar (or V with the graph focused) lists the case's views with who saved them and when; Apply shows one. Applying replaces your own pins with the view's (they become your layout), sets its filters and moves the camera there; Undo in the message that follows brings back what you had. Entities the case no longer has are skipped.

Editors and owners of an open case save the current view (Save current view…, a name of up to 80 characters, unique in the case) and a view's creator or an owner can Update with current view, Rename or Delete it from its ⋯ menu. Copy link copies an address that opens the case graph with the view applied (…/graph?view=<id>); it works for every member of the case, viewers included. A case has at most 50 views.

Only members can see a case, admins included. The rules are described in Cases.

Graph controls

Drag an entity to move it: it stays pinned where you drop it (a thin brass ring and a pin by its label), and the automatic layout leaves it there. Your pins are saved for you alone, per case, so viewers can arrange their own view too, also in closed and archived cases. Unpin from the side panel, the entity's menu (right-click or long press) or View → Unpin all; the entity then glides back into the layout. Long labels are shortened on the canvas only (a certificate shows its subject's common name, or c73e72dd…41a3); the side panel and the search use the full value.

To Mouse Trackpad Touch Keyboard (graph focused)
Select an entity click click tap Tab to it, Enter
Add to / remove from the selection Ctrl/⌘+click Ctrl/⌘+click
Select everything in a rectangle Shift+drag on empty space Shift+drag
Move an entity (and pin it) drag it; dragging a selected entity moves the whole selection drag it drag it P to pin, then Shift+arrows (10 px)
Pin or unpin side panel, or right-click → Pin / Unpin side panel long press → Pin / Unpin P
Pan drag empty space two-finger scroll one-finger drag arrow keys
Zoom (toward the pointer) wheel pinch pinch + / −
Rotate Alt+drag or right-drag on empty space; ⟲ / ⟳ buttons (15°) Option+drag (macOS); twist (Safari) two-finger twist Q / E (15°)
Reset zoom, position and rotation Reset view button Reset view Reset view 0
Leave the entity, then clear the selection click empty space tap empty space Esc
Entity menu (pin, select neighbours, hide its type) right-click two-finger click long press
Saved views of the case Views button V
All shortcuts ? button ?

A trackpad's two-finger scroll pans and a mouse wheel zooms. Browsers do not say which device sent a scroll, so Nightloom guesses from the scroll's shape; if it guesses wrong for your device, choose View → Scroll wheel → Zoom or Pan. View → Minimap shows an overview in the bottom-right corner (on by default above 60 entities): click or drag in it to move there. Keyboard focus moves through the entities in reading order (top-left to bottom-right) and a screen reader hears each one ("Domain www.example.org, 3 neighbours, pinned"); Tab past the last one leaves the graph.

The 3D view

3D on the graph toolbar shows the same graph in space: the same layout, pins, selection, filters and groups, so switching back and forth keeps your place (the camera looks at the same area). The choice is part of the page's address (?mode=3d) and remembered in your browser. Knots and threads keep their 2D look; labels are shown for the hovered, selected and focused entities and for the best-connected ones on screen.

Depth (next to the switch) chooses what the third axis shows:

  • Time (the default): when each entity was first seen, oldest at the back. Entities without a first-seen date sit on a separate Undated plane in front. A ruler along the depth axis shows the dates.
  • Type: one layer per entity type, in the legend's order, named on the ruler.
  • Flat: no depth: the 2D picture in space.

Changing the depth glides the entities to their new places (at once with reduced motion). Dragging an entity in 3D moves it on the plane facing you and pins it, through the same pins as 2D; its depth always follows the depth mode.

To Mouse Trackpad Touch Keyboard (graph focused)
Select an entity click click tap Tab to it (nearest first), Enter
Fly to an entity double-click double-click Enter (also selects it)
Add to / remove from the selection Ctrl/⌘+click Ctrl/⌘+click
Select everything in a rectangle Shift+drag Shift+drag
Move an entity (and pin it) drag it (a selected one moves the selection) drag it drag it
Pin or unpin side panel, or right-click → Pin / Unpin side panel long press P
Orbit around the graph drag empty space drag one-finger drag arrow keys (10°)
Pan right-drag two-finger scroll two-finger drag Shift+arrows
Zoom (toward the pointer) wheel pinch pinch + / −
Turn around the vertical axis ⟲ / ⟳ buttons (15°) Q / E (15°)
Frame the whole graph Reset view button 0
Entity menu, saved views, shortcuts right-click; Views; ? long press V; ?

View → Scroll wheel and View → Minimap work in 3D too; the minimap shows the graph from the top with the camera's view as a brass outline. The 3D view needs WebGL 2; where it is not available (or the graphics driver resets it) the graph is shown in 2D with a short notice, and 3D comes back by itself once WebGL is restored. Saved views remember 2D or 3D, the 3D camera and the depth.

Managing users (admins). Users in the top bar lists every account with its role, status, last sign-in and creation date, with a search and role and status filters. New user asks for an email, a display name and a role (admin, analyst or viewer); Nightloom generates a temporary password and shows it once, with a copy button. Pass it on through a secure channel (not the same email or chat as the address); the user must replace it when they first sign in. On each row you can change the role, deactivate or reactivate the account (deactivating signs the user out everywhere; nobody can remove the last active admin or their own admin role), sign the user out everywhere (Revoke sessions), or Reset password, which ends all their sessions and shows a new temporary password once. You change your own password from the account menu instead. Audit log in the top bar shows every recorded action, newest first, filtered by action, outcome, actor, case ID or dates (UTC); Details shows an event's full record, and Verify chain checks that no event was changed or removed. See Authentication and Audit log.

Available Shuttles

Shuttle Input What it does
registrable-domain Domain Links a subdomain to its registrable domain (www.shop.example.co.uk → example.co.uk) using the bundled Public Suffix List; no network.
dns Domain Looks up the domain's public DNS records (A, AAAA, CNAME, MX, NS, TXT, SOA, CAA, DMARC) through public resolvers only.
crtsh Domain Finds subdomains and recent TLS certificates in Certificate Transparency logs via crt.sh (no API key); drops names outside the domain, email addresses and IP addresses.
rdap Domain, IP address, Netblock, ASN Looks up public registration data (RDAP) at the responsible registry, found through IANA's bootstrap registries (no API key): a domain's dates, status, registrar, organization registrant and name servers; an address's or netblock's registered network and owner; an ASN's registration and owner. Keeps only organization names, never contact details.
ripestat IP address, Netblock, ASN Looks up routing data in the RIPE NCC's RIPEstat (no API key): the announced prefix covering an address and its origin ASes; whether a netblock is announced, by whom, and the covering prefix; an ASN's holder and the prefixes it announces (at most 500). AS holders become Organizations.
internetdb IP address (public IPv4) Looks up what Shodan's scans saw on the address in Shodan's InternetDB (no API key): open ports as Services, hostnames as Domains, and CPEs, CVE IDs and tags as properties. Never contacts the address. Free for non-commercial use only; a paid product built on this data needs a Shodan license.
gleif Organization Looks up the organization's Legal Entity Identifier (LEI) record at GLEIF (no API key; CC0 data) by its exact legal name, an LEI given as its name, or its lei property: the LEI, legal name, jurisdiction, legal form, register number, statuses and country, plus the parent companies and direct subsidiaries reported to GLEIF, linked with SUBSIDIARY_OF. Adds nothing when a name matches several companies (the job note lists their LEIs), and never keeps a sole proprietor's (a person's) record or any street address. The side panel links to the record at GLEIF.
wikidata Organization, Domain Looks organizations up in Wikidata (no API key; CC0 data). For an organization (by its exact English name or alias, an item ID such as Q95 as its name, or its wikidata_id or lei property): its official websites as Domains it OWNS, its country, LEI and industry, and its parent organizations and subsidiaries with SUBSIDIARY_OF. For a domain: the organizations whose official website it is. Adds nothing for an ambiguous name, and never keeps items that are people.
github-repos Organization Finds the organization's GitHub account (its github_login property, or a search for its name or login) and adds its public repositories, most recently pushed first, with description, language, topics, license, stars and dates (HAS_REPOSITORY), and the website on its profile (OWNS). An ambiguous name adds nothing. Works without a token; an optional NIGHTLOOM_GITHUB_TOKEN raises GitHub's limit.
github-commits Repository Reads the latest 100 commits of a public GitHub repository and adds their authors: GitHub accounts as Usernames and commit email addresses as Emails, CONTRIBUTED_TO the repository, and USES_EMAIL where GitHub linked them. Leaves out bots and no-reply addresses; never reads names, messages or code. Person-related: runs only in cases that allow it.
github-secrets Repository Scans the lines a public GitHub repository's latest commits added (10, or 30 with a token) for likely secrets in precise formats (cloud, service and API keys, tokens, unencrypted private keys) and adds each as an exposed secret: repository, commit, file and line, with links. Never keeps the secret and never tests it.
github-user Username Reads a username's public GitHub profile: display name, company, website, creation date and counts, as a SocialProfile (HAS_PROFILE). Never keeps the photo, location, bio or email address; a username without a platform is linked with a low rating, since the account may be someone else's. Person-related.
gravatar Email Looks up an email address's public Gravatar profile (sending only its SHA-256 hash): display name, job title and company, and the accounts its owner verified on Gravatar (LINKED_ACCOUNT). Never keeps the photo, location or description. Person-related.
username-presence Username Asks twelve platforms (GitHub, GitLab, Codeberg, Hacker News, Docker Hub, npm, PyPI, DEV, Lobsters, Keybase, Chess.com, Lichess) whether an account with the name exists, and adds each one found as a SocialProfile (HAS_PROFILE) rated C4: a lead, since the same name is often someone else. Reads only whether the account exists. Person-related.
hibp-breaches Domain Lists the published data breaches of the site from Have I Been Pwned's public breach list (no key; CC BY 4.0 data): name, date, number of accounts, kinds of data and whether HIBP verified it, as Breaches linked with BREACH_OF. Metadata only.
hibp-account Email Lists the published breaches an email address is in, from Have I Been Pwned with the operator's paid API key (NIGHTLOOM_HIBP_API_KEY, see DEPLOYMENT), linked with EXPOSED_IN. Leaves out sensitive breaches; metadata only. Person-related: runs only in cases that allow it.
reverse-dns IP address, Netblock (up to 256 addresses) Looks up the PTR (reverse DNS) names of a public address, or of every address in a netblock of at most 256 addresses (IPv4 /24, IPv6 /120), through the same public resolvers as dns. Each name is checked against forward DNS: one that resolves back to the address gets RESOLVES_TO and a higher rating; one that does not is kept lower-rated with a note, since anyone controlling the reverse zone can set any name. Private addresses are skipped.
typosquats Domain Makes up to 500 lookalikes of the domain (typos, neighbouring keys, swapped letters, lookalike characters such as 1 for l or Cyrillic letters, other suffixes) and asks the same public resolvers as dns which are registered (one NS query each). Registered ones become Domains linked with LOOKALIKE_OF, the kind of change in the note. Never contacts the domain or the lookalikes, and never runs in an auto-pivot.
http-headers Domain (verified) Active. Opens https://<domain>/ (same-host redirects only) and http://<domain>/, headers only: the status, which security headers are sent or missing, Server and X-Powered-By, HSTS, the TLS version and certificate, and the address and service that answered.
port-check IP address (verified) Active. Tries a plain TCP connection to 20 common ports, four at a time, closing each at once without sending anything; open ports become Services.
site-files Domain (website visits) Visits the site. Reads robots.txt, security.txt and the sitemap (at most four requests): the paths and pages they list become URLs, and the domain records whether a security.txt exists, its expiry and which kinds of contact it gives (never the contacts).
web-tech Domain (website visits) Visits the site. Opens the home page once and recognizes its software (web server, CMS, frameworks, analytics) from headers, cookie names, the generator tag and markers in the page; records the title and the analytics IDs it embeds.
favicon Domain (website visits) Visits the site. Finds the icon the home page declares (or /favicon.ico), at most three requests, and adds it as a Favicon named by its MurmurHash3, the hash Shodan and FOFA search for; sites that serve the same icon meet on one node, and the side panel links to the same search on Shodan, FOFA and Censys.
screenshot Domain, URL (website visits) Visits the site in Nightloom's sandboxed browser (the optional browser service, make up SCREENSHOTS=1), which has no network of its own: every request the page makes goes through the same checks as other Shuttles. Keeps a screenshot with the case and a perceptual hash; the side panel shows the picture and the case's pages that look alike (a copied login page, a staging site).
wayback Domain Lists the pages of the domain and its subdomains that the Internet Archive's Wayback Machine has captured (no API key): URLs with their first capture, last status and a link to the archived copy, and the subdomains that host them. Never contacts the domain. Leaves out other domains and static assets, removes query strings (keeping only parameter names) and drops addresses containing an email address.

Nineteen are passive: they ask third parties and never contact the target (typosquats, gleif, wikidata, gravatar, username-presence, the four GitHub and the two HIBP Shuttles never run in an auto-pivot: the first would check every lookalike's own lookalikes, and auto-pivots never follow organizations). site-files, web-tech, favicon and screenshot visit the site's public pages like a browser, so they run where a case owner has turned on Allow website visits (or on verified domains); they can be in scan profiles but never in auto-pivots. http-headers and port-check are active and run only on targets the case has verified, one at a time (never in scan profiles or auto-pivots), and their results are never cached. rdap, ripestat, gleif, wikidata, github-repos, github-secrets and hibp-breaches have the organization sensitivity. github-commits, github-user, gravatar, hibp-account and username-presence are person-related: they run only in cases whose owner turned on Allow person entities. The others are infrastructure-only. make shuttles lists what is installed.

Planned features

  • Graph investigations — entities and relationships stored in Neo4j and explored in a React + Sigma.js graph UI.
  • Shuttles — a plugin system; each Shuttle queries one data source and turns results into entities and links.
  • Timeline, change diffs and scheduled monitoring — see what changed and when.
  • AI analyst — bring your own API key for any provider via LiteLLM. Keys belong to each user only; local models via Ollama are supported.
  • Ariadne's Thread — find how two entities are connected.
  • Evidence capture — stored artifacts with cryptographic hashes.
  • Patterns — reusable investigation playbooks.
  • Import/export — STIX 2.1, GraphML, MISP, PDF.

Tech stack

Layer Technology
API Python 3.12, FastAPI
Background jobs Celery + Valkey (Redis-compatible)
Graph store Neo4j
Relational store PostgreSQL (users, cases, jobs, audit log)
Evidence files S3-compatible object storage (SeaweedFS by default)
Web UI React, Vite, TypeScript, Sigma.js, three.js (3D view)
Self-hosting Docker Compose

Repository layout

apps/
  api/        FastAPI backend
  worker/     Celery workers
  web/        React frontend
packages/
  core/       Entity model, normalization, relationship rules
  sdk/        Shuttle SDK
shuttles/     Built-in Shuttles (plugins), one package each
deploy/       Docker Compose stack
docs/         Documentation

Documentation

  • Deployment
  • Changelog
  • Releasing
  • Architecture
  • Roadmap
  • Ethics and acceptable use
  • Contributing
  • Security policy
  • Code of conduct

Responsible use

Nightloom is for lawful investigation of public information — security research, attack-surface management, journalism and education. It must not be used for stalking, harassment, doxxing or bypassing access controls. Read ETHICS.md before using or contributing.

License

Licensed under the Apache License, Version 2.0. See NOTICE.

About

Self-hosted, open-source OSINT tool that maps public information as an interactive investigation graph with provenance, evidence and an audit trail for every finding.

Topics

attack-surface-managementcertificate-transparencycybersecuritydockerfastapigraph-visualizationinfosecinvestigationlink-analysisneo4jopen-source-intelligenceosintpythonreactreconnaissancesecurity-toolsself-hostedthreat-intelligencetypescripttyposquatting

Resources

Readme
Apache-2.0 license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity

Stars

13 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.