Please report vulnerabilities privately. Do not open a public issue, discussion or pull request.
- Email security@usebrainchain.com, or
- use Report a vulnerability on the affected repository's Security tab.
Include the affected contract or component, the impact you see, and steps or a test that reproduce it. A failing test is the most useful form. Leave out private keys and other secrets.
We acknowledge reports within 3 business days and send an assessment and a planned fix date within 10. Reporters are credited in the advisory unless they prefer otherwise. Please give us reasonable time to fix an issue before disclosing it, and do not test against networks or funds you do not own.
The full policy is on the security page, which sets the scope, the awards and how they are paid.
In scope are the contracts in usebrainchain/brainchain that are in use on mainnet, the brain service and its API, the x402 desk and the payments it takes and returns, and any bug in BrainChain's tools that could take or lock funds or expose a key. Out of scope are code that is not deployed on mainnet, issues that need a key BrainChain holds, scanner findings without a demonstrated impact, and third-party services.
Bugs in the tools, docs and site that cannot take or lock funds belong to the bug hunt, which pays during its open rounds; outside a round, open an issue on the affected repository.
BrainChain mainnet is live and holds task bounties in escrow. The contracts are open source and have not been audited by an outside firm.