Funds move from payer to merchant in the same transaction. No balances, no withdrawals, nothing waiting in our wallets.
No upgrades, no proxies, no admin who can move funds. The code on chain is the code you can read.
Every contract's source is published and verified on Sourcify and BaseScan.
Every payment needs the payer's own signature over the exact recipient and amount. Our servers submit transactions; they cannot change them.
What we run, and where to see the results.
Independent audit: planned. Until then, every result of our own checks is public. Here is what we run, and where to see it.
Static analysis
Slither, the industry's standard open-source analyser, on every change. Every finding is reviewed and explained publicly; none is a vulnerability.
Fuzzing and invariant tests
157 Foundry tests drive thousands of random payments, signatures, timings and attack sequences through the contracts and check that no money appears, disappears or goes anywhere it was not signed for. A 20,000-run deep soak before every release.
Real-network tests
The same payments replayed against the real USDC, Permit2 and x402 contracts on copies of Base Mainnet and Base Sepolia.
Tests that test the tests
We deliberately break guards in the code and confirm the tests catch every change.
Independent review
Next. An independent review of the subscription contract comes first.
157 Foundry + 159 deployment
What if P2Flux is hacked or down?
P2Flux never holds the money, so each worst case is small and bounded by code, not by promises.
| SCENARIO | WHAT HAPPENS | WHY IT IS LIMITED |
|---|---|---|
| 01Our servers are breached | Past payments are safe in merchants’ wallets. An attacker could try to send new checkouts to a wrong wallet until we detect it. | Checkout only calls our fixed, verified contracts, and the payer’s wallet shows exactly what is signed. Merchants can verify every payment on chain with their own connection. |
| 02Our gas wallet is stolen | Worst case: the gas money in that wallet plus a capped daily top-up from P2Flux’s own gas fund. Never merchant or customer money. | A hard daily cap is written into the contract. |
| 03The refund system is attacked | A refund cannot go to anyone but the original payer, and cannot exceed the payment. | Every refund is re-checked against the blockchain before the merchant signs it. |
| 04P2Flux is down | Completed payments are already in your wallet. New checkouts wait until we are back. | Verify payments directly on chain; recovery fills in anything missed when we return. |
Keys we hold, and what they can do.
Gas relayer (server transaction key)
It cannot redirect a payment or change an amount. At most it could submit charges that are already due under what the payer signed, and spend a capped amount of our own gas budget: at most 0.05 ETH plus 100 USDC per day. It can be replaced without redeploying anything. It never touches merchant or customer money.
Receipt signer
It signs settlement receipts, which confirm that a payment was verified. It is not a wallet and cannot move money. If it were taken, someone could forge a receipt, but anyone can still verify every payment on chain.
Admin key
Kept offline. It can only replace the server key above, and nothing else.
A bug in a contract
Subscriptions use a USDC approval, so the subscription contract has the most tests and is first for independent review. Payers can revoke a subscription or remove the approval from their wallet at any time.
Check them yourself.
Found something?
Email contact@p2flux.com privately. Please don't disclose it publicly or test against real users' funds. We reply within five business days. We don't run a paid bug bounty at the moment; with your permission, we credit you publicly for a confirmed report.
Last reviewed 29 October 2026. This page describes our own testing and analysis; it is not a third-party audit.