
An offensive/defense security toolset for discovery, recon and ethical assessment of AI Agents
Power Pwn is an offensive and defensive security toolset for Microsoft 365 Power Platform and AI services.
Key Features, among others:
Please review the tools documentation for the full list of features:
Check out our Wiki for comprehensive documentation, guides, and related talks!
A review of Power Pwn's PowerDump module is available here:
For standard usage, install with:
pip install powerpwn
For developers and advanced usage, see our comprehensive Installation Guide which covers:
Some modules require additional tools. Please review the following Wiki pages for module-specific requirements:
Install Python packages and external tools (ffuf, subfinder, Node.js):
python init_repo.py --install-external-tools
source .venv/bin/activate # Linux/macOS
# or
.\.venv\Scripts\activate # Windows
Supported on macOS and Linux. Windows requires manual tool installation.
Install Python packages only (manual tool installation needed later):
python init_repo.py
source .venv/bin/activate # Linux/macOS
pip install .
powerpwn --help
For detailed installation options, troubleshooting, and platform-specific guides, see INSTALLATION.md
Editable Mode: If local changes aren't reflected when testing, reinstall in editable mode:
pip install -e .
Python Version: Use Python 3.11 for GUI modules (PowerDump) to avoid compatibility issues.
PYTHONPATH Setup (if needed):
export PYTHONPATH=/[your_powerpwn_directory]/src:$PYTHONPATH$env:PYTHONPATH = "C:\[your_powerpwn_directory]\src;" + $env:PYTHONPATHCode Formatting: Before submitting PRs, run:
black -C -l 150 {file_path}
Start with PowerDump to scan your Microsoft 365 tenant for security issues and collect comprehensive data.
Evaluate your M365 Copilot deployment for unauthorized data retrieval:
Test for misconfigured Copilot Studio bots accessible to unauthenticated users:
Identify misconfigured Power Pages that could leak Dataverse tables.
Please review the Wiki for a complete module list, detailed usage instructions, and advanced scenarios.