Skip to content

Releases

Nightloom 0.4.0

Choose a tag to compare

@github-actions github-actions released this 26 Nov 15:05
f0e25f5

Organizations, people, leaks and code. Ten new Shuttles look up a company's legal records at GLEIF and its facts on Wikidata, list the breaches of a site or an email address from Have I Been Pwned, find an organization's public GitHub repositories, their commit authors and the secrets their history exposes, and read the public profiles behind a username or an email address. Everything about people is opt-in per case and never followed by auto-pivot; breach and code Shuttles keep metadata and locations, never passwords or secret values.

Added

Organizations

  • Legal entity records: the Legal entity record (GLEIF) Shuttle (gleif, in the new shuttles/gleif package, passive) looks up an organization's Legal Entity Identifier at GLEIF (free, no API key, CC0 data) by its exact legal name, an LEI given as its name, or its lei property. It adds the LEI, legal name, jurisdiction, legal form, business register number, entity and LEI status and country to the organization, and the parent companies and direct subsidiaries (at most 50) reported to GLEIF. A name that matches several companies adds nothing; the job note lists their LEIs. It never keeps a sole proprietor's (a person's) record or any street address, and never runs in an auto-pivot.
  • Relationship type SUBSIDIARY_OF (Organization → Organization: the source is owned by the target; the note says direct or ultimate parent).
  • Organization properties lei, legal_name, jurisdiction, legal_form, registered_as, entity_status, lei_status and gleif_checked_at.
  • Organization facts: the Organization facts (Wikidata) Shuttle (wikidata, in the new shuttles/wikidata package, passive) reads Wikidata (free, no key, CC0). For an organization, found by its exact English name or alias, an item ID 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. An ambiguous name adds nothing (the note lists the item IDs), items that are people are never kept, and it never runs in an auto-pivot.
  • Organization properties wikidata_id and wikidata_checked_at.
  • The side panel's Public records links an organization to its LEI record on GLEIF's search site and to its Wikidata item.

Breaches

  • Breaches: the new shuttles/hibp package, breach metadata from Have I Been Pwned (CC BY 4.0), never passwords or leaked records. Breaches of a site (hibp-breaches, Domain, no key) lists a site's breaches from HIBP's public list; Breaches of an email address (hibp-account, Email, person-related) lists the breaches an address is in, with the operator's paid HIBP key in NIGHTLOOM_HIBP_API_KEY, and leaves out sensitive breaches. Neither runs in an auto-pivot.
  • Relationship types BREACH_OF (Breach → Domain) and EXPOSED_IN (Email → Breach); Breach properties title, added_at, verified, fabricated, spam_list and malware.

Code intelligence

  • Code intelligence: the Repositories of an organization (GitHub) Shuttle (github-repos, in the new shuttles/github package, passive) finds an organization's GitHub account (its github_login property, or a search for its name) and adds its public repositories (at most 100) with HAS_REPOSITORY, and its profile's website with OWNS. An ambiguous name adds nothing; private repositories, the account's email address and location are never kept. It works without a token (60 requests an hour); the operator can set NIGHTLOOM_GITHUB_TOKEN for more.
  • Entity type repository (a public repository on GitHub, GitLab, Codeberg or Bitbucket, named github.com/<owner>/<name>), relationship type HAS_REPOSITORY (Organization → Repository), and organization properties github_login and github_checked_at.
  • Commit authors: the Commit authors of a repository (GitHub) Shuttle (github-commits, person-related, passive) reads the latest 100 commits of a public GitHub repository and adds their GitHub accounts (Usernames) and commit email addresses (Emails), CONTRIBUTED_TO the repository, and USES_EMAIL where GitHub linked an address to an account. Bots and no-reply addresses are left out; author names, messages and code are never read. It runs only in cases that allow person-related entities, never in an auto-pivot.
  • Relationship types CONTRIBUTED_TO (Username or Email → Repository) and USES_EMAIL (Username → Email).
  • Exposed secrets: the Exposed secrets in a repository (GitHub) Shuttle (github-secrets, passive) scans the lines a public GitHub repository's latest commits added (10, or 30 with NIGHTLOOM_GITHUB_TOKEN) for likely secrets in precise formats (AWS, GitHub, GitLab, Slack, Stripe, Google, SendGrid, npm, OpenAI and Anthropic keys and tokens, unencrypted private keys). Each becomes an exposed secret located by repository, commit, file and line, with links to the commit and the line. The secret itself is never kept, in any form, and never tested.
  • Entity type secret_exposure (Exposed secret: <repository>@<commit>/<path>#L<line>, with kind, commit_url, file_url, committed_at) and relationship type HAS_EXPOSURE (Repository → SecretExposure).

People

Person-related Shuttles run only in cases whose owner allowed person-related entities (with a recorded reason), never in an auto-pivot, and keep no photos or locations.

  • Public profiles, both person-related (they run only in cases that allow it, never in an auto-pivot): Public profile of a username (GitHub) (github-user) reads a username's GitHub profile (display name, company, website, creation date, counts) as a SocialProfile; Public profile of an email address (Gravatar) (gravatar, new shuttles/gravatar package) looks an address up by its SHA-256 hash and adds its profile and the accounts its owner verified there. Neither keeps photos, locations, bios or descriptions.
  • Relationship types HAS_PROFILE (Username or Email → SocialProfile) and LINKED_ACCOUNT (SocialProfile → SocialProfile); SocialProfile properties display_name, company, job_title, website, created_at, followers and public_repos.
  • Username presence: the Username on other platforms Shuttle (username-presence, new shuttles/usernames package, person-related, passive) asks twelve platforms with clear existence checks (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 rated C4, with a note that the same name is not proof of the same person. Only existence is read. It runs only in cases that allow person-related entities, never in an auto-pivot.

Changed

  • The worker reads two new optional settings, NIGHTLOOM_HIBP_API_KEY and NIGHTLOOM_GITHUB_TOKEN, passed to it by deploy/compose.yaml. A malformed value stops the worker at start with a message naming the variable; neither is ever stored with a case, logged or shown.
  • Two new entity types, repository and secret_exposure, and nine new relationship types (SUBSIDIARY_OF, BREACH_OF, EXPOSED_IN, HAS_REPOSITORY, CONTRIBUTED_TO, USES_EMAIL, HAS_EXPOSURE, HAS_PROFILE, LINKED_ACCOUNT) appear in GET /schema and in the graph's menus for adding entities and relationships.

Fixed

  • The graph's first view is framed again once the saved pins have loaded and the first layout has settled, if the camera was not moved meanwhile: before, it kept the framing of the nodes' earlier places, so part of the graph could sit under the toolbar or the legend.
  • Picking an entity in the graph's search puts it in the middle of the space the legend and controls leave free, no longer just above the legend.

Upgrading from 0.3.0

  • No migrations: the new types and properties need nothing in PostgreSQL or Neo4j. Back up first, as always (Upgrades).
  • Optional: set NIGHTLOOM_HIBP_API_KEY in .env for Breaches of an email address (Breaches of an email address), and NIGHTLOOM_GITHUB_TOKEN for more than 60 GitHub requests an hour (GitHub token). Without them those Shuttles fail with a note (HIBP) or work more slowly (GitHub); nothing else changes.
  • The person-related Shuttles stay unavailable in existing cases until an owner turns on Allow person entities in the case's Settings (the reason is recorded in the case activity).

Known limitations

  • Code intelligence covers GitHub only; Repository entities from GitLab, Codeberg or Bitbucket can be added by hand but no Shuttle reads them yet. Commit authors read the latest 100 commits, exposed secrets the latest 10 (30 with a token): older history is not searched.
  • Secret detection matches precise key formats only, so generic passwords, high-entropy strings and keys of other services are missed, and a secret already removed in a later commit is still reported (the commit link shows where it was added).
  • Username presence asks a fixed list of twelve platforms and only says that an account with the name exists, never that it belongs to the same person.
  • GLEIF and Wikidata add data only for an exact name match; a company known by another name needs its LEI or Wikidata item ID.
  • Single-node deployment only (one host running the whole Compose stack).

Images

Multi-architecture (linux/amd64, linux/arm64), with SBOM and build provenance attestations.

Image Tags Digest
ghcr.io/therealnightmare/nightloom-backend 0.4.0, 0.4, latest sha256:c013ac7b7fe79a951ab8519ac6990cdcc1d1fc267968b1d35c0503668bc4b8b1
ghcr.io/therealnightmare/nightloom-web 0.4.0, 0.4, latest sha256:257c63ca665cbb94b71464473675359b9bb94ec94b5e8e8cf0d5b764c0d136c7
Read more

Nightloom 0.3.0

Choose a tag to compare

@github-actions github-actions released this 23 Nov 08:53
fdefc2f

Web reconnaissance and monitoring. Shuttles may now visit a site the way a browser does where the case allows it, and four new ones read its public files, recognize its software, hash its favicon and take its screenshot, kept with the case as evidence. Lookalike domains are found by generating typosquats, and case owners can watch domains in Certificate Transparency logs and get alerts when new certificates appear.

Added

Website visits and web Shuttles

  • Website visits: a new Shuttle mode, visit, for Shuttles that read a site's own public pages like a browser. They run where a case owner turns on Allow website visits in the case's Settings (allow_site_visits, off by default; migration 0013_site_visits), or on verified domains; elsewhere they get 403 with site_visits_disabled. They may be in scan profiles (planned only where the case allows visits) but never in auto-pivots.
  • Two Shuttles that visit the site (shuttles/web): Site files (site-files) reads robots.txt, security.txt and the sitemap, adds the paths and pages they list as URLs and records whether a security.txt exists, its expiry and its kinds of contact; Web technologies (web-tech) recognizes the software behind the home page (server, CMS, frameworks, analytics) and records its title and embedded analytics IDs. New Domain properties for both.
  • Favicon hash: a new entity type, Favicon, named by the icon's MurmurHash3 in Shodan's form (http.favicon.hash; an unsigned spelling is accepted too), with sha256, md5, mime_type and size_bytes, and a new relationship, HAS_FAVICON (Domain or URL → Favicon). The Favicon hash Shuttle (favicon, visits the site, at most three requests) finds and hashes a domain's icon, so sites that serve the same icon meet on one node. A Favicon's side panel links to the same search on Shodan, FOFA and Censys.
  • Screenshots: the Screenshot Shuttle (screenshot, Domain or URL, visits the site, never cached) draws the page in a new optional browser service (make up SCREENSHOTS=1, Compose profile screenshots: Playwright's browser server on an internal-only network; every request the page makes is answered by the worker through the guarded HTTP client) and keeps the picture with the case, with a perceptual hash (screenshot_phash) and the page's title on its URL. The side panel shows the screenshot and the case's pages that look alike (GET /cases/{id}/screenshots/similar). make check-browser checks the service's isolation; CI runs it.
  • Evidence: Shuttles keep files with the case (ctx.save_evidence, PNG or JPEG, at most 5 MB) in the object storage, named by their SHA-256; members read them at GET /cases/{id}/evidence/{name}, and deleting a case deletes them (case.graph_delete reports deleted_evidence).

Lookalikes and monitoring

  • Typosquat detection: the Lookalike domains (typosquats) Shuttle (typosquats, in shuttles/dns, passive) makes up to 500 lookalikes of a domain (typos, neighbouring keys, lookalike ASCII and Cyrillic characters, other suffixes) and asks public resolvers which are registered. Registered ones become Domains linked by the new LOOKALIKE_OF relationship, with the kind of change in the note; the domain gets typosquats_checked_at, typosquat_candidates and typosquats_registered.
  • Certificate Transparency monitoring: case owners watch Domains of the graph (Settings → Certificate monitoring, at most 20 per case). The worker's sweep runs a crt.sh job for each every hour, in the owner's name and without the result cache; the first check is the baseline, and later new certificates and names become alerts on the Graph tab (Show in graph, Mark seen for editors and owners). New tables ct_watches and ct_alerts (migration 0014_ct_monitoring), endpoints /cases/{id}/ct-watches and /cases/{id}/ct-alerts, audit actions ct_watch.create, ct_watch.delete, ct_alert.create and ct_alert.acknowledge.

Shuttle SDK

  • Shuttles can declare pivots: false to stay out of auto-pivots (skipped as not_in_pivots); GET /shuttles returns it and the Run Shuttle panel says so. typosquats is the first.

Changed

  • Jobs record the keys of the entities they created in stats.entities_new (what certificate alerts point to).
  • The worker now depends on the object storage (it saves evidence there), and the API and worker image includes libatomic1 for Playwright's driver.
  • Deleting a case also deletes its evidence; the case.graph_delete audit entry reports deleted_evidence when there was any.

Upgrading from 0.2.0

  • The migrate service applies migrations 0013 and 0014 on make up; nothing else is needed. Back up first, as always (Upgrades).
  • Website visits are off in every existing case until an owner turns on Allow website visits in its Settings; verified domains may be visited without it.
  • Screenshots need the optional browser service: start the stack with make up SCREENSHOTS=1 (about 1 GB more of images). Without it, Screenshot jobs fail as source unavailable with a note saying why, and nothing else changes. NIGHTLOOM_BROWSER_URL points the worker at it (the default fits the Compose stack).

Known limitations

  • Certificate monitoring watches the exact domains chosen (and their subdomains in crt.sh's answer), not keywords or brands, and checks at most hourly; crt.sh being slow or down delays the alerts.
  • Screenshots are of the page as first drawn (no scrolling, sign-in or clicks), and "pages that look alike" compares the pictures of one case only.
  • Lookalike domains are found by DNS alone (a registered domain is one with name servers): a lookalike registered but kept on hold without name servers is missed.
  • Single-node deployment only (one host running the whole Compose stack).

Images

Multi-architecture (linux/amd64, linux/arm64), with SBOM and build provenance attestations.

Image Tags Digest
ghcr.io/therealnightmare/nightloom-backend 0.3.0, 0.3, latest sha256:037a679888edf878387fa02807f41b728140fe54d4fa1f63b03b46e6a1b4edcd
ghcr.io/therealnightmare/nightloom-web 0.3.0, 0.3, latest sha256:234d93b55504641805852f62150b75723772b249d8c8784b88fd4c25046752ee
docker pull ghcr.io/therealnightmare/nightloom-backend:0.3.0
docker pull ghcr.io/therealnightmare/nightloom-web:0.3.0
gh attestation verify oci://ghcr.io/therealnightmare/nightloom-backend:0.3.0 --repo TheRealNightmare/nightloom

Deploy or upgrade with docs/DEPLOYMENT.md (set NIGHTLOOM_VERSION=0.3.0).

Nightloom 0.2.0

Choose a tag to compare

@github-actions github-actions released this 21 Nov 16:30
5f78e61

Scanning at scale, and the first active checks. Scan profiles run several Shuttles on many entities at once, auto-pivot follows what they find, a result cache spares the sources, and case owners can verify domains they control so that the first two active Shuttles may check them. The case graph gains pins, saved views and a 3D view, and the whole interface has a new look, Loom & thread.

Added

Scanning: profiles, auto-pivot and the result cache

  • Scan profiles: run several Shuttles on one entity or a selection of up to 25 at once. Four built-in profiles (Quick domain recon, Deep domain recon, IP / network context, Exposure check) and profiles admins add on the new Profiles page (/scan-profiles, migration 0010_scan_profiles). A run plans every (Shuttle, entity) pair the guardrails allow (at most 100 jobs, two runs in progress per user) and queues its jobs only as the requester's job slots free up, so the per-user limit holds (/cases/{id}/scan-runs; the worker queues the next jobs after each one, and every minute). The Jobs panel shows each run with its progress, Cancel run and its jobs; jobs report run_id. Audited as scan_profile.*, scan_run.create and scan_run.cancel.
  • Auto-pivot: Pivot from here runs a profile on infrastructure entities, then again on the infrastructure it finds (never people or organizations, never person-related Shuttles), up to 2 hops, 200 jobs and 500 new entities per pivot. Only in cases whose owner turned on Allow auto-pivot in Settings (allow_auto_pivot, off by default); pivot: true on POST /cases/{id}/scan-runs, refused with 403 elsewhere. The Jobs panel shows a pivot's new entities, hop and the limit it reached (migration 0011_auto_pivot).
  • A result cache for passive Shuttles: running a Shuttle again on the same entity reuses its recent results instead of asking the source again. Shuttles declare how long (cache_ttl_seconds: DNS and reverse DNS 1 hour; crt.sh, RIPEstat and InternetDB 24 hours; RDAP and Wayback 7 days; never for active Shuttles), and the key includes the Shuttle's version. Cached findings are replayed through the same checks as a live run, so the case's person gate applies again, and provenance keeps when the source was asked. Per case by default (NIGHTLOOM_RESULT_CACHE_SCOPE=case; instance or off), with a size cap and a purge every 10 minutes (migration 0009_result_cache).
  • Use recent results before a run, and From cache · fetched … with Run fresh in the Jobs panel (fresh on POST /cases/{id}/jobs; jobs report use_cache, from_cache and cached_fetched_at, Shuttles cache_ttl_seconds).
  • An admin Cache page (GET/DELETE /admin/result-cache) and Settings → Cached Shuttle results for case owners (DELETE /cases/{id}/result-cache), audited as result_cache.clear with counts only.

Active Shuttles and ownership verification

  • Ownership verification: case owners add a domain in Settings → Verified domains and prove they control it with a DNS TXT record (_nightloom-challenge.<domain>) or a file at https://<domain>/.well-known/nightloom-verification.txt. The worker checks the proof (Check now), re-checks verified domains every day, revokes a verification whose proof disappeared and expires it after 30 days unless renewed (/cases/{id}/verifications, migration 0012_ownership_verification, audited as ownership.*). Active Shuttles now run on what a verification covers (the domain, its subdomains and the public addresses it resolves to, confirmed again before an address is scanned) instead of being refused outright; elsewhere they get 403 with target_not_verified.
  • The first active Shuttles (shuttles/active), which run only on verified targets and are never cached: Web server headers and TLS (http-headers, on a domain) records the HTTPS status, the security headers sent and missing, Server / X-Powered-By, HSTS, the TLS version, whether the certificate was valid, the address and service that answered, the certificate presented and the named software as Technologies (same-host redirects only, headers only); Common open ports (port-check, on an IP address) tries a plain TCP connect to 20 common ports, four at a time, closes each at once without sending anything, and adds the open ones as Services. New Domain and IP address properties for both.

Graph and views

  • 2D graph interactions: drag an entity to pin it where you drop it (or a whole selection), saved per user and case (GET/PUT /cases/{id}/layout, migration 0007_graph_layouts); unpin from the side panel, a node menu or View → Unpin all.
  • Zoom toward the pointer, trackpad two-finger panning (with a Scroll wheel setting), rotation (Alt or right-drag, ⟲ / ⟳, twist), Ctrl/⌘+click and Shift+drag selection, a minimap, and full keyboard control with announcements and a shortcuts dialog.
  • Shorter labels on the canvas: certificates show their subject's common name or a short fingerprint, long values are cut in the middle.
  • Saved views: named snapshots of a case graph's camera, filters, expanded groups and pins, shared with the case's members (/cases/{id}/views, migration 0008_saved_views, audited as view.create / view.update / view.delete without names). A Views menu (or V) applies one with Undo; editors and owners save views, and a view's creator or an owner updates, renames or deletes it; Copy link shares ?view=<id>.
  • Saved views store version 2 of the view state: mode (2d or 3d), an optional camera3d and the depth. Version-1 views still load, in 2D.
  • A 3D view of the case graph (2D | 3D on the toolbar, kept in the URL as ?mode=3d and remembered per browser): the same layout, pins, selection, filters and groups, with depth by first seen (oldest at the back, undated entities on their own plane, a date ruler), by entity type, or flat. Orbit, pan, zoom toward the pointer, fly-to, box selection, drag to pin (the same pins as 2D), the node menu, a minimap and the full keyboard map with the same announcements. Loaded only when used (three.js and React Three Fiber in their own chunk, about 200 KiB gzip); without WebGL the graph stays in 2D with a notice.

Interface

  • The sign-in page shows a slow 3D loom beside the form (behind it on narrow screens): a brass weft passing over and under the warp threads, knots forming where it crosses. It is fetched only after the form is ready and the browser is idle, from the 3D view's three.js chunk, at most 30 frames a second, paused while hidden or off-screen; a still drawing of the same loom is shown with reduced motion, Save-Data, without WebGL, or if it fails to load. make web-size also checks that the sign-in page's initial JavaScript has no three.js.
  • Every page has its own title ("Cases · Nightloom", "case · Graph · Nightloom", …), the 404 page has the new look and shows the address, and Nightloom has a knot-on-thread app icon (SVG and PNG sizes) and a web manifest.
  • Loading states show what is loading over still skeleton lines; a page whose list fails to load offers Try again.

Development

  • make web-size (run in CI) checks the built bundle against apps/web/bundle-budget.json.
  • make screenshots takes the README screenshots (docs/images/) on a throwaway stack of its own with fictional demo data; it also shows a profile run in the Jobs panel, the case settings' Verified domains and the admin Scan profiles page.
  • Browser tests of the sign-in loom and axe-core accessibility checks (@axe-core/playwright) of every screen in both themes.

Changed

  • The graph's initial view and Reset view fill 85% of the canvas left free by the legend, the zoom controls and the minimap (2D and 3D), instead of leaving wide margins; a tiny graph is not blown up.
  • 2D labels never overlap: the canvas places them itself, keeping only those with room, except the hovered, selected and keyboard-focused entities' labels, which always show.
  • One focus ring everywhere: text fields now get the same 2px brass outline as buttons and links. The edges of text fields, selects and switches use a new --control-line token with at least 3:1 contrast in both themes.
  • The contrast test reads the stylesheets, so every text color in use, and every text and background pair declared together, is checked in both themes.
  • prefers-reduced-motion now ends every CSS animation and transition at once.
  • The case graph's outer region is named "Case graph" (it had the same name as the graph stage inside it).

Upgrading from 0.1.0

  • The migrate service applies migrations 0007 to 0012 on make up; nothing else is needed. Back up first, as always (Upgrades).
  • New optional settings, all with defaults: NIGHTLOOM_RESULT_CACHE_SCOPE, NIGHTLOOM_RESULT_CACHE_MAX_BYTES and NIGHTLOOM_RESULT_CACHE_MAX_ENTRY_BYTES (see .env.example).
  • Active Shuttles connect from the worker to the verified targets themselves (HTTPS, HTTP and 20 common TCP ports); a firewall in front of the worker host decides whether they can.

Known limitations

  • Only two active Shuttles, and they run one at a time (not in scan profiles or auto-pivots).
  • Ownership can only be proven for domains (an address is covered through a verified domain that resolves to it).
  • Single-node deployment only (one host running the whole Compose stack).
  • Backups stop Neo4j briefly, because Neo4j Community Edition can only be dumped while stopped.

Images

Multi-architecture (linux/amd64, linux/arm64), with SBOM and build provenance attestations.

Image Tags Digest
ghcr.io/therealnightmare/nightloom-backend 0.2.0, 0.2, latest sha256:33766ba150241cabe7782d25d916381388252e7aebc914e3fe409e41ac9e988b
ghcr.io/therealnightmare/nightloom-web 0.2.0, 0.2, latest sha256:f882adebbe94d9d07e98daeb4a79c9a39fca9f8e39f20bdd2d0879a35d7b6e1e
docker pul...
Read more

Nightloom 0.1.0

Choose a tag to compare

@github-actions github-actions released this 19 Nov 16:03
e140f83

First release: self-hosted, passive collection of public infrastructure data into per-case investigation graphs.

Added

Investigations and ethics guardrails

  • Investigation cases with a mandatory purpose (30–2,000 characters), a legal basis (owned assets, authorized engagement, threat intelligence, journalism, academic research, self-assessment or other) and an acknowledgement of the ethics policy version in force.
  • Case membership with owner, editor and viewer roles; only members can see a case, admins included.
  • Case lifecycle: open, closed, archived and deleted; changing the purpose or legal basis requires a reason.
  • Person-related entity types are off by default and can only be enabled per case with a written reason.
  • Per-case activity feed built from the audit log.

Graph and entity model

  • Shared entity model (nightloom-core) with 19 entity types, each with a sensitivity (infrastructure, organization or person) and validated properties.
  • Canonical keys, so the same entity found in different spellings becomes one node; identical keys on every supported Python version.
  • Relationship allow-list per pair of entity types, and provenance on every entity and relationship (source, first and last seen, confidence, Admiralty reliability and credibility).
  • Per-case graphs stored in Neo4j; manual entities and relationships from the web UI.
  • GET /schema exposes types, sensitivities and the relationship allow-list to the UI.
  • Export as JSON (with provenance), GraphML or CSV (ZIP); person-related values are redacted by default, and including them requires a case owner and a recorded reason. Exports are limited in size and rate.

Shuttles

  • Shuttle SDK (nightloom-sdk): the Shuttle contract and metadata, an entry-point registry, test helpers and a guarded HTTP client (SSRF checks after DNS resolution, per-host rate limits, response size and time limits).
  • Background jobs on a Celery worker with Valkey: queued, running, succeeded, failed and cancelled states, shown live in the case graph's Jobs panel.
  • registrable-domain: links a subdomain to its registrable domain using the bundled Public Suffix List; no network.
  • dns: public DNS records (A, AAAA, CNAME, MX, NS, TXT, SOA, CAA, DMARC) through public resolvers only.
  • reverse-dns: PTR names for an address or a netblock of up to 256 addresses, with forward confirmation.
  • crtsh: subdomains and recent certificates from Certificate Transparency logs via crt.sh.
  • rdap: registration data for domains, IP addresses, netblocks and ASNs; keeps organization names only, never contact details.
  • ripestat: announced prefixes, origin ASes and AS holders from RIPEstat.
  • internetdb: open ports, CPEs, CVE IDs, tags and hostnames from Shodan InternetDB (free for non-commercial use only).
  • wayback: archived URLs and subdomains from the Wayback Machine; query strings reduced to parameter names, URLs containing email addresses or credentials dropped.

Security

  • Server-side sessions in HttpOnly, SameSite=Strict cookies (Secure in production), with idle and absolute expiry and instant revocation.
  • CSRF protection (double submit, bound to the session) on every state-changing request.
  • Argon2id password hashing off the event loop, with a 12–128 character policy.
  • Admin, analyst and viewer roles; the last active admin cannot be demoted or deactivated.
  • Sign-in rate limits per email and per client IP, failing closed when Valkey is unavailable; uniform errors and timing for unknown accounts.
  • Real client IPs only from trusted proxies (nginx, and Caddy or cloudflared in production).
  • Security headers (CSP, X-Frame-Options and others) from nginx and the API; production refuses to start with placeholder secrets.

Audit log

  • Append-only, hash-chained audit log in PostgreSQL for sign-ins, password changes, rate limiting, user management, authorization denials, case and graph changes, jobs and exports, with request IDs.
  • Admin Audit log page with filters (action, outcome, actor, case, dates), event details and chain verification.

Deployment and operations

  • Docker Compose stack: API, worker, web (nginx), PostgreSQL, Neo4j Community, Valkey and SeaweedFS (S3-compatible).
  • Production overrides: only the edge publishes ports; HTTPS through Caddy (automatic certificates) or Cloudflare Tunnel; log rotation and memory limits; a small-host variant for 8 GB machines such as a Raspberry Pi 4B.
  • make secrets generates a production .env with random secrets.
  • make backup and make restore: PostgreSQL, Neo4j and the evidence bucket in one checksummed archive, with a manifest.
  • Multi-architecture (linux/amd64, linux/arm64) images published to GHCR as ghcr.io/therealnightmare/nightloom-backend and ghcr.io/therealnightmare/nightloom-web, with SBOMs and build provenance attestations; production pulls them by NIGHTLOOM_VERSION.
  • Release automation: version consistency checks, a tag-triggered release workflow and make bump-version.

Web UI

  • React + TypeScript single-page app with sign-in, session handling and a forced password change for temporary passwords.
  • Case list, case creation form and case workspace (graph, members, activity, settings).
  • Interactive Sigma.js graph: add entities and relationships, side panel with provenance and connections, search, legend, run Shuttles on the selected entity.
  • Graph filters (source, sensitivity, time seen, confidence, reliability and credibility, focus, isolated entities) kept in the URL; large groups of leaf neighbours collapsed into one node.
  • Admin Users page: create users with a temporary password shown once, change roles, deactivate and reactivate, revoke sessions, reset passwords.
  • Version shown in the account menu.

Known limitations

  • No auto-pivot yet: every Shuttle is run by hand on one entity.
  • Passive Shuttles only; nothing contacts the investigated targets directly.
  • Single-node deployment only (one host running the whole Compose stack).
  • Backups stop Neo4j briefly, because Neo4j Community Edition can only be dumped while stopped.

Images

Multi-architecture (linux/amd64, linux/arm64), with SBOM and build provenance attestations.

Image Tags Digest
ghcr.io/therealnightmare/nightloom-backend 0.1.0, 0.1, latest sha256:e96fb5dff708be5952aea8a480b89fe3cdb46b8598959782cc13f3aa222c403c
ghcr.io/therealnightmare/nightloom-web 0.1.0, 0.1, latest sha256:89ed95b6207114727f36c11bb6c642bd48193b1a628d699d8925a35c8c893901
docker pull ghcr.io/therealnightmare/nightloom-backend:0.1.0
docker pull ghcr.io/therealnightmare/nightloom-web:0.1.0
gh attestation verify oci://ghcr.io/therealnightmare/nightloom-backend:0.1.0 --repo TheRealNightmare/nightloom

Deploy or upgrade with docs/DEPLOYMENT.md (set NIGHTLOOM_VERSION=0.1.0).