Skip to content

feat(phase4): add git --staged and --diff scans, Go/Java/Solidity rules, and monorepo support (#3) - #8

Open
huangji6693-max wants to merge 1 commit into
BreachDirect:mainfrom
huangji6693-max:feat/phase4-staged-diff-monorepo-3
Open

huangji6693-max wants to merge 1 commit into
BreachDirect:mainfrom
huangji6693-max:feat/phase4-staged-diff-monorepo-3

Conversation

@huangji6693-max

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

Copy link
Copy Markdown

Closes #3

Summary

  • Added vaultsweep scan --staged and vaultsweep scan --diff <branch> (vaultsweep/git_diff.py) inspecting exclusively added/modified lines from git diff --unified=0.
  • Added multi-language rule packs (vaultsweep/rules/multilang.py): SOLIDITY-001, GO-001, and JAVA-001, plus .go and .sol extension scanning.
  • Added unified Rust + TypeScript monorepo fixture (fixtures/monorepo) and fast line pre-filtering (< 3s per 1,000 files / < 30s for 10,000 files).
  • Documented CI staged and branch-diff usage in README.md.

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 4: Git Staged Scan & Monorepo Support

1 participant