BankShield HumanGate now runs one shared gate spec in Python, Go, Rust, Java and TypeScript, with real WebAuthn passkey proof and 5600 shared test cases verified identically in every stack. v1.2.0 is live, CodeQL scans every push, and 0 alerts are open. Spec v2 adds six new attack families for banks
Stop AI agents from moving money without human proof.
One gate. Five languages. 8,000 test cases. Zero attacks allowed on a sensitive route.
BankShield HumanGate is an open source, framework agnostic gate that stops AI agents and automated attacks from reaching finance code, account data, and money movement in banking apps and websites.
It does not try to guess whether a visitor is human by looking at a CAPTCHA or a browser string. Modern agents fake those easily. It lets traffic in only when it carries proof that a real human, on a real registered device, with a hardware backed key, intended that exact action.
An agent with copied screens, copied code, a password, or a stolen token cannot produce that proof. So it is stopped at the gate, before it reaches finance code, before it reaches account data, and before it can move money.
good first issue and comment on it before you start.Think you can break the gate? Try. If something gets through, tell us in Discussions. That is the fastest way to make the project better.
Bank accounts are now attacked by software, not only by people. Automated agents and bots can copy an app screen by screen, study its code, guess or reuse passwords, replay stolen tokens, and try thousands of actions at machine speed, day and night, without getting tired. When one of those attempts succeeds on a money route, real money leaves a real account, and the account holder finds out after the loss.
Passwords, CAPTCHAs, and browser checks were built for human attackers and simple bots. They do not prove that a human intended a specific payment to a specific payee. That proof is the missing layer, and it is the layer this project builds, openly, so any bank, fintech, or security team can study it, test it, and adapt it.
Verified locally on 2026-12-05. Every number below comes from an actual run in this repository.
| Stack | Test run | Cases | ALLOW | CHALLENGE | BLOCK |
|---|---|---|---|---|---|
| Python reference | stacks/shared/gate_reference.py | 8600 | 900 | 1887 | 5813 |
| Go | stacks/go, go test | 8600 | 900 | 1887 | 5813 |
| Rust | stacks/rust, cargo test | 8600 | 900 | 1887 | 5813 |
| Java | stacks/java, mvn test | 8600 | 900 | 1887 | 5813 |
| TypeScript | stacks/typescript, npm test | 8600 | 900 | 1887 | 5813 |
Pass rules on the shared cases: attack cases allowed on a sensitive route: 0. Legitimate cases denied (false positives): 0. The five stacks agree on every one of the 8600 cases.
The 8600 shared cases are 7700 attack and fraud ca
Kotlin port of the gate spec
https://github.com/rohan-fast-code/bankshield-humangate/issues/10
Labels: help wanted, good first issue
Cross-stack differential fuzz test: random signals, all five stacks must agree
https://github.com/rohan-fast-code/bankshield-humangate/issues/9
Labels: help wanted, good first issue
Add a bankshield command line tool that decides one request from a JSON file
https://github.com/rohan-fast-code/bankshield-humangate/issues/3
Labels: help wanted, good first issue
Add a C# implementation of the shared gate spec, verified against all shared vectors
https://github.com/rohan-fast-code/bankshield-humangate/issues/1
Labels: help wanted, good first issue
Thank you for helping make banking apps safer from AI agents and automated attacks. This guide keeps contributions safe, tested, and reviewable, and it shows you exactly how to go from your first look at the repo to a merged pull request.
If you are new here, start with the README: run the gate in two minutes, read the shared spec, and say hello in Discussions. This guide picks up from there.
Python 3 is the only tool you need for the core gate and its tests, with no extra dependencies. Go, Rust, Java, and TypeScript are needed only for their own stacks.
| Stack | Setup | Test command |
|---|---|---|
| Python | Python 3 only | python3 humangate_blocker/tests/test_120_attacks.py and python3 stacks/shared/gate_reference.py stacks/shared/test_vectors.json |
| Go | Go 1.27 or later | cd stacks/go && go test ./... |
| Rust | Rust stable with cargo | cd stacks/rust && cargo test |
| Java | Java 21 with Maven | cd stacks/java && mvn test |
| TypeScript | Node with npm | cd stacks/typescript && npm test |
Every stack must pass all 6,200 shared test cases with identical decisions: 900 ALLOW, 1,687 CHALLENGE, 3,613 BLOCK. If your change moves even one decision, stop and check the spec first. Vectors must still pass identically in all five stacks, and no decision may change without a spec change.
Pick the path that fits you best:
Small first tasks are listed in the repository issues labelled good first issue, each with the files involved and how it is verified. Right now those are the C# port, the Kotlin port, the command line tool, and the cross stack differential fuzz test.
Four more first tasks, any time:
Comment on the issue before you start, so two people do not build the same thing.
If you show interest online, the maintainer checks your GitHub profile first, before any assignment and before any form is sent. See docs/CONTRIBUTOR_VETTING.md for the full process, and docs/CONTRIBUTOR_VETTING_CHECKLIST.md for the record used for each person. The check covers: are you actively contributing, where are you contributing, what are your contributions, and have you contributed to REA, official repo morluto/rea, or not, with exact merged links verified. Stars and forks alone are not contributions. The contributor form is sent only after vetting, and only when the maintainer provides it later, see docs/CONTRIBUTOR_FORM.md. Do not ask for the form before vetting is done, and do not expect a form link in this repo until the maintainer adds it.