Skip to content

Repository files navigation

VaultSweep

Stellar-aware secrets scanner for repos and CI

CI

VaultSweep helps Stellar Wave 7 contributors catch leaked secret keys, mnemonics, API tokens, and default credentials before they merge — with Stellar-specific detection that generic scanners miss.

Organisation: BreachDirect · Siblings: RytScan · ShieldScan

📄 Product Requirements · 🏗 Architecture

Why VaultSweep?

Wave need VaultSweep coverage
#29 Secure key storage Stellar S... secret keys, mnemonics, plaintext config
make security-ci on PRs --fail-on high exit code for pipelines
Stellar RPC / Horizon hygiene Embedded credentials in URLs
Contributor onboarding Leaky + clean fixture repos

Quick Start

git clone https://github.com/BreachDirect/vaultsweep.git
cd vaultsweep
make install-dev

# Scan a directory
vaultsweep scan ./my-repo

# JSON for CI
vaultsweep scan . --format json --fail-on high

# List rules
vaultsweep rules

Built-in Rules (Phase 1)

Rule ID Severity Detects
STELLAR-001 Critical Stellar secret key (S + 55 base32 chars)
MNEMONIC-001 Critical BIP39 mnemonic (12+ words)
API-001API-005 Critical–Medium Anthropic, GitHub, AWS, generic API keys
DEFAULT-001 High Default credentials (changeme, password, …)
RPC-001 High RPC URLs with embedded auth

Development

make install-dev
make test
make ci
make scan-leaky    # demo — should find secrets
make scan-clean    # demo — should pass

Project Structure

vaultsweep/
├── vaultsweep/          # Python package
│   ├── cli.py           # vaultsweep binary
│   ├── scanner.py       # file walker
│   ├── rules/           # detection rules
│   └── reporter.py      # output formats
├── fixtures/
│   ├── leaky-repo/      # intentional test secrets
│   └── clean-repo/      # no high/critical findings
├── docs/
└── tests/

Ethics

Fixture secrets are synthetic test vectors only. If VaultSweep finds a real credential in your repo, rotate it immediately — never commit live keys.

Author

Michael Victory Osisienimo — BreachDirect

About

Stellar-aware secrets scanner for repos and CI — Stellar Wave 7

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages