A security-focused, open-source intelligence platform for authorized investigations. NEXUS-OSINT combines case management, evidence provenance, public-source collection, relationship analysis, 3D visualization, spatial intelligence, and reproducible reporting in one investigation workspace.
Investigate. Correlate. Preserve. Explain.
NEXUS-OSINT is an investigation platform built around a simple principle: public intelligence should be collected with clear provenance, bounded execution, and an auditable chain of evidence.
The platform is designed for security researchers, defenders, investigators, analysts, students, and organizations performing legitimate research. It provides a persistent workspace where public signals can be collected, normalized, correlated, visualized, scored, reviewed, and exported.
NEXUS is intentionally not a private-account access tool, credential harvesting framework, exploitation platform, or covert people-tracking system.
Target / Case
│
▼
Public Sources ──► Collectors ──► Normalization
│ │
│ ▼
│ Deduplication
│ │
▼ ▼
Evidence ◄──────────────► Entities & Relationships
│ │
▼ ▼
Evidence Snapshots Investigation Graph
│ │
└──────────────┬────────────────┘
▼
Timeline + Scoring
│
▼
Spatial Intelligence
│
▼
Reports / JSON / Case Bundle
- Persistent cases with status, tags, workflow state, and authorization metadata
- Targets, notes, evidence, audit events, and investigation history
- Case-aware workspace navigation
- Evidence provenance and deterministic fingerprints
- JSON case bundle export/import
- DNS and RDAP intelligence
- Entity and relationship modeling
- Idempotent relationship merging
- Public-source signal normalization
- Confidence scoring
- Signal fingerprinting and deduplication
- Correlated spatial context
- Investigation graph analysis
- Timeline reconstruction
The Spatial Intelligence workspace combines public geographic, environmental, infrastructure, transport, aviation, maritime, space, and event data where the corresponding source is available and permitted.
Current source families include:
| Source | Intelligence |
|---|---|
| OpenSky | Public aircraft data |
| USGS | Earthquake and earth-science events |
| NASA EONET | Natural-event feeds |
| CelesTrak | Public satellite orbital catalog data |
| Launch Library 2 | Public launch/event data |
| Radio Browser | Public geolocated radio metadata |
| GDELT | Public open-web geographic event signals |
| OpenStreetMap / Overpass | Public geographic and infrastructure context |
| Nominatim | Reverse geocoding |
| Open-Meteo | Weather and environmental context |
| NOAA | Public weather and alert data |
| RIPE Atlas | Public Internet measurement/probe metadata |
| RIPEstat | Public Internet and network intelligence |
| NASA FIRMS | Fire data when configured/available |
| AISStream | Maritime data when configured/available |
| Public feed adapters | Authorized/configured traffic and camera metadata |
Availability, rate limits, API keys, attribution requirements, and provider terms vary by source. NEXUS does not claim that every source is continuously available.
- Interactive Three.js globe
- Orbit and cockpit-style viewing modes
- Signal focus/tracking
- Layer visibility controls
- Sensor-style visual presets
- Tactical HUD and detection overlays
- Scene director
- Browser-based investigation whiteboard
- Shareable view state
- Case evidence visualization
- Spatial source registry
The spatial module models events, infrastructure, geographic context, and public signals. It does not provide facial recognition or covert named-person tracking.
NEXUS treats evidence as a first-class object.
Each investigation can preserve:
- Source
- Target
- Observed data
- Timestamp
- Confidence
- Evidence payload
- Provenance hash
- Evidence snapshots
- Actor/audit information
- Relationship context
This makes an investigation easier to reproduce, review, and explain instead of presenting an opaque collection of search results.
The platform includes:
- Persistent user accounts
- JWT authentication
- Role-based access control
- Viewer / Analyst / Admin roles
- Permission-aware API routes
- Case authorization checks
- Audit logging
- Security-focused request controls
- Persistent background jobs
- Bounded worker concurrency
- Retry and cancellation state
- Optional Redis/Celery execution
- Structured logging
- CORS allowlisting
- Request-size controls
- Rate limiting
- Security headers and CSP
- Public-address/SSRF preflight controls for network collectors
- Health and platform metrics endpoints
┌──────────────────────────────────────────────────────────────────┐
│ NEXUS-OSINT │
├──────────────────────────────────────────────────────────────────┤
│ │
│ ┌──────────────────────┐ ┌───────────────────────────┐ │
│ │ Next.js Investigation│ REST │ FastAPI Investigation API │ │
│ │ Workspace + 3D Globe │◄──────►│ Auth / RBAC / Cases │ │
│ └──────────────────────┘ └─────────────┬─────────────┘ │
│ │ │
│ ┌─────────────────────────┼────────────┐ │
│ ▼ ▼ ▼ │
│ ┌──────────────┐ ┌──────────────┐ ┌────────┐│
│ │ OSINT Core │ │ Spatial Core │ │ Jobs ││
│ │ DNS / RDAP │ │ Public Feeds │ │ Celery ││
│ │ Cases / Graph│ │ Context/Fusion│ │ Redis ││
│ └──────┬───────┘ └──────┬───────┘ └────────┘│
│ │ │ │
│ └──────────┬────────────┘ │
│ ▼ │
│ ┌────────────────────┐ │
│ │ Persistence Layer │ │
│ │ Cases / Evidence │ │
│ │ Entities / Audit │ │
│ │ Jobs / Snapshots │ │
│ └────────────────────┘ │
│ │
└──────────────────────────────────────────────────────────────────┘
The repository also contains extension foundations for plugins, workflows, analytics, reporting, organizations, saved searches, and durable investigation pipelines.
| Area | Technology |
|---|---|
| API | FastAPI / Python 3.11+ |
| Validation | Pydantic |
| HTTP | HTTPX |
| Database | SQLite persistence layer with WAL/foreign-key support |
| Jobs | ThreadPoolExecutor with optional Celery + Redis |
| Authentication | JWT + password hashing |
| Frontend | Next.js + TypeScript |
| 3D | Three.js |
| Logging | Structured logging |
| Deployment | Docker / Docker Compose |
| CI | GitHub Actions |
The architecture is intentionally modular so optional infrastructure can be introduced without making the core investigation workflow dependent on a paid external service.
nexus-osint/
├── backend/
│ ├── main.py
│ ├── api/
│ │ ├── app.py
│ │ ├── routes/
│ │ │ ├── auth.py
│ │ │ ├── cases.py
│ │ │ ├── intelligence.py
│ │ │ ├── reports.py
│ │ │ ├── spatial.py
│ │ │ ├── spatial_fusion.py
│ │ │ ├── v3.py
│ │ │ └── ...
│ │ └── security.py
│ ├── osint_core/
│ │ ├── auth.py
│ │ ├── audit.py
│ │ ├── cases.py
│ │ ├── collectors.py
│ │ ├── dedup.py
│ │ ├── graph.py
│ │ ├── intelligence.py
│ │ ├── jobs.py
│ │ ├── persistence.py
│ │ ├── plugins.py
│ │ ├── public_sources.py
│ │ ├── scoring.py
│ │ ├── source_fusion.py
│ │ ├── spatial.py
│ │ └── timeline.py
│ └── tests/
│
├── frontend/
│ └── src/
│ ├── app/
│ │ ├── page.tsx
│ │ ├── spatial/
│ │ └── ...
│ └── lib/
│
├── docs/
├── .github/
│ └── workflows/
├── docker-compose.production.yml
├── .env.example
├── CHANGELOG.md
├── LICENSE
└── README.md
- Python 3.11+
- Node.js 18+
- npm
- Git
- Docker and Docker Compose are recommended for production-style deployment
git clone https://github.com/sayan9168/nexus-osint.git
cd nexus-osintbash scripts/dev-up.sh # or: make dev-upThe script creates backend/.venv, installs backend and frontend dependencies,
starts FastAPI on :8000 and Next.js on :3000, and prints the bootstrap login:
| Web app | http://localhost:3000 |
| API / OpenAPI docs | http://localhost:8000 · /docs |
| Login | admin / nexus-admin-2026 (override with NEXUS_BOOTSTRAP_ADMIN / NEXUS_BOOTSTRAP_PASSWORD) |
The browser talks to the API through a same-origin proxy (/api/v1 → http://127.0.0.1:8000, configured by rewrites() in frontend/next.config.js and NEXUS_BACKEND_URL), so the app also works behind a tunnel or remote preview. Memgraph and Redis are optional locally: without Memgraph the API logs app.memgraph_unavailable at startup and only the Cypher graph endpoints are unavailable — cases, evidence, intelligence, spatial, OMNI and reporting all use the SQLite store.
cd backend python -m venv .venv source .venv/bin/activate pip install -r requirements.txt uvicorn main:app --reload --host 0.0.0.0 --port 8000
In another terminal:
cd frontend
npm install
npm run devThe frontend normally runs on the Next.js development port shown by the terminal. Configure the backend URL through NEXT_PUBLIC_API_URL when required.
Start from the supplied template:
cp .env.example .env
Important settings include JWT configuration, CORS origins, database location, optional Redis/Celery settings, and optional public-source credentials.
Never commit secrets to Git.
For a production-style local environment:
docker compose -f docker-compose.production.yml up --build
For a Celery worker when Redis/Celery execution is enabled:
celery -A osint_core.jobs worker --loglevel=INFO --concurrency=2
Review the deployment documentation and environment template before exposing the service to an untrusted network.
A recommended workflow is:
- Create a case.
- Mark the case as authorized for the intended investigation.
- Add one or more public targets.
- Run bounded collectors.
- Review returned evidence and provenance.
- Inspect entities and relationships.
- Open the Investigation Graph.
- Open Spatial Intelligence for geographic signals and context.
- Review timeline and confidence scoring.
- Preserve important evidence snapshots.
- Export a report or case bundle.
- Review the audit trail before sharing results.
See docs/INVESTIGATION_WORKFLOW.md and docs/SECURITY_BOUNDARIES.md for operational guidance.
The API is organized into versioned functional areas.
/api/v1/auth/register
/api/v1/auth/login
/api/v1/auth/me
/api/v1/cases/...
/api/v1/reports/...
/api/v1/cases/{case_id}/bundle.json
/api/v1/cases/import
/api/v1/intelligence/dns-rdap
/api/v1/intelligence/entities/{case_id}
/api/v1/intelligence/relationships
/api/v1/platform/health
/api/v1/platform/sources
/api/v1/platform/cases/{case_id}/timeline
/api/v1/platform/cases/{case_id}/score
/api/v1/platform/cases/{case_id}/export.json
/api/v1/platform/jobs
/api/v1/platform/metrics
/api/v1/v3/search
/api/v1/v3/search/saved
/api/v1/v3/analytics/{case_id}
/api/v1/v3/entities/correlate/{case_id}
/api/v1/v3/graph/{case_id}/analysis
/api/v1/v3/evidence/{evidence_id}/snapshot
/api/v1/v3/pipelines/{case_id}
/api/v1/v3/orgs
/api/v1/v3/replay/{case_id}
/api/v1/v3/spatial/layers
/api/v1/v3/spatial/sources
/api/v1/v3/spatial/context
/api/v1/v3/spatial/cases/{case_id}/points
/api/v1/v3/spatial/fusion
/api/v1/v3/spatial/fusion/context
Exact schemas and authentication requirements should be treated as authoritative in the running OpenAPI documentation.
NEXUS uses a source-registry approach rather than hard-coding a single intelligence provider.
Each source can carry metadata such as:
- Source identifier
- Display name
- Category
- Access model
- Availability
- Rate-limit expectations
- Optional configuration requirements
- Attribution requirements
- Collection status
The long-term architecture is designed around:
Source Adapter
↓
Normalized Signal
↓
Validation
↓
Fingerprint / Dedup
↓
Confidence
↓
Evidence
↓
Entity / Relationship
↓
Timeline / Graph / Spatial View
This allows additional public datasets and APIs to be integrated without redesigning the investigation model.
Spatial signals are intentionally separated into layers so analysts can inspect source provenance and avoid treating every point as ground truth.
Examples include:
- Aircraft
- Earthquakes
- Satellites
- Launches
- Radio stations
- Natural events
- Open-web geographic events
- Case evidence
- Maritime signals when configured
- Traffic data when configured
- Public camera metadata when configured
- Fire data when configured
- Internet measurement probes
The spatial architecture supports public orbital catalog integration. Live geographic propagation should be treated as derived data: the source orbital elements are preserved, propagation parameters are explicit, and derived positions are not represented as authoritative observations.
NEXUS is designed for authorized, public-source intelligence work.
- JWT authentication
- RBAC permissions
- Case authorization checks
- Audit logging
- Evidence provenance
- Hash-based evidence snapshots
- Bounded network timeouts
- Result-size limits
- Request-size controls
- Rate limiting
- CORS allowlisting
- Security headers/CSP
- SSRF/public-address preflight for applicable collectors
- Explicit public-source boundaries
NEXUS does not provide features intended to:
- Steal passwords, API keys, tokens, or sessions
- Bypass authentication or access controls
- Access private accounts or private datasets without authorization
- Exploit vulnerable systems
- Evade detection or conceal malicious activity
- Perform covert surveillance
- Perform facial recognition or named-person spatial tracking
- Conduct indiscriminate mass profiling
If a source requires authorization, an API key, an account, or contractual access, it is treated as an optional/configured source rather than falsely presented as unrestricted public access.
See SECURITY.md and docs/SECURITY_BOUNDARIES.md.
A central design goal is reproducibility.
For important observations, NEXUS can retain source and timing metadata together with normalized evidence. Evidence snapshots provide versioned representations so an analyst can distinguish:
What the source returned
↓
What NEXUS normalized
↓
What relationship was inferred
↓
What the analyst concluded
This distinction is important because correlation is not proof. Confidence scores are analytical aids, not guarantees of truth.
Supported report formats include:
- Markdown
- HTML
- JSON
- Case bundle JSON for portable investigations
Reports are intended to preserve enough context for another analyst to understand the evidence, sources, timestamps, relationships, and limitations behind a conclusion.
NEXUS includes a plugin foundation with metadata for:
- Plugin identity and version
- Entity types
- Description
- Required permissions
- Source declarations
- Scope
- Timeout
- Rate limit
- Compatibility
- Health checks
- Author metadata
Future extensions can build source adapters, transforms, enrichment modules, and visualization providers without coupling them to the core case model.
Production deployments should add appropriate sandboxing and signature verification before accepting untrusted third-party plugins.
Run backend tests from the backend directory:
cd backend
pytest -qCompile-check Python modules when making low-level changes:
python -m compileall -q .Frontend:
cd frontend
npm ci
npm run lint
npm run typecheck
npm run buildEverything the pipeline runs is available locally:
make ci # backend tests, lint, typecheck, build, compose validation make audit # pip-audit + npm audit
| Workflow | Trigger | What it does |
|---|---|---|
NEXUS-OSINT CI |
push, PR, manual | Byte-compile + pytest + pip-audit (backend), ESLint + tsc + next build + npm audit (frontend), agent compile check, compose validation and cached image builds, funnelled into a single CI gate check |
NEXUS-OSINT CD |
tag v*.*.* |
Publishes backend/frontend images to GHCR with SBOM + provenance, Trivy scan, GitHub release |
CodeQL |
push, PR, weekly | Static analysis for Python and TypeScript |
Security |
PR, weekly | Dependency review, scheduled pip-audit / npm audit, advisory agent audit |
Dependabot keeps Actions, pip, npm and Docker base images current on a weekly
schedule. Full details, including the known agent-stack advisory backlog and the
release procedure, are in docs/CI.md.
A green pipeline is not a substitute for reviewing deployment configuration, provider limits, and security controls.
NEXUS follows these principles:
- Public by default, private by explicit authorization.
- Every important observation should have provenance.
- Derived intelligence must be distinguishable from source observations.
- Correlation must not be presented as certainty.
- Network collection must be bounded and SSRF-aware.
- Provider terms, attribution, and rate limits matter.
- Case authorization is part of the workflow, not an afterthought.
- Sensitive capabilities should be excluded rather than hidden behind vague labels.
- Persistent investigation cases
- Evidence provenance and snapshots
- Investigation graph
- Timeline and scoring
- Authentication and RBAC
- Durable background jobs
- Case import/export
- Public source registry
- Public signal fusion
- 3D globe
- Aircraft and earthquake layers
- Public natural-event layers
- Satellite catalog integration
- Launch and radio layers
- Geographic context lookup
- Spatial signal fusion
- Source registry
- Satellite orbital propagation and live derived positions
- Signal-density heatmaps
- Advanced temporal playback
- Source health dashboard
- Automated spatial clustering
- Role-based access control
- Audit chain
- Structured logging
- Rate limiting
- Security headers
- Docker deployment foundation
- Distributed rate limiting
- Prometheus/OpenTelemetry observability
- Hardened plugin sandbox
- Signed plugin marketplace
Roadmap items are engineering targets, not claims of current availability.
Contributions are welcome when they improve reliability, documentation, source coverage, security, usability, or investigation quality.
Before submitting a change:
- Keep public-source integrations bounded and documented.
- Preserve provenance and attribution metadata.
- Add or update tests for behavioral changes.
- Do not introduce credential theft, access-control bypass, exploitation, covert tracking, or private-data collection.
- Document new environment variables and provider requirements.
- Update the changelog for meaningful platform changes.
Please open an issue before large architectural changes so the design can be discussed clearly.
NEXUS-OSINT is distributed under the repository's Sayanox v1.1 license. See LICENSE for the complete terms.
NEXUS-OSINT is an actively evolving research and engineering project. Some integrations depend on third-party availability, provider policies, credentials, rate limits, or deployment configuration.
Do not interpret a source appearing in the registry as a guarantee that the source is available, accurate, unrestricted, or suitable for every investigation.