NEXO
Launch App
Back to Docs
Security Features6 min read

Contract Scanning

Deep analysis of smart contracts before interaction

Automated Contract Analysis

Before you interact with any contract, NEXO performs comprehensive analysis to identify potential risks.

Analysis Components

  • Code Review - Automated analysis of contract bytecode
  • Authority Check - Verify upgrade authority and admin permissions
  • Ownership Analysis - Check token distribution and whale concentration
  • Historical Behavior - Review past transactions and patterns

Scan Report

Each scan generates a detailed report including:

  • Overall risk score
  • Identified vulnerabilities
  • Permission analysis
  • Comparison to known scam patterns
  • Recommendations
typescript
// Scan a contract before interaction
const report = await client.scanContract({
  address: 'ContractAddressHere',
  depth: 'full' // 'quick' | 'standard' | 'full'
});

console.log('Risk Score:', report.riskScore);
console.log('Issues:', report.issues);