macOS
brew install principalmapperlocal Homebrew formula metadata
安装
brew install principalmapperlocal Homebrew formula metadata
概览
Quickly evaluate IAM permissions in AWS
历史
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.
安全态势
没有找到 principalmapper 的匹配本地密钥处理 manifest。软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
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_FILE可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
pmapper | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/nccgroup/PMapper
安装元数据
| 软件包键 | brew:principalmapper |
|---|---|
| 版本 | 1.1.5 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/principalmapper |
| 主页 | https://github.com/nccgroup/PMapper |
| 仓库 | https://github.com/nccgroup/PMapper |
| 许可证 | AGPL-3.0-or-later |
| 源码归档 | https://files.pythonhosted.org/packages/3f/8c/3d2efe475e9244bd45e3a776ea8207f34a9bb15caaa02f6c95e473b2ada2/principalmapper-1.1.5.tar.gz |
| 最后更新 | 2026-10-12T00:56:42Z |
| Pulse | updated |
| 依赖 | python@3.15 |
| Bottle | 可用 (于 all) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.