Skip to main content

🦀 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

s3mbura is published on PyPI:

pip install s3mbura

Upgrade to the latest release with pip install -U s3mbura. Prefer an isolated CLI install? pipx install s3mbura works too.

To try unreleased changes from main, install straight from the repository:

pip install git+https://github.com/0xs3n4/s3mbura.git

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.
  • --download is required before any object content is fetched.
  • --active is 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.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for s3mbura 0.1.1
File Size Uploaded Provenance Actions
s3mbura-0.1.1.tar.gz 61.3 kB With provenance Details for s3mbura-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for s3mbura 0.1.1
File Interpreter ABI Platform Actions
s3mbura-0.1.1-py3-none-any.whl Python 3 none any Details for s3mbura-0.1.1-py3-none-any.whl

Total release size: 116.5 kB

Release files / s3mbura-0.1.1.tar.gz

Download URL s3mbura-0.1.1.tar.gz
Size 61.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3590212dd988a5777c239fcc5d9c629950a635adb50d7153d969f502ee38076a
BLAKE2b-256 checksum
How to use checksums
000fbcc1de073c4fb2811563b4a954559f6877ed0b5eb2970bb66ba75875cccd
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 log

Release files / s3mbura-0.1.1-py3-none-any.whl

Download URL s3mbura-0.1.1-py3-none-any.whl
Size 55.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
769361f34515e6d3fa66c0a002082c05ec6e15193ae4c679b3accb06c58789b9
BLAKE2b-256 checksum
How to use checksums
375d7ed1e94419848cd95c85c6ee3f351dcddb4287ad3c7fa9791131fe22663e
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 log

Security for s3mbura 0.1.1

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.

Select from 2 files

Attestation for s3mbura-0.1.1.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 log

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page