Code4rena
Virtuals Protocol
Every publicly disclosed report for Virtuals Protocol and what kind of bugs they were.
- disclosed reports
- 32
- most reported class
- Business logic
- bug classes found
- 5
- first disclosure
- 2025
Disclosed reports
Newest first. Only what Virtuals Protocol chose to make public.
-
Lack of access control in AgentNftV2::addValidator() enables unauthorized validator injection and causes reward accounting inconsistencies
Access control High Audit finding +20 collaborators
-
Missing prevAgentId update in promptMulti() function may cause token loss by transferring to address(0)
Business logic High Audit finding +10 collaborators
-
Public ContributionNft::mint leads to cascading issues / loss of funds
Access control High Audit finding +6 collaborators
-
amountOutMin passed in as 0 in AgentToken::_swapTax leads to loss of funds due to slippage
Business logic Medium Audit finding +16 collaborators
-
Missing totalSupply reduction in burnFrom allows supply manipulation (ERC20 Violation)
Smart contracts Medium Audit finding +11 collaborators
-
Genesis.sol:onGenesisSuccess() users may lose their unclaimed agentTokens if a second launch occurs before they’ve claimed their rewards from the first
Business logic Medium Audit finding +1 collaborator
-
Elo calculation error
Business logic Medium Audit finding +3 collaborators
-
Precision loss in priceALast and priceBLast
Medium Audit finding +4 collaborators
-
Founder has to double-stake during migration with the initial LP locked in the old veToken
Business logic Medium Audit finding +1 collaborator
-
BondingTax has invalid slippage implementation
Business logic Medium Audit finding +7 collaborators
-
Imprecise calculations in launchFor() lead to less liquidity be added to the pair via the router
Smart contracts Medium Audit finding +1 collaborator
-
Incorrect mathematical logic
Smart contracts Medium Audit finding +2 collaborators
-
Using AgentFactory::setAssetToken will lead to loss of funds
Business logic Medium Audit finding
-
battleElo is at risk of underflow revert, which may DOS voting
DoS Medium Audit finding +1 collaborator
-
Delegation not revoked on withdrawal allows reward and voting power inflation post-maturity
Smart contracts Medium Audit finding +2 collaborators
-
Lack of maturity check for non-founder users allowing immediate withdrawals
Business logic Medium Audit finding +3 collaborators
-
VirtualGenesisDAO.sol:earlyExecute() proposals can be executed two times
Business logic Medium Audit finding
-
Removal of a liquidity pool on AgentToken::removeLiquidityPool still incurs taxes on swaps
Business logic Medium Audit finding
-
No slippage protection during adding liquidity to uniswap
Business logic Medium Audit finding +9 collaborators
-
Functions in FERC20 can’t be invoked
Access control Medium Audit finding +3 collaborators
-
Score in AgentDAO is not an accurate measure and can be artificially inflated by spamming proposals
Business logic Medium Audit finding +2 collaborators
-
Division in Bonding.sol._openTradingOnUniswap() results in an incorrect lpSupply , higher vaultSupply , and dust AgentTokens getting locked in FPair
Medium Audit finding +1 collaborator
-
Missing slippage protection on buy and sell
Business logic Medium Audit finding +38 collaborators
-
Attacker can prevent user from executing application registered through initFromToken() in AgentFactoryV4 .
DoS Medium Audit finding +10 collaborators
-
ValidatorRegistry::validatorScore/getPastValidatorScore allows validator to earn full rewards without actually engaging with the protocol
Business logic High Audit finding +2 collaborators
-
Public ServiceNft::updateImpact call leads to cascading issue
Access control High Audit finding +18 collaborators
-
Anybody can control a user’s delegate by calling AgentVeToken.stake() with 1 wei
Access control High Audit finding +7 collaborators
-
VotesUpgradeable::delegate bypasses the addValidator call, leads to a non-validator holding voting power along with loss of rewards
Access control Medium Audit finding