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 --scan                     # fetch + scan object content for secrets (in memory)
s3mbura my-bucket --active                   # write-probe (canary PutObject, never deletes)

# Download a specific object you found while auditing
s3mbura my-bucket --get shared/report.zip                 # save to the current directory
s3mbura my-bucket --get shared/report.zip --get index.html --out loot/
s3mbura my-bucket --get secret/backup.sql --signed --profile prod  # authenticated

# 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.
  • --scan is required before any object content is fetched (scanned in memory for secrets; nothing is written to disk).
  • --get KEY downloads that exact object to disk (repeatable; --out DIR sets the destination, default the current directory). Naming the key is itself the authorisation, so it works anonymously or, with --signed, authenticated. Keys keep their folder structure and can never escape --out.
  • --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 (--scan) 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.2.0

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.2.0
File Size Uploaded Provenance Actions
s3mbura-0.2.0.tar.gz 65.0 kB With provenance Details for s3mbura-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 122.7 kB

Release files / s3mbura-0.2.0.tar.gz

Download URL s3mbura-0.2.0.tar.gz
Size 65.0 kB
Tags Source
SHA-256 checksum
How to use checksums
8f2436ac598ba667a5c4896751b3cfebd9bd7e88b3e315874d03c32b6c2a2acf
BLAKE2b-256 checksum
How to use checksums
82c9434432e9878f563ac47a0c801abe9c2323fbb4f65fef733cd87c4a3137d3
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.2.0-py3-none-any.whl

Download URL s3mbura-0.2.0-py3-none-any.whl
Size 57.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cf6ed93569e867fd310418513f9afb078a9b5714f3237f89d1606fdc8833016a
BLAKE2b-256 checksum
How to use checksums
be6563624637426eb2d01ce99b991c820e0ab8579ee191bd96e91dfa143869d9
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.2.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.

Select from 2 files

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