overreach
Audit Microsoft Entra ID for over-permissioned human identities — deterministic, explainable, read-only.
overreach finds humans who hold more privilege than they need, right-sizes them with
evidence, and flags the ones whose over-privilege flows into AI agents. It is the
human-identity companion to nhi-scan (non-human &
agent identities): nhi-scan owns the machines, overreach owns the people, and they
join at the OBO bridge (OP6).
No LLM in the verdict path. Every finding records its evidence and a confidence level.
Install
pip install overreach
Then run overreach ... (or python -m overreach.cli ... from a checkout).
Quickstart (30 seconds, no tenant needed)
overreach scan --input fixtures/sample-tenant.json
That runs against a synthetic directory, so you can see the output offline. JSON too:
python -m overreach.cli scan --input fixtures/sample-tenant.json --format json
Just want the flat "every role -> everyone assigned to it" report (the one Azure makes you assemble yourself), with eligible/active and via-group resolved? Markdown, JSON, or CSV:
python -m overreach.cli roles-report --input fixtures/sample-tenant.json
python -m overreach.cli roles-report --input fixtures/sample-tenant.json --format csv > roles.csv
Against a real tenant (read-only; see Safety):
az login
python -m overreach.cli inventory --out inv.json
python -m overreach.cli scan --input inv.json
Fold in Defender CSPM (usage-based CIEM signals)
Microsoft retired Entra Permissions Management (ex-CloudKnox); its CIEM analysis now
surfaces as Defender CSPM recommendations for stale/unused and over-permissioned
identities on Azure (and AWS/GCP) resource permissions — the usage-based signal
overreach's native checks only approximate. If you have Defender CSPM, pull those and
merge them in (tagged _Defender CSPM_ so they stay distinct from directory-role findings):
python -m overreach.cli dcspm --out dcspm.json # read-only Resource Graph pull
python -m overreach.cli scan --input inv.json --dcspm dcspm.json # directory roles + resource-plane CIEM
Offline, the same merge runs against the fixtures:
python -m overreach.cli scan --input fixtures/sample-tenant.json --dcspm fixtures/sample-dcspm.json
Scope split: overreach's native OP1–OP6 cover Entra directory roles; DCSPM covers
resource / RBAC permissions. Together they span both planes.
The methodology (why this is more than a checkbox)
"Over-privileged" means holds more than they need — and "need" has no ground truth.
There is no authoritative record of what each person's job requires. So overreach does
not pretend to a verdict. It triangulates over-privilege from signals, each with a
stated confidence, and presents candidates for review with evidence. The tool narrows
the haystack and shows its work; a human access review confirms "needed or not".
The backbone is deterministic signals that need no model of need:
| ID | Check | Signal | Confidence |
|---|---|---|---|
| OP1 | Standing privileged role | A privileged role held as a permanent active assignment that should be PIM-eligible (on-demand). Over-privileged in time. | high |
| OP2 | Global Admin sprawl | More Global Administrators than the recommended minimum (~5). | high |
| OP3 | Dormant privileged account | Holds privilege but hasn't signed in (unused privilege = not needed now). The MVP proxy for usage-based right-sizing. | high |
| OP4 | Privileged without MFA | Amplifier — raises the danger of over-privilege, not the privilege itself. | high |
| OP5 | Hidden admin via nesting | Privilege inherited indirectly through a group, easy to miss in a native role view. | high |
| OP6 | Privilege → agent bridge | A privileged human who owns/sponsors an OBO-capable app or agent: the agent inherits the user's entitlements, so human over-privilege becomes agent blast radius. The differentiator. | high |
Design principles:
- Lean on signals that don't require knowing "need" (standing, nesting, dormancy, sprawl).
- Label amplifiers honestly (OP4) so findings aren't overstated.
- Never claim a verdict you can't evidence.
How this relates to Defender CSPM
A fair question: if Defender CSPM already flags over-permissioned identities, why
overreach? Because DCSPM is one input, and overreach is the layer around it.
- Different plane. DCSPM's CIEM analyzes resource / RBAC permissions (Azure, AWS,
GCP). It does not assess Entra directory roles — Global Administrator, Privileged
Role Administrator, and the rest — which is where the most dangerous, tenant-takeover
privilege lives.
overreach's native OP1–OP6 target exactly that plane DCSPM leaves blind. - Checks DCSPM doesn't run on those roles: standing-vs-PIM-eligible (OP1), Global Admin sprawl (OP2), dormant privileged accounts (OP3), privileged-without-MFA (OP4), and hidden admin via nested groups (OP5).
- The agent bridge (OP6) — connecting a human's privilege to the agents that inherit it via OBO / ownership — is something no CIEM product models.
- Deterministic, explainable, and no license. DCSPM is a paid plan and a black-box
verdict.
overreachruns against any tenant with read-only Graph scopes, records the evidence and confidence for every finding, and works where DCSPM isn't licensed. - It unifies the picture — directory-role findings (native) + resource-plane findings (DCSPM, tagged by source) + non-human identities (via nhi-scan) in one risk model.
In short: overreach surrounds DCSPM — it works without it, covers what it misses, and
folds it in as the usage-based signal when you have it.
Roadmap
- Usage-based right-sizing — the strongest signal of all: compare granted vs. actually-used permissions. Needs per-action telemetry. OP3 (dormancy) is the MVP proxy.
- Pull Defender CSPM (DCSPM) CIEM signals. Microsoft retired Entra Permissions
Management (ex-CloudKnox) as a standalone product; its CIEM analysis now surfaces as
Microsoft Defender CSPM recommendations that flag stale/unused and over-permissioned
identities across Azure (and AWS/GCP) resource permissions.
overreachcan ingest these — via Azure Resource Graph overMicrosoft.Security/assessments, or the Defender for Cloud assessments API — and fold them in, upgrading the usage-based signal from a proxy to the real thing. Scope split worth stating: DCSPM covers resource / RBAC permissions, whileoverreach's native checks cover Entra directory roles — the two are complementary, and together they cover both planes. Group-nesting resolution in the collectordone — a role assigned to a group is expanded into its transitive user members (taggedvia="group:<name>"), so OP5 and roles-report's via-group populate from a live tenant, not just a supplied inventory.owned_apps / owned_agents in the collectordone — the collector attaches each user's owned app registrations (flaggedobo_capablewhen the app requests delegated permissions) and their Agent 365 registrations, so OP6 (the agent bridge) fires from a live tenant. Agent 365 is preview, so that part is best-effort and skipped where absent.- Peer baselining — flag users with far more entitlement than functional peers.
- Unified report merging
overreach(human) andnhi-scan(non-human) output.
Safety
- Read-only.
overreachnever writes to your directory. - Authorized tenants only. Run it against your own tenant, or one you have explicit written permission to audit. Never point it at someone else's directory.
- Least-privilege scopes. The collector needs only
Directory.Read.All,RoleManagement.Read.Directory, andAuditLog.Read.All, via your ownaz login.
Status
Alpha (v0.1.0). The offline scan path and all six checks are implemented and tested;
the Graph collector is a best-effort MVP (see collect_graph.py TODOs).
Metadata
Release files for overreach 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| overreach-0.1.0.tar.gz | 23.7 kB | With provenance | Details for overreach-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| overreach-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for overreach-0.1.0-py3-none-any.whl |
Total release size: 45.6 kB
Release files / overreach-0.1.0.tar.gz
| Download URL | overreach-0.1.0.tar.gz |
|---|---|
| Size | 23.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1a0bc05d15986e3ddadfe070e3bef646b299dbad24b30d4116566bf5a829153d
|
|
BLAKE2b-256 checksum How to use checksums |
839f56300249f58ceee36629e8284983d50ec55a7cbcd5e10731efd96f7f968e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.
Transparency logRelease files / overreach-0.1.0-py3-none-any.whl
| Download URL | overreach-0.1.0-py3-none-any.whl |
|---|---|
| Size | 21.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c3e201370c11f1c8f8fd2b211e6cfdb98cac1d0f3e2e083d953a6685db241860
|
|
BLAKE2b-256 checksum How to use checksums |
695f963cec7aa6216591948c5896616f55db23bbfbf95a6e47d15e32545591a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.
Transparency logSecurity for overreach 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for overreach-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 9, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.