Contracts that underpin rug prediction tools often focus on detecting structural patterns that block or restrict token exits, such as honeypots or whitelist-only transfer restrictions. Mechanically, these tools analyze contract functions like transfer() for require() statements that revert transactions from non-whitelisted addresses, or inspect owner-controlled parameters that can adjust sell taxes post-launch. They may also scan for active mint or freeze authorities, blacklist functions, or pause capabilities—all of which can impose exit barriers or supply inflation risks. These structural conditions are detectable through static contract analysis without needing to execute trades, enabling the prediction tool to flag tokens where selling might be restricted or liquidity could be pulled suddenly.
This pattern becomes risk-relevant primarily when the contract’s owner retains modifiable controls that can be exercised post-launch to restrict sales or inflate supply. For example, an adjustable sell tax that can be raised arbitrarily after launch creates a soft honeypot risk, as sellers may face punitive costs unexpectedly. Similarly, whitelist-only exit mechanisms that owners can update maintain the potential to trap holders who are not on the allowlist. Conversely, these patterns can be benign if the controls are renounced or governed by transparent, time-locked multisigs, or if the project has clearly communicated operational reasons for retaining mint or freeze authorities, such as regulatory compliance or emergency response. The presence of these controls alone does not confirm malicious intent but signals structural exit risk.
Additional signals that would meaningfully alter the assessment include on-chain evidence of owner actions or governance constraints. For instance, if the owner has renounced or locked critical permissions, the risk of sudden exit blocks or supply inflation diminishes substantially. Conversely, observing recent owner calls to adjust sell tax or update whitelists would heighten concern. The presence of upgradeable proxy patterns without timelocks or multisig requirements also raises risk, as contract logic can be swapped instantly to introduce malicious code. Finally, liquidity metrics such as shallow pool depth relative to market cap or low 24-hour volume can exacerbate risk by making rapid price collapses more likely if liquidity is removed.
When combined with other common conditions, such as low liquidity pools or pause functions, these structural exit restrictions can produce rapid and severe outcomes. Liquidity removal in a single transaction can cause price collapses that close exit windows before holders can react, especially if sell taxes spike or whitelist restrictions activate simultaneously. Active freeze authorities can compound this by selectively halting transfers from targeted wallets, effectively locking in holders. However, if paired with transparent governance, multisig controls, and robust liquidity, the same patterns might pose limited practical risk. The realistic outcome spectrum ranges from benign operational controls to full-scale rug pulls, underscoring the need for comprehensive contract and governance analysis beyond surface-level pattern detection.