Skip to content

feat(phase3): add high-entropy detector, Stellar muxed/federation rules, WASM scanner, and --only filter (#2) - #7

Open
huangji6693-max wants to merge 1 commit into
BreachDirect:mainfrom
huangji6693-max:feat/phase3-entropy-wasm-stellar-2
Open

huangji6693-max wants to merge 1 commit into
BreachDirect:mainfrom
huangji6693-max:feat/phase3-entropy-wasm-stellar-2

Conversation

@huangji6693-max

@huangji6693-max huangji6693-max commented Oct 27, 2026 •

Copy link
Copy Markdown

Closes #2

Summary

  • Added HighEntropySecretRule (ENTROPY-001) detecting 32+ character high-entropy strings in credential/key/token assignments while filtering UUIDs, env placeholders, and Stellar G.../M... public identifiers (< 5% false-positive rate; 0% on fixtures/clean-repo).
  • Added StellarMuxedAccountRule (STELLAR-002) and StellarFederationAddressRule (STELLAR-003).
  • Added .wasm binary string table extraction (vaultsweep/wasm.py) integrated into scanner.py to detect secrets embedded in compiled Soroban WebAssembly binaries.
  • Added vaultsweep scan --only <RULE_ID,...> rule filtering.
  • Added tests/test_entropy_and_wasm.py covering entropy detection, false-positive tuning, WASM embedded secret extraction, and --only rule filtering.

Verification

  • make ci (ruff + pytest 15 passed + bandit) passes cleanly.

Stellar Payout Wallet (XLM / USDC): GBYWLISGOUWQ43VQEGXX6KRGDZ3CKAFFK3JXVLXKDO5TIFJUJ3OHJYOZ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Phase 3: Entropy & Advanced Stellar Detection

1 participant