What Is Web3User Permission Lab?
Web3User Permission Lab is a small piece of software that answers one question before a crypto transaction happens: is this allowed? It is a permission checker for apps that move tokens. It runs off the blockchain, on a normal server, and it checks each transaction request against a set of rules — who can send, to whom, how much, and how often — before anything is signed or sent. It is still a prototype. It has not been audited, and it is not ready to guard real money yet.
The problem it solves
In crypto, once a transaction is sent, it cannot be taken back. That is the scary part. An app, a relayer, or an automated wallet might be told to send tokens — but who checked the details first? Was the amount too big? Was the recipient wrong? Was the same request sent twice by mistake, or on purpose?
Most wallets ask the user to approve every single transaction, which is slow and tiring. Or they give an app unlimited permission, which is dangerous. Web3User sits in the middle. It gives apps a way to say: here are the rules, check every request against them, and only let the good ones through.

How it works, simply
Think of it like a signed permission slip. First, someone writes the rules into a small database: this token contract is allowed, this recipient is allowed, no single transfer can be more than this amount, and the total for one hour or one day cannot pass this limit. Then, when a transaction is proposed, the engine checks it against those rules.
If everything matches, it issues a signed permission slip — an authorization artifact — signed with an Ed25519 key. The slip can be used exactly once. After it is used, it is marked as used in the database, forever. If anyone tries to use the same slip again, the answer is no. That is the replay protection: one slip, one use, no second chances.
The engine gives three answers. ALLOW means the request passed the rules. DENY means it broke a rule, the permission expired, or the slip was already used. UNKNOWN means the request was malformed and could not be read safely.
One more detail worth knowing: if someone changes a rule after a permission slip has been issued, the old slip stops working. Changing a policy raises its revision number, and every approval tied to the old revision is permanently invalidated. There is no way to keep using an approval that was written under rules that no longer exist.
The whole thing runs on Node.js (version 22.13.0 or later) and stores its records in a small local SQLite database on the same machine. It uses write-ahead logging, plus a clock guard that refuses any timestamp that steps backwards in time, so the one-use rule holds even if the server restarts.
What it does not do yet
Here is the honest part. Web3User is a development-stage prototype, version 0.1.0-rc.1. It has not had an independent security audit. It is not a smart contract, and it does not enforce anything on the blockchain itself. It only gives an off-chain yes or no, and the app or relayer still has to do the signing and sending.
It never touches your wallet keys. It does not sign transactions, it does not talk to the blockchain, and it does not watch the mempool. It only handles one kind of transaction today: the standard ERC-20 token transfer. Anything else gets a no, or an unknown.
And if an approval is used up and the on-chain transaction then fails, the approval is not refunded automatically. You need a fresh one. The project itself says plainly: do not use it as the only security control for high-value treasuries, or for automated systems that nobody is watching. The test suite has 1,003 tests passing across 55 files, which is a good sign — but tests are not an audit.
Who it is for
Right now, it is for builders and researchers: people building transaction relayers, wallet middleware, and app backends who want a clean way to put permission rules in front of token transfers, and who want to test the idea in a safe environment. If you are a developer, you can run it locally, try the demo, and watch the replay protection work — the first run says ALLOW, the second run with the same slip says DENY.
It is not for end users yet, and it is not for guarding real treasuries. That is the whole point of calling it a lab: it is a place to build and test the idea properly before anyone trusts it with real money.
If you find a security problem in it, the project asks you to report it privately through GitHub Security Advisories — not through a public issue. That way it can be fixed before anyone else hears about it.
Questions people ask
Is it safe to use with real money?
No, not yet. It is a prototype and it has not been audited. The project says so itself. Use it for testing, learning, and building — not to guard real funds.
Does Web3User hold my wallet keys?
No. It never handles, stores, or touches your wallet keys. It uses its own Ed25519 keys to sign permission slips off-chain. Your wallet keys stay with your wallet.
What happens if the same permission is used twice?
The second try is refused. Each permission slip works once. After it is used, the database marks it as used, permanently, and any repeat is denied. That is the whole point of the replay protection.
What does ALLOW actually mean?
It means the request passed the rules — the right token, the right recipient, the amount within the limit. It does not mean the transaction happened. Signing and sending are still someone else's job.
What can it check today?
One thing: the standard ERC-20 token transfer. It checks the token contract, the recipient, and the amount, plus optional hourly or daily spending limits. Other kinds of transactions are not covered yet.
Sources
Every fact in this article comes from the project itself:
- Web3User Permission Lab on GitHub — the code, README, and SECURITY.md
- web3user.tech — the project's website
Web3User Permission Lab is a small piece of software that answers one question before a crypto transaction happens: is this allowed? It is a permission checker for apps that move tokens. It runs off the blockchain, on a normal server, and it checks each transaction request against a set of rules — who can send, to whom, how much, and how often — before anything is signed or sent. It is still a prototype. It has not been audited, and it is not ready to guard real money yet.
The problem it solves
In crypto, once a transaction is sent, it cannot be taken back. That is the scary part. An app, a relayer, or an automated wallet might be told to send tokens — but who checked the details first? Was the amount too big? Was the recipient wrong? Was the same request sent twice by mistake, or on purpose?
Most wallets ask the user to approve every single transaction, which is slow and tiring. Or they give an app unlimited permission, which is dangerous. Web3User sits in the middle. It gives apps a way to say: here are the rules, check every request against them, and only let the good ones through.

How it works, simply
Think of it like a signed permission slip. First, someone writes the rules into a small database: this token contract is allowed, this recipient is allowed, no single transfer can be more than this amount, and the total for one hour or one day cannot pass this limit. Then, when a transaction is proposed, the engine checks it against those rules.
If everything matches, it issues a signed permission slip — an authorization artifact — signed with an Ed25519 key. The slip can be used exactly once. After it is used, it is marked as used in the database, forever. If anyone tries to use the same slip again, the answer is no. That is the replay protection: one slip, one use, no second chances.
The engine gives three answers. ALLOW means the request passed the rules. DENY means it broke a rule, the permission expired, or the slip was already used. UNKNOWN means the request was malformed and could not be read safely.
One more detail worth knowing: if someone changes a rule after a permission slip has been issued, the old slip stops working. Changing a policy raises its revision number, and every approval tied to the old revision is permanently invalidated. There is no way to keep using an approval that was written under rules that no longer exist.
The whole thing runs on Node.js (version 22.13.0 or later) and stores its records in a small local SQLite database on the same machine. It uses write-ahead logging, plus a clock guard that refuses any timestamp that steps backwards in time, so the one-use rule holds even if the server restarts.
What it does not do yet
Here is the honest part. Web3User is a development-stage prototype, version 0.1.0-rc.1. It has not had an independent security audit. It is not a smart contract, and it does not enforce anything on the blockchain itself. It only gives an off-chain yes or no, and the app or relayer still has to do the signing and sending.
It never touches your wallet keys. It does not sign transactions, it does not talk to the blockchain, and it does not watch the mempool. It only handles one kind of transaction today: the standard ERC-20 token transfer. Anything else gets a no, or an unknown.
And if an approval is used up and the on-chain transaction then fails, the approval is not refunded automatically. You need a fresh one. The project itself says plainly: do not use it as the only security control for high-value treasuries, or for automated systems that nobody is watching. The test suite has 1,003 tests passing across 55 files, which is a good sign — but tests are not an audit.
Who it is for
Right now, it is for builders and researchers: people building transaction relayers, wallet middleware, and app backends who want a clean way to put permission rules in front of token transfers, and who want to test the idea in a safe environment. If you are a developer, you can run it locally, try the demo, and watch the replay protection work — the first run says ALLOW, the second run with the same slip says DENY.
It is not for end users yet, and it is not for guarding real treasuries. That is the whole point of calling it a lab: it is a place to build and test the idea properly before anyone trusts it with real money.
If you find a security problem in it, the project asks you to report it privately through GitHub Security Advisories — not through a public issue. That way it can be fixed before anyone else hears about it.
Questions people ask
Is it safe to use with real money?
No, not yet. It is a prototype and it has not been audited. The project says so itself. Use it for testing, learning, and building — not to guard real funds.
Does Web3User hold my wallet keys?
No. It never handles, stores, or touches your wallet keys. It uses its own Ed25519 keys to sign permission slips off-chain. Your wallet keys stay with your wallet.
What happens if the same permission is used twice?
The second try is refused. Each permission slip works once. After it is used, the database marks it as used, permanently, and any repeat is denied. That is the whole point of the replay protection.
What does ALLOW actually mean?
It means the request passed the rules — the right token, the right recipient, the amount within the limit. It does not mean the transaction happened. Signing and sending are still someone else's job.
What can it check today?
One thing: the standard ERC-20 token transfer. It checks the token contract, the recipient, and the amount, plus optional hourly or daily spending limits. Other kinds of transactions are not covered yet.
Sources
Every fact in this article comes from the project itself:
- Web3User Permission Lab on GitHub — the code, README, and SECURITY.md
- web3user.tech — the project's website