🦀 S3mburá
Everything the bucket holds, in one basket.
s3mbura is a focused security auditor for Amazon S3. The samburá is the basket a mangrove catcher carries to hold everything pulled from the mud — and that is exactly what this tool does to a bucket: it reaches in and brings back everything knowable about it, in one place.
One tool that combines the three things the ecosystem spreads across separate projects:
| Layer | What it does |
|---|---|
| Permissions | public ACL, policy status, Public Access Block, effective access |
| Configuration sweep | every readable bucket sub-resource (CORS, encryption, logging, website, versioning, ...) |
| Listing | condition-aware listing that adapts to restrictive bucket policies |
| Content | verified secret / PII scanning of reachable objects |
S3-only by design: no multi-cloud, no bloat. See ROADMAP.md for the
full design and build plan.
The four differentiators, in mangue terms
| Differentiator | Mangue metaphor |
|---|---|
| Full sub-resource sweep | Bracear — reach your whole arm into the burrow, checking every sub-resource |
| Versioned-object recovery | Lama — what was "deleted" sank into the mud, but it's still down there |
| Condition-aware listing | Siri — the crab walks sideways, sending the request shape the policy already accepts |
| Verified secrets | Samburá — only the real crabs go in the basket; no false positives |
Status: all 8 roadmap phases implemented — existence/region, full sub-resource sweep, effective-access probes, condition-aware listing, versioned-object recovery, verified-secret content scanning, JSON/SARIF output, and concurrency + namespace discovery. See
ROADMAP.md.
Install
Requires Python 3.11+.
Via pip
Not on PyPI yet — install straight from the repository:
pip install git+https://github.com/0xs3n4/s3mbura.git
Once published, this becomes simply pip install s3mbura.
Via git clone (for development)
Clone and install in editable mode, so your changes take effect without reinstalling:
git clone https://github.com/0xs3n4/s3mbura.git
cd s3mbura
python -m venv .venv
source .venv/bin/activate # Windows PowerShell: .venv\Scripts\Activate.ps1
pip install -e ".[dev]" # editable install + test/lint tooling
Either way you get the s3mbura command on your PATH. Verify with:
s3mbura --help
Usage
# Audit a single bucket (passive, anonymous by default)
s3mbura dev.huge-logistics.com -v
# Any S3 addressing style works
s3mbura https://s3.amazonaws.com/dev.huge-logistics.com
# Authenticated (SigV4) audit with a named profile
s3mbura my-bucket --signed --profile prod
# Reports
s3mbura my-bucket --json report.json # full JSON
s3mbura my-bucket --sarif report.sarif # SARIF 2.1.0 (GitHub code scanning)
s3mbura my-bucket --json-stdout # JSON to stdout
# Intrusive, opt-in (authorised targets only)
s3mbura my-bucket --download # fetch + scan object content for secrets
s3mbura my-bucket --active # write-probe (canary PutObject, never deletes)
# Namespace discovery: enumerate likely bucket names from a keyword
s3mbura acme --discover
# Recover the owner AWS account ID (noisy; needs your creds + a role to assume)
s3mbura my-bucket --signed --account-id --account-id-role arn:aws:iam::<you>:role/probe
Accepts every S3 addressing style: bare name, virtual-hosted URL, path-style URL, and website endpoint. Exit code is non-zero when a finding of MEDIUM severity or higher is reported.
Docker
docker build -t s3mbura .
docker run --rm s3mbura dev.huge-logistics.com -v
Planned to also ship as a module of manguescan (
manguescan s3), keeping S3mburá as the module's identity in the banner and docs.
Authorised use only
This is an offensive-security tool. Use it only against buckets you own or are explicitly authorised to test (your own labs, CTFs, or in-scope engagements).
- Passive by default. Metadata and permission checks are read-only.
--downloadis required before any object content is fetched.--activeis required before any write-probe, and the tool never deletes.
Credits & inspiration
s3mbura stands on the shoulders of the tools and researchers below. It does not reuse their code — every line here is original — but it openly borrows their ideas and tries to unify the best of each into one S3-focused tool.
Origin story. This project started while solving the Pwned Labs lab
AWS S3 Enumeration Basics, where
BucketLoot could not list a bucket
whose policy conditioned s3:ListBucket on s3:delimiter. Explaining why
(not a bug — the policy requires a request shape aws s3 ls happens to send)
became the seed of the condition-aware listing idea.
| Capability in s3mbura | Inspired by / idea from |
|---|---|
Content & secret scanning (--download) |
BucketLoot (RedHunt Labs) |
| Permission / ACL enumeration model | S3Scanner (sa7mon) |
| Scope decision (S3-only, not multi-cloud) | cloud_enum (initstring) — deliberately narrowed |
| Check-registry + streaming findings, CIS/FSBP mapping | Prowler and ScoutSuite |
Condition-aware listing (s3:delimiter/s3:prefix) |
Pwned Labs lab + the way aws s3 ls defaults to delimiter=/ |
Owner account-ID enumeration (--account-id) |
s3-account-search (Ben Bridts / Cloudar) and bucky (umair9747) |
The s3:ResourceAccount condition-key technique |
Ben Bridts, 2021; generalised by Plerion — conditional-love |
Namespace / wordlist discovery (--discover) |
S3Scanner and cloud_enum name-permutation approaches |
| SARIF 2.1.0 output | severities anchored to the CIS AWS Foundations Benchmark and AWS Foundational Security Best Practices |
Further reading on the account-ID technique: Plerion, Tracebit, HackTricks Cloud.
Thanks to all of the above authors and maintainers.
License
MIT © 0xs3n4
Metadata
Release files for s3mbura 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| s3mbura-0.1.0.tar.gz | 54.4 kB | With provenance | Details for s3mbura-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| s3mbura-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for s3mbura-0.1.0-py3-none-any.whl |
Total release size: 104.5 kB
Release files / s3mbura-0.1.0.tar.gz
| Download URL | s3mbura-0.1.0.tar.gz |
|---|---|
| Size | 54.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7ce23e7b035514ff34444aaa3c94269495907fbc62b00db1df174c81e7bc6c44
|
|
BLAKE2b-256 checksum How to use checksums |
8e7ac28057443404a06d32a1456163def421e3670b4a910e913bb10221afa643
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.
Transparency logRelease files / s3mbura-0.1.0-py3-none-any.whl
| Download URL | s3mbura-0.1.0-py3-none-any.whl |
|---|---|
| Size | 50.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0bc8929c49337918ec10eeab4c82944d7c789cac6b07c99f4c7f0d5c9ecaf7bb
|
|
BLAKE2b-256 checksum How to use checksums |
4e12dc1df0aba7025ed74e249471610ccbe9466220b598f9fb010644bf8a7bb7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.
Transparency logSecurity for s3mbura 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for s3mbura-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 29, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.