ApeSwap
Submit a BugProgram Overview
ApeSwap is a Decentralized Exchange / Automated Market Maker, Yield Farming, and Staking platform running on Binance Smart Chain, with lots of other features that let you earn and win tokens. ApeSwap was built by DeFi Apes, for DeFi Apes. They have a dedicated team of experienced monkeys, who have been in the crypto space for years. BANANA is the native currency of our platform. Stake, pool, and earn $BANANA (along with many other tokens) all on ApeSwap. For more information about ApeSwap, please visit https://apeswap.finance/.
The bug bounty program covers its smart contracts and apps and is focused on the prevention of loss of user funds.
Rewards by Threat Level
Rewards are distributed according to the impact of the vulnerability based on the Immunefi Vulnerability Severity Classification System V2.2. This is a simplified 5-level scale, with separate scales for websites/apps and smart contracts/blockchains, encompassing everything from consequence of exploitation to privilege required to likelihood of a successful exploit.
All web and app bugs must come with a PoC in order to be accepted. All web and app bug reports without a PoC will be rejected with a request for a PoC.
The reward for critical smart contract vulnerabilities is further capped at 10% of economic damage, taking into account things like funds that are directly at risk.
Payouts are handled by the ApeSwap team directly and are denominated in USD. Payouts are done in BANANA or BUSD, at the discretion of the ApeSwap team.
Smart Contract
- Critical
- Level
- up to USD $100,000
- Payout
- High
- Level
- USD $30,000
- Payout
- Medium
- Level
- USD $3,000
- Payout
- Low
- Level
- USD $1,500
- Payout
Websites and Applications
- Critical
- Level
- USD $7,500
- Payout
- High
- Level
- USD $4,000
- Payout
- Medium
- Level
- USD $1,500
- Payout
Assets in scope
- Smart Contract - (BSC) - MasterApeType
- Smart Contract - (BSC) - TimelockV2 SecureType
- Smart Contract - (BSC) -TimelockV2 GeneralType
- Smart Contract - (BSC) - ProxyAdminType
- Smart Contract - (BSC) - Ape LP FactoryType
- Smart Contract - (BSC) - ApeRouterType
- Smart Contract - (BSC) - MasterApeType
- Smart Contract - (BSC) - BANANAType
- Smart Contract - (BSC) - GNANAType
- Smart Contract - (BSC) - GNANA TreasuryType
- Smart Contract - (BSC) - VaultApe (Autocompounding)Type
- Smart Contract - (BSC) - DEX LP Fee CollectorType
- Smart Contract - (BSC) - TokenVestingFactoryType
- Smart Contract - NFA V2Type
- Smart Contract - Zap ContractType
- Smart Contract - Maximizer Vault ApeType
- Smart Contract - (BSC) - COVID ReliefType
- Smart Contract - (Polygon) - ApeFactoryV2)Type
- Smart Contract - (Polygon) - ApeRouterV2Type
- Smart Contract - (Polygon) - BANANA Token MiniApeV2Type
- Smart Contract - (Polygon) - BANANA TokenType
- Smart Contract - (Ethereum) - ApeFactoryType
- Smart Contract - (Ethereum) - ApeRouterType
- Smart Contract - Ape LP FactoryType
- Websites and Applications - ApeRouterType
- TargetWebsites and Applications - Ape LP FactoryType
Only web/app vulnerabilities that directly affect the web/app assets listed in this table and the subdomain highlighted are accepted within the bug bounty program. All others are out-of-scope.
Other smart contracts in production for ApeSwap not listed in this table may also be considered for the bug bounty program, especially if it affects user funds.
Additionally, the following GitHub repositories are shared for reference as they relate to the assets listed in the table. However, only vulnerabilities that affect the assets in production are considered as in-scope of the bug bounty program.
DEX https://github.com/ApeSwapFinance/apeswap-dex
MasterApe and Timelock https://github.com/ApeSwapFinance/apeswap-banana-farm
BANANA Token, Golden Banana, and Treasury https://github.com/ApeSwapFinance/apeswap-golden-banana
ApeRouter https://github.com/ApeSwapFinance/apeswap-swap-periphery
ApeFactory https://github.com/ApeSwapFinance/apeswap-swap-core
Impacts in scope
Only the following impacts are accepted within this bug bounty program. All other impacts are not considered as in-scope, even if they affect something in the assets in scope table.
Smart Contract
- Any governance voting result manipulationCriticalImpact
- Direct theft of any user funds, whether at-rest or in-motion, other than unclaimed yieldCriticalImpact
- Permanent freezing of fundsCriticalImpact
- Miner-extractable value (MEV)CriticalImpact
- Protocol InsolvencyCriticalImpact
- Theft of unclaimed yieldHighImpact
- Permanent freezing of unclaimed yieldHighImpact
- Temporary freezing of fundsHighImpact
- Smart contract unable to operate due to lack of token fundsMediumImpact
- Block stuffing for profitMediumImpact
- Griefing (e.g. no profit motive for an attacker, but damage to the users or the protocol)MediumImpact
- Theft of gasMediumImpact
- Unbounded gas consumptionMediumImpact
- Contract fails to deliver promised returns, but doesn't lose valueLowImpact
Websites and Applications
- Execute arbitrary system commandsCriticalImpact
- Retrieve sensitive data/files from a running server such as /etc/shadow, database passwords, and blockchain keys(this does not include non-sensitive environment variables, open source code, or usernames)CriticalImpact
- Subdomain takeover with already-connected wallet interactionCriticalImpact
- Direct theft of user fundsCriticalImpact
- Malicious interactions with an already-connected wallet such as modifying transaction arguments or parameters, substituting contract addresses, submitting malicious transactionsCriticalImpact
- Taking down the application/websiteCriticalImpact
- Taking state-modifying authenticated actions (with or without blockchain state interaction) on behalf of other users without any interaction by that user, such as, changing registration information, commenting, voting, making trades, withdrawals, etc.CriticalImpact
- Injecting/modifying the static content on the target application without Javascript (Persistent) such as HTML injection without Javascript, replacing existing text with arbitrary text, arbitrary file uploads, etc.HighImpact
- Changing sensitive details of other users (including modifying browser local storage) without already-connected wallet interaction and with up to one click of user interaction, such as email or password of the victim, etc.HighImpact
- Improperly disclosing confidential user information such as email address, phone number, physical address, etc.HighImpact
- Subdomain takeover without already-connected wallet interactionHighImpact
- Changing non-sensitive details of other users (including modifying browser local storage) without already-connected wallet interaction and with up to one click of user interaction, such as changing the first/last name of user, or en/disabling notificationMediumImpact
- Injecting/modifying the static content on the target application without Javascript (Reflected) such as reflected HTML injection or loading external site dataMediumImpact
- Redirecting users to malicious websites (Open Redirect)MediumImpact
Out of Scope & Rules
The following vulnerabilities are excluded from the rewards for this bug bounty program:
- Attacks that the reporter has already exploited themselves, leading to damage
- Attacks requiring access to leaked keys/credentials
- Attacks requiring access to privileged addresses (governance, strategist)
Smart Contracts and Blockchain
- Incorrect data supplied by third party oracles
- Not to exclude oracle manipulation/flash loan attacks
- Basic economic governance attacks (e.g. 51% attack)
- Lack of liquidity
- Best practice critiques
- Sybil attacks
Websites and Apps
- Theoretical vulnerabilities without any proof or demonstration
- Content spoofing / Text injection issues
- Self-XSS
- Captcha bypass using OCR
- CSRF with no security impact (logout CSRF, change language, etc.)
- Missing HTTP Security Headers (such as X-FRAME-OPTIONS) or cookie security flags (such as “httponly”)
- Server-side information disclosure such as IPs, server names, and most stack traces
- Vulnerabilities used to enumerate or confirm the existence of users or tenants
- Vulnerabilities requiring unlikely user actions
- URL Redirects (unless combined with another vulnerability to produce a more severe vulnerability)
- Lack of SSL/TLS best practices
- DDoS vulnerabilities
- Attacks requiring privileged access from within the organization
- Feature requests
- Best practices
The following activities are prohibited by bug bounty program:
- Any testing with mainnet or public testnet contracts; all testing should be done on private testnets
- Any testing with pricing oracles or third party smart contracts
- Attempting phishing or other social engineering attacks against our employees and/or customers
- Any testing with third party systems and applications (e.g. browser extensions) as well as websites (e.g. SSO providers, advertising networks)
- Any denial of service attacks
- Automated testing of services that generates significant amounts of traffic
- Public disclosure of an unpatched vulnerability in an embargoed bounty