NexoraMap is an attack surface correlation tool. It takes public inputs like a domain, GitHub repository, username, or email address and builds a connected map of infrastructure, code, and potential exposure points.
Most recon tools dump a list of findings and leave the interpretation up to you. NexoraMap goes further: it correlates across data sources, builds a relationship graph, scores risk transparently, and generates plain language insights that actually explain what it found and why it matters.
Everything runs locally. No paid APIs, no cloud dependencies, no telemetry.
Security reconnaissance usually involves running several disconnected tools, then manually piecing together how the results relate to each other. A subdomain enumeration tool finds hosts. A separate tool probes HTTP. Another scans GitHub. You end up with three separate dumps and no clear picture of how they connect.
NexoraMap was built to close that gap. It collects data from multiple angles, correlates findings automatically, and presents a unified view of the target's attack surface.
Input handling. Accepts domains, GitHub repository URLs, GitHub usernames, email addresses, and raw URLs. Inputs are automatically classified and routed to the appropriate collectors.
DNS discovery. Enumerates DNS records (A, AAAA, MX, NS, TXT, CNAME, SOA) and probes common subdomains. Uses dnspython when available, falls back to socket resolution.
HTTP probing. Checks whether discovered endpoints respond to HTTP requests. Analyzes response headers for technology fingerprints, security header coverage, and information disclosure.
GitHub collection. Pulls repository metadata, contributor lists, and recent commits using the public GitHub API. Identifies linked domains from repository homepages and GitHub Pages configurations.
Commit scanning. Scans commit messages (and optionally diffs) for patterns that match known credential formats: AWS keys, GitHub tokens, private key blocks, database connection strings, Stripe keys, JWTs, and more. Matches are partially redacted in output.
Correlation engine. Builds a directed graph connecting all discovered entities: domains to IPs, repositories to endpoints, commits to sensitive patterns, users to assets. This graph is the foundation for all downstream analysis.
Risk scoring. Eight transparent scoring rules evaluate the findings. Each rule explains what it checks, how many points it awards, and what evidence supports the score. The system avoids opaque numbers; every point is traceable.
Insight generation. Produces human readable observations based on the correlation graph and score. Insights are realistic and avoid exaggeration. Example: "Found 4 endpoint(s) that respond to HTTP requests. These endpoints are publicly reachable and may expose services, APIs, or administrative interfaces."
Multiple output modes. Colored CLI output for interactive use. Structured JSON for programmatic consumption. A clean text report format that reads like a professional security summary.
git clone https://github.com/Fv7eh/NexoraMap.git
cd nexoramap
pip install -e .
Or install dependencies directly:
pip install -r requirements.txt
Python 3.9 or later is required. The only external dependencies are requests and dnspython.
nexoramap scan example.com
nexoramap analyze https://github.com/user/repo
The analyze command is identical to scan but enables verbose output by default, showing detailed findings.
nexoramap report example.com
Produces a clean text report suitable for sharing or archiving.
nexoramap scan example.com --json
nexoramap scan example.com --output results.json
nexoramap report example.com --output report.txt
nexoramap scan example.com -v
nexoramap scan https://github.com/user/repo --github-token ghp_your_token_here
Or set the GITHUB_TOKEN environment variable.
nexoramap analyze https://github.com/user/repo --fetch-diffs
This fetches the actual diff content of each commit, which catches secrets that appear in code changes rather than commit messages. It is slower due to additional API calls.
python -m nexoramap scan example.com
NexoraMap v1.0.0
Attack Surface Correlation
Targets
domain: example.com
Collection Results
dns: 12 finding(s)
http: 8 finding(s)
total: 20 finding(s)
Risk Score
▓ 34/100 (MEDIUM)
Score Breakdown
exposed endpoints ████████░░░░░░░░░░░░ 6.0/20.0
missing security headers ██████░░░░░░░░░░░░░░ 4.5/15.0
technology exposure ████░░░░░░░░░░░░░░░░ 4.0/10.0
subdomain count ███░░░░░░░░░░░░░░░░░ 3.0/10.0
asset breadth ███░░░░░░░░░░░░░░░░░ 2.8/10.0
Insights
◉ Publicly accessible endpoints detected
Found 2 endpoint(s) that respond to HTTP requests. These
endpoints are publicly reachable and may expose services,
APIs, or administrative interfaces.
> Consider enforcing HTTPS on all endpoints.
○ Missing HTTP security headers
One or more endpoints are missing recommended HTTP security
headers. These headers help protect against common web attacks.
> Add Strict-Transport-Security to enforce HTTPS.
Correlation Graph
Nodes: 18
Edges: 14
dns_record: 6
endpoint: 2
http_header: 3
subdomain: 3
target: 1
technology: 3
Completed in 4.2s
The pipeline has five stages:
-
Input parsing. Raw strings are classified by type (domain, GitHub URL, email, etc.) and normalized into Target objects that carry structured metadata.
-
Collection. Each collector receives targets it can handle. Collectors run independently and emit typed CollectorResult objects. Adding a new collector means implementing one class with a
collect()method. -
Correlation. The correlation engine processes all results into a directed graph. Nodes represent entities (domains, IPs, repositories, endpoints, commits, secrets). Edges represent relationships (resolves_to, hosts, contains, references, etc.). The engine understands the semantics of each finding type and creates appropriate connections.
-
Scoring. Eight scoring rules evaluate different aspects of the findings. Each rule returns a ScoreContribution with the points awarded, the maximum possible, and a human readable explanation. The total is normalized to a 0 to 100 scale with severity labels (low, medium, high, critical).
-
Insight generation. The insight generator walks the graph and findings to produce observations. Each insight includes a title, description, severity, evidence list, and concrete recommendations.
The correlation graph is the key differentiator. Instead of flat lists, NexoraMap connects a GitHub repository to its homepage domain, that domain to its DNS records, those records to live endpoints, and those endpoints to exposed technologies. This lets the scoring and insight layers reason about chains of exposure rather than individual findings.
nexoramap/
__init__.py Package root
__main__.py Module entry point
cli.py CLI argument parsing and dispatch
inputs.py Input classification and normalization
scanner.py Scan orchestrator
correlator.py Correlation engine and graph
scoring.py Risk scoring rules
insights.py Insight generation
output.py CLI, JSON, and report formatters
collectors/
__init__.py
base.py Base collector class and types
dns_collector.py DNS and subdomain discovery
http_collector.py HTTP probing and header analysis
github_collector.py GitHub API metadata collection
commit_scanner.py Commit content scanning for secrets
tests/
test_inputs.py
test_correlator.py
test_scoring.py
test_commit_scanner.py
To add a new data source, create a class that inherits from BaseCollector:
from nexoramap.collectors.base import BaseCollector, CollectorResult, FindingType
from nexoramap.inputs import InputType, Target
class MyCollector(BaseCollector):
name = "my_collector"
description = "Collects data from some source"
def accepts(self, target: Target) -> bool:
return target.input_type == InputType.DOMAIN
def collect(self, target: Target) -> list[CollectorResult]:
self.reset()
# Your collection logic here
self.emit(
finding_type=FindingType.LIVE_ENDPOINT,
value="https://found.example.com",
metadata={"source": "my_collector"},
related_target=target.identifier,
)
return list(self._results)Then register it when creating a Scanner:
from nexoramap.scanner import Scanner
scanner = Scanner(collectors=[MyCollector(), ...existing_collectors])
result = scanner.scan("example.com")The correlation engine will automatically process the new finding types if they use existing FindingType values. For entirely new entity types, add the handling logic to CorrelationEngine._process_result().
python -m pytest tests/ -v
Or with unittest:
python -m unittest discover tests/
Contributions are welcome. A few guidelines:
Keep code modular. Each collector, scoring rule, and insight generator should be independently testable.
Write clear commit messages. The codebase is meant to be readable; the git history should be too.
Avoid adding heavy dependencies. NexoraMap intentionally runs with just requests and dnspython. If a new feature requires a large dependency, consider making it optional.
If you are adding a new collector, include at least basic tests and update the README with a brief description of what it does.
All data collection must be based on publicly available information. Do not implement features that probe private infrastructure or require authentication against targets.
MIT License. See LICENSE for the full text.