portal.security.hypernative API. This integration allows you to detect malicious transactions, flagged addresses, compromised tokens, and suspicious URLs before users interact with them.
Overview
The Hypernative integration enables you to:- Scan transactions before signing or submission (EVM, EIP-712, Solana)
- Scan addresses for known malicious actors or compromised contracts
- Validate tokens to detect scams, honeypots, or security risks
- Check NFTs for fraudulent collections or suspicious activity
- Verify URLs to prevent phishing attacks
Prerequisites
Before using Hypernative security scanning, ensure you have:- A properly initialized Portal client
- Hypernative integration enabled in your Portal Dashboard (see Hypernative Integration)
Scanning EVM Transactions
UsescanEVMTx to analyze standard Ethereum transactions before signing or sending. This method scans EVM transactions for malicious contract interactions, suspicious token approvals, and other security risks.
Scanning EIP-712 Typed Messages
UsescanEip712Tx to analyze typed structured data before signing. This method is critical for detecting malicious permit signatures, phishing attempts, and unauthorized token approvals.
EIP-712 defines a standard for hashing and signing typed structured data, commonly used for gasless approvals and off-chain signatures.
Scanning Solana Transactions
UsescanSolanaTx to analyze Solana transactions before signing. This method detects malicious program invocations, suspicious token transfers, and other Solana-specific security risks.
Scanning Addresses
UsescanAddresses to check multiple addresses for known security risks. This method identifies malicious contracts, compromised wallets, sanctioned addresses, and other flagged entities.
Scanning NFTs
UsescanNfts to validate NFT collections before displaying or allowing interactions. This method detects fraudulent collections, compromised contracts, and suspicious NFT activity.
Scanning Tokens
UsescanTokens to validate ERC-20 tokens before allowing swaps, transfers, or approvals. This method detects honeypots, scam tokens, and compromised token contracts.
Scanning URLs
UsescanURL to detect phishing sites and malicious domains before users navigate to them. This method is critical for protecting users from social engineering attacks.
Next Steps
- Learn about signing transactions
- Explore transaction evaluation
- Review Portal API methods
- Check out the Hypernative Integration setup