hackquest logo

0xVisor

Universal policy execution layer for MetaMask Advanced Permissions

비디오

기술 스택

Next

설명

Connective tissue between dApps: reusable policy engine for permission judgment.

0xVisor is a policy-aware automation platform for MetaMask Advanced Permissions.

Users install adapters that define rules of transactions they want automated, then grant MetaMask permissions scoped to that adapter.

Each adapter is linked to a session account, a smart account whose signing keys are stored securely inside an AWS Nitro Enclave.


When an adapter proposes a transaction:

  1. The policy engine inside the enclave evaluates it against user-configured rules.

  2. If all policies pass, the enclave signs the transaction with the session account.

  3. The signed transaction is then broadcast on-chain via the paymaster, ensuring keys never leave hardware isolation and every action is provably compliant.

Advanced Permission Integration

0xVisor Policy Rule

Description

Example Use Case

ERC20 Token Periodic

Gas Limit Policy

Execution blocked if gas price exceeds threshold

Only allow swaps if gas < 50 gwei

ERC20 Token Periodic

Time Window Policy

Restricts execution to specified hours/days

Execute trades only Mon–Fri between 9:00–17:00 UTC

ERC20 Token Periodic

Max Amount Policy

Caps maximum transaction amount

Never send more than 100 USDC per transaction

ERC20 Token Periodic

Cool-down / Frequency Policy

Minimum time between consecutive transactions

Ensure SwapBot triggers at most once per 24 hours

ERC20 Token Periodic

Security Pause Policy

Halts execution during security alerts

Stop all adapter execution if Envio detects unusual delegation activity

Native Token Periodic

Gas Limit Policy

Execution blocked if gas price exceeds threshold

Only allow transfers if gas < 50 gwei

Native Token Periodic

Time Window Policy

Restricts execution to specified hours/days

Send ETH only Mon–Fri between 9:00–17:00 UTC

Native Token Periodic

Max Amount Policy

Caps maximum transaction amount

Never send more than 0.05 ETH per transaction

Native Token Periodic

Cool-down / Frequency Policy

Minimum time between consecutive transactions

Ensure weekly transfer to savings contract

Native Token Periodic

Security Pause Policy

Halts execution during security alerts

Stop all adapter execution if Envio detects unusual delegation count

해커톤 진행 상황

DSL for Agent: Built a simple domain-specific language to define adapter logic and policy parameters, allowing users to configure automation safely without touching code. AWS Nitro Enclave Deployment: Migrated session account signing and policy evaluation into a secure enclave, achieving hardware-isolated key storage and attested policy enforcement. Envio Indexer Deployment: Deployed the indexer to monitor on-chain delegation events in real time, feed security alerts, and provide actionable signals for the policy engine. Next.js Demo & Transfer Bot Sample: Created a fully interactive dashboard to demonstrate wallet connection, adapter installation, policy configuration, and a sample transfer bot executing transactions safely on Sepolia testnet.
팀 리더
GGodson Ani
프로젝트 링크
부문
DeFiInfra