cloudsec-audit
Continuous cloud security posture auditing for AWS, GCP, and Azure
Decision gist · record as of 2026-08-14
Yes. The package solves a real problem—continuous, scriptable cloud security auditing without SaaS cost—with low install friction, permissive licensing, and active maintenance. It is production-ready for teams seeking to embed security checks in CI/CD or run on-demand audits. Early release status and lack of external security audit are minor considerations for risk-sensitive environments, but the codebase is straightforward and the findings schema is well-documented.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires AWS credentials available to boto3 (environment variables, ~/.aws/credentials file, or EC2/ECS instance profile).
- Python 3.9 or later.
- Low friction: pure Python wheel with only boto3 and botocore as runtime dependencies.
License · maintenance · safety
MIT (permissive) — MIT license permits commercial and private use with minimal restrictions. You may use, modify, and distribute the package freely provided you retain the license notice.
last release 2026-04-19 (117 days) · last repo commit 2026-04-19
0 known vulnerabilities (OSV.dev, 2026-08-14) · 312,908 downloads/mo, #7,722 on PyPI
Alternatives
Verify before relying
pip install cloudsec-audit
from cloudsec_audit import CloudSecAudit, AWSSession
audit = CloudSecAudit(
session=AWSSession(),
regions=["us-east-1"],
)
report = audit.run()
print(report.summary())- Whether the package's compliance framework mappings (CIS, SOC2, HIPAA, PCI-DSS, ISO 27001) are current and audited by security professionals.
- Performance and API call volume when auditing large AWS accounts with many resources across multiple regions.
- Whether cross-account auditing via role assumption is production-tested and documented for security best practices.
What it is and what it does
cloudsec-audit is a Python library that runs continuous security audits on AWS accounts by querying IAM, network, storage, and logging configurations through boto3. It detects common misconfigurations—such as root account without MFA, overly permissive security groups, public S3 buckets, and long-lived access keys—and returns findings with severity levels, remediation steps, and MITRE ATT&CK technique mappings.
The package is designed for developers and operators who want to embed security checks directly into CI/CD pipelines or run them on-demand without relying on expensive SaaS CSPM platforms. It provides both a Python API for programmatic use and a CLI for one-off audits, supports multi-region scanning and cross-account auditing via role assumption, and can generate compliance evidence reports mapped to CIS, SOC2, HIPAA, PCI-DSS, and ISO 27001 frameworks.
Use it for
- Run daily scheduled security audits in GitHub Actions or GitLab CI to detect IAM and network misconfigurations before they reach production.
- Embed compliance checks in infrastructure-as-code pipelines to fail deployments when critical security controls are missing.
- Generate audit-ready compliance evidence reports for SOC2, HIPAA, or PCI-DSS assessments without manual data collection.
- Audit cross-account AWS environments by assuming a read-only security audit role in target accounts.
- Identify and remediate long-lived IAM access keys, root account risks, and overly permissive S3 bucket policies in existing accounts.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package solves a real problem—continuous, scriptable cloud security auditing without SaaS cost—with low install friction, permissive licensing, and active maintenance. It is production-ready for teams seeking to embed security checks in CI/CD or run on-demand audits. Early release status and lack of external security audit are minor considerations for risk-sensitive environments, but the codebase is straightforward and the findings schema is well-documented.
Install
cloudsec-audit on PyPI
Before you install
Low friction: pure Python wheel with only boto3 and botocore as runtime dependencies. Active maintenance as of 2026-04-19 with current Python support (3.9–3.12). Early-stage project (first release 2026-04-19) with no known vulnerabilities.
Requires AWS credentials available to boto3 (environment variables, ~/.aws/credentials file, or EC2/ECS instance profile). Python 3.9 or later.
License in practice
MIT license permits commercial and private use with minimal restrictions. You may use, modify, and distribute the package freely provided you retain the license notice.
Quickstart
pip install cloudsec-audit
from cloudsec_audit import CloudSecAudit, AWSSession
audit = CloudSecAudit(
session=AWSSession(),
regions=["us-east-1"],
)
report = audit.run()
print(report.summary())
Verify before relying
- Whether the package's compliance framework mappings (CIS, SOC2, HIPAA, PCI-DSS, ISO 27001) are current and audited by security professionals.
- Performance and API call volume when auditing large AWS accounts with many resources across multiple regions.
- Whether cross-account auditing via role assumption is production-tested and documented for security best practices.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesboto3botocore |
| Maintenance | Actively maintained 117 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 312,908 / month, #7,722 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersIntended Audience :: System AdministratorsLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.9Topic :: SecurityTopic :: System :: Systems Administration |
Evidence: cloudsec_audit-1.0.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “aws security audit library”
- cloudsec-auditAudits AWS cloud security posture by checking IAM, network, storage,…
- cloudsplainingCloudsplaining scans AWS IAM policies to identify violations of least…
- cdk-nagScans AWS CDK applications and CloudFormation templates against…
Give your agent the search over MCP, or paste the wish link into any chat.
More Security packages
Provides Python bindings to the FreeDesktop.org Secret Service API for securely storing and retrieving passwords and secrets through GNOME Keyring, KWallet, or KeePassXC.
MSAL for Python handles OAuth2 and OpenID Connect authentication with Microsoft identity services, managing token acquisition, caching, and refresh for applications integrating with Microsoft Entra ID, Microsoft Accounts, and Azure AD B2C.
joserfc implements JOSE standards (JWS, JWE, JWK, JWT, and related RFCs) for signing, encrypting, and managing JSON-based cryptographic tokens in Python.
Authlib provides a complete implementation of OAuth 1.0, OAuth 2.0, and OpenID Connect 1.0 for building both authentication clients and servers, with built-in support for JWS, JWK, JWA, and JWT standards.
Provides low-level CFFI bindings to the official Argon2 password hashing algorithm for use by libraries and applications that need direct access to Argon2 without higher-level abstractions.
ADAL for Python authenticates applications with Azure Active Directory to obtain tokens for accessing Azure AD-protected resources.
Install only if maintaining existing code that already depends on it, and plan a migration.
See also cloudsplaining · prowler · pycadf · cdk-nag · aws-cdk.aws-iam · boto_session_manager · c7n · pip-audit · boto3-assume · py-ocsf-models