Open source CSPM for AWS: options and where validation fits
Summary
- A CSPM checks how your AWS resources are configured against best practice and compliance, and reports the misconfigurations so you can fix them.
- Three open source options cover AWS well: Prowler, ScoutSuite and the open source CloudSploit engine. Each is free, and each takes a different approach to checks and reporting.
- Posture scanning answers how a resource is configured. It does not resolve which over-permissioned identities can chain a path to administrator or data.
- Pathbreak is the attack-path validation layer that runs alongside a CSPM: it validates which chains reach admin or data against the real authorization and ranks the single change that breaks the most.
CSPM, or cloud security posture management, is the category most teams start with. It scans how your cloud resources are configured against security best practice and compliance frameworks and reports what is off: a public S3 bucket, an open security group, an unencrypted volume, logging that is switched off, a root account without hardware MFA. For AWS you do not have to buy a product to get this. Several open source projects cover it well, and this guide walks through the main ones and where validated attack-path analysis fits beside them.
The open source options for AWS
- Prowler. An open source security tool (Apache 2.0) that runs hundreds of configuration and compliance checks across AWS, and also Azure, GCP and Kubernetes. Its checks map to frameworks such as CIS AWS Foundations Benchmark, AWS Foundational Security Best Practices, NIST 800-53, ISO 27001 and SOC 2, and it ships a web app on top of the command line. Prowler also has an Attack Paths view built on a Cartography graph, with built-in queries and support for custom openCypher.
- ScoutSuite. A multi-cloud security auditing tool from NCC Group. It collects configuration from an account through the provider APIs and produces an offline HTML report that groups findings by service, so you can review posture across the account in one place.
- CloudSploit. An open source check engine, now part of Aqua Security, that runs configuration checks across AWS and other clouds. The open source project is the engine behind Aqua's hosted scanning.
- Native AWS. AWS Security Hub aggregates findings against standards such as the CIS and AWS Foundational Security Best Practices, and AWS Config tracks resource configuration and can evaluate it against rules. Both are worth turning on before adding anything else.
Any of these gives you a posture baseline: a prioritized list of misconfigurations mapped to the frameworks you report against. For many teams a CSPM plus the native services is the right foundation.
Posture tells you how a resource is configured
A posture scan is built around a single resource and a rule: this bucket is public, this volume is unencrypted, this role has an overly broad policy. That is exactly what you want for compliance and for cleaning up the obvious problems. The question it is not built to answer is the one an attacker asks: given everything in this account, which identities can chain a few ordinary-looking permissions into a path that reaches administrator or customer data?
iam:PassRole on its own reads as ordinary in a posture report. Put it next to lambda:CreateFunction and a role that trusts lambda.amazonaws.com, and a principal can create a function, pass the privileged role to it, and run code as that role.
Where attack-path validation fits
Pathbreak is not a CSPM, open source or otherwise. It is the attack-path validation layer that runs alongside one. It reads your AWS configuration with a read-only role, builds a graph of principals, roles, trust edges and resources, then an agent chains control-plane moves into candidate attack paths. It validates each path end to end against the authorization that applies, including identity and resource policies, permission boundaries, service control policies and trust policies, so the list is the paths that resolve rather than every path that might. Paths are ranked by how many of them each fix breaks, and each one comes with the single change that removes the most risk and the command to apply it. A rescan confirms the path is gone. Nothing is executed in your account.
The two fit together. A CSPM keeps your resource configuration clean and your compliance reporting in order. Pathbreak tells you which of your over-permissioned identities form a validated path to administrator or data, so the IAM work goes to the few changes that remove the most risk.
How the options compare
| Tool | Type | Built for | Access |
|---|---|---|---|
| Prowler | Open source CSPM | Hundreds of configuration and compliance checks across AWS and other clouds, mapped to frameworks; web app; an Attack Paths graph view | Free, Apache 2.0; hosted plans available |
| ScoutSuite | Open source auditor | Collecting account configuration and producing an offline HTML report by service | Free, open source |
| CloudSploit | Open source engine | Running configuration checks across AWS and other clouds | Free, open source; part of Aqua Security |
| AWS Security Hub + Config | Native AWS | Aggregating findings against standards and tracking resource configuration | Paid AWS services |
| Pathbreak | Attack-path validation | Validating which identity chains reach admin or data, ranked by blast radius, with the break | Free trial, then subscription |
Where to start
- Turn on AWS Security Hub and Config, then run an open source CSPM such as Prowler for broader checks and framework mapping.
- Run pathbreak-audit, a free read-only CLI, to list the principals in one account that hold abusable permissions and toxic combinations. Install it with
pip install pathbreak-audit. - Validate the paths with Pathbreak on one account to see which chains reach admin or data, ranked by blast radius, with the one change that breaks the most.
For a reference of the specific permissions attackers chain and the change that breaks each one, see the AWS privilege escalation map.
Frequently asked questions
What is CSPM?
CSPM, cloud security posture management, checks how your cloud resources are configured against security best practice and compliance frameworks, for example a public S3 bucket, an open security group, an unencrypted volume or missing logging. It reports misconfigurations so you can fix them. Pathbreak sits alongside a CSPM and validates the attack paths that cross identities and resources.
Is there a free open source CSPM for AWS?
Yes. Prowler, ScoutSuite and the open source CloudSploit engine all scan AWS configuration for free. Prowler runs hundreds of checks across dozens of AWS services and maps them to compliance frameworks; ScoutSuite audits an account and produces an HTML report; CloudSploit, now part of Aqua Security, runs an open source check engine. Pathbreak is not an open source CSPM; it is the attack-path validation layer that runs alongside one.
What is the difference between Prowler and ScoutSuite?
Prowler is an open source security tool that runs hundreds of configuration and compliance checks across AWS, Azure, GCP and Kubernetes, with results mapped to frameworks such as CIS, NIST and SOC 2, and it ships a web app. ScoutSuite is a multi-cloud auditing tool from NCC Group that collects configuration and produces an HTML report of findings by service. Both are free and open source, and teams pick based on reporting style and workflow.
Does a CSPM find attack paths?
A CSPM is built to find misconfigurations in resource configuration. Some have added graph features: Prowler, for example, has an Attack Paths view built on a Cartography graph with built-in and custom queries. Pathbreak focuses on attack-path validation specifically, resolving each candidate path against the authorization AWS applies, including SCPs, permission boundaries and trust policies, so the list is the paths that do reach admin or data.
How does Pathbreak work alongside a CSPM?
A CSPM gives you posture and compliance coverage across your resources. Pathbreak takes the identities and resources and validates which chains reach administrator or data, ranks the fixes by how many paths each one breaks, and gives the command to apply. It runs read-only and executes nothing, so it adds validated reachability to the posture picture a CSPM already provides.
Add validated attack paths to your posture picture. See which identities in your AWS accounts reach admin or data, and the one change that closes each path.
Request a demo Watch the demo