macOS
brew install principalmapperlocal Homebrew formula metadata
brew / rank 8062
Quickly evaluate IAM permissions in AWS. Version 1.1.5 via Homebrew; verified 2026-10-12.
install
brew install principalmapperlocal Homebrew formula metadata
overview
Quickly evaluate IAM permissions in AWS
history
Principal Mapper, commonly shortened to PMapper, is a script and library for graphing AWS IAM principals and finding effective permissions, privilege-escalation routes and other paths between identities.
Principal Mapper was developed by Erik Steringer at NCC Group to identify risks in AWS IAM configurations. It models users and roles as a directed graph, allowing an analyst to detect indirect paths in which one principal can reach another principal that holds the desired permission.
The 1.0 redesign introduced local policy simulation, a new graph-storage format, an interactive query interface and an analysis command while dropping Python 2 and AWS IAM’s remote simulation APIs. Later development added AWS Organizations data, service control policies, permission boundaries, session and resource policies, GraphML output and configurable graph storage.
Principal Mapper is installable as the `principalmapper` Python package, while Homebrew exposes the same project as `principalmapper`. Its workflow fits cloud-security assessments because AWS account data can be gathered once, stored locally and repeatedly queried without making a live policy-simulation call for every question.
The project’s documentation also supports Docker operation and Graphviz-based visualization, broadening its use from an interactive security script to repeatable analysis and reporting workflows.
An analyst first creates a graph from an AWS account or organization using AWS-compatible credentials. The stored graph can then be queried for effective access and privilege-escalation paths, analyzed for predefined risks or visualized through Graphviz. Read-only credentials are sufficient for the documented collection workflow.
PMapper is notable for turning AWS IAM authorization and privilege-escalation analysis into a local graph problem. Package users get a compact CLI that can gather an account, run path-aware queries, produce machine-readable findings and render privilege relationships without assembling those components manually.
security posture
No matching local secret-handling manifest was found for principalmapper. Package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Credential-bearing paths to review before unattended agent runs.
~/.aws/credentials~/.aws/config$AWS_SHARED_CREDENTIALS_FILE$AWS_CONFIG_FILEexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
pmapper | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/nccgroup/PMapper
install metadata
| Package key | brew:principalmapper |
|---|---|
| Version | 1.1.5 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/principalmapper |
| Homepage | https://github.com/nccgroup/PMapper |
| Repository | https://github.com/nccgroup/PMapper |
| License | AGPL-3.0-or-later |
| Source archive | https://files.pythonhosted.org/packages/3f/8c/3d2efe475e9244bd45e3a776ea8207f34a9bb15caaa02f6c95e473b2ada2/principalmapper-1.1.5.tar.gz |
| Last updated | 2026-10-12T00:56:42Z |
| Pulse | updated |
| Dependencies | python@3.15 |
| Bottle | available (on all) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | principalmapper |
| Version Scheme | 0 |
| Revision | 9 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.