How Xemas
analyses contracts
An 8-stage pipeline combining static analysis, machine learning, on-chain forensics, and optional human expert review into a single, auditable risk score.
From input to risk score
Input & Chain Detection
Submit any EVM address, Solana wallet, or smart contract bytecode. Xemas automatically identifies the chain, contract type, and ABI signature without requiring source code.
Static Analysis
We decompile and disassemble bytecode to extract control-flow graphs and opcode sequences. Pattern matching identifies 200+ vulnerability classes.
ML Risk Scoring
Our random-forest model ensemble, trained on a labelled corpus of confirmed-exploit and benign contracts, assigns a 0–100 risk score in real time.
On-Chain Analytics
We index transaction history to compute holder distribution, liquidity depth, wash-trading probability, and whale concentration across 20+ chains.
Simulation & Fuzzing
Contracts are forked into an isolated EVM sandbox and subjected to symbolic execution and property-based fuzzing to detect logic bugs static analysis misses.
Forensic Attribution
Wallet clustering and on-chain identity linking connects deployer addresses to known threat actors using graph analysis across millions of historical transactions.
Human Expert Review
Enterprise and critical-risk scans are escalated to our security researchers for manual code review, cross-validated against public exploit databases.
Certificate Issuance
Audits that pass all checks receive a cryptographically signed certificate stored on-chain with a unique ID, timestamp, risk score, and tamper-proof hash.
26 Behavioural Features
The random-forest ensemble was trained exclusively on behavioural signals, with no downstream security labels that could cause target leakage.
Transaction value
- ·
value_log (log₁₊ USD) - ·
value_to_gas_ratio - ·
gas_efficiency
Gas behaviour
- ·
gas_price_log - ·
gas_used_log - ·
gas_price_deviation (per-chain baseline) - ·
gas_volatility - ·
block_congestion
Temporal
- ·
hour_sin/cos (time-of-day) - ·
day_sin/cos (day-of-week) - ·
is_weekend
Contract context
- ·
is_contract_interaction - ·
is_known_contract - ·
is_verified_contract - ·
contract_age_days - ·
liquidity_locked
Token metrics
- ·
is_token - ·
token_holders_norm - ·
token_concentration
Wallet history
- ·
wallet_age_days - ·
wallet_tx_count_norm - ·
wallet_avg_value_norm - ·
wallet_success_rate
MEV & attack patterns
- ·
is_flash_loan - ·
is_arbitrage - ·
is_sandwich
Risk signals
- ·
mempool_backlog - ·
is_suspicious - ·
has_alert - ·
is_honeypot
Bytecode Vulnerability Classes
Detected via opcode pattern matching and PUSH4 function-selector analysis on unverified contracts.
RE-01ReentrancyOF-01Integer overflow / underflowAC-01Access controlUL-01Unchecked low-level callSD-01Selfdestruct exposureDC-01Delegatecall abusePX-01EIP-1167 minimal proxyTO-01tx.origin authBT-01Block timestamp dependenceUI-01Unprotected initialiserFL-01Flash loan receiverSA-01Freeze authority retained (Solana)Solana Alpha Score (0–100)
Composite launch safety score checked live against Solana mainnet RPC, Raydium v3 API, and Metaplex DAS, with no third-party risk aggregators.
Scoring components
- Mint authority revoked+40 pts
- Freeze authority revoked+30 pts
- LP burned / locked / managed+20 pts
- Smart-money early entry+10 pts
LP classification statuses
- BURNEDLP tokens sent to a dead address. Rug-pull impossible.
- MANAGEDLP held by governance multisig (Squads, Realms DAO)
- LOCKEDLP held by a vesting/timelock program (Streamflow, etc.)
- CEX_DEPTHLarge-cap token: CEX order-book depth dominates on-chain LP
- CLMMConcentrated-liquidity pool (Raydium CLMM, Meteora DLMM)
- PARTIALSome LP burned; remainder in unverified wallet
- UNVERIFIEDLP holder could not be identified through on-chain resolution
Risk Score Reference
How to interpret Xemas risk scores
No significant issues found. Standard best-practice recommendations only.
Minor vulnerabilities or centralization risks. Review recommended before mainnet.
Significant findings with potential for fund loss. Fix before deployment.
Severe vulnerabilities. Do not deploy or interact with this contract.
Common questions
Ready to audit your contract?
10 free scans every day. No credit card required.