WePiggy
Program Overview
WePiggy is an open source, non-custodial crypto asset lending market protocol. In WePiggy's market, users can deposit their crypto assets to earn interest, or borrow others by paying interests.
For more information about WePiggy, please visit https://www.wepiggy.com/.
This bug bounty program is focused on their smart contracts and app and is focused on preventing:
- Thefts and freezing of principal of any amount
- Thefts and freezing of unclaimed yield of any amount
- Theft of governance 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/app bug reports must come with a PoC with an end-effect impacting an asset-in-scope in order to be considered for a reward. Explanations and statements are not accepted as PoC and code is required. All bug reports must come with a suggestion for a fix to be considered for a reward.
All known issues highlight in the following audit reports are considered to be out-of-scope:
WePiggy requires KYC to be done for all bug bounty hunters submitting a report and wanting a reward. The information needed are the name, affiliated company (if any) and an email address or Telegram handle.
In addition, WePiggy has the following requirements for bug bounty hunters to be eligible for rewards:
- Be at least 18 years of age.
- Be reporting in an individual capacity, or if employed by a company, reporting with the company's written approval to submit a disclosure to WePiggy.
- Not be a current or former WePiggy employee, vendor, contractor, or employee of a WePiggy vendor or contractor.
Payouts are handled by the WePiggy team directly and are denominated in USD. However, payouts are done in USDC.
Smart Contract
- Critical
- Level
- USD $100,000
- Payout
- High
- Level
- USD $4,000
- Payout
Websites and Applications
- Critical
- Level
- USD $25,000
- Payout
Assets in scope
- Smart Contract - TimelockType
- Smart Contract - WP_PRICE_PROVIDER_V1Type
- Smart Contract - WE_PIGGY_PRICE_ORACLE_V1Type
- Smart Contract - COMPTROLLERType
- Smart Contract - STABLECOIN_JUMP_RATE_MODELType
- Smart Contract - BTC_ETH_JUMP_RATE_MODELType
- Smart Contract - MAINSTREAM_JUMP_RATE_MODELType
- Smart Contract - P_UNIType
- Smart Contract - P_YFIIType
- Smart Contract - P_DAIType
- Smart Contract - P_USDTType
- Smart Contract - P_USDCType
- Smart Contract - P_WBTCType
- Smart Contract - P_ETHType
- Smart Contract - MAX_IMILLIONType
- Smart Contract - PIGGY_DISTRIBUTIONType
- Smart Contract - P_LRCType
- Smart Contract - XLON_ORACLE_ADAPTERType
- Smart Contract - pxLONType
- Smart Contract - P_RAIType
- Smart Contract - WPCType
- Smart Contract - WE_PIGGY_PRICE_ORACLE_V1 (Implementation)Type
- Smart Contract - Comptroller(Implementation)Type
- Smart Contract - STABLECOIN_JUMP_RATE_MODEL (Implementation)Type
- Smart Contract - PERC20 (Implementation)Type
- Smart Contract - P_ETH (Implementation)Type
- Smart Contract - PIGGY_DISTRIBUTION (Implementation)Type
- Smart Contract - STABLECOIN_JUMP_RATE_MODEL (Implementation)Type
- Smart Contract - WP_PRICE_PROVIDER_V1Type
- Smart Contract - WPCType
- TargetSmart Contract - WE_PIGGY_PRICE_ORACLE_V1Type
- TargetSmart Contract - COMPTROLLERType
- Smart Contract - STABLECOIN_JUMP_RATE_MODELType
- Smart Contract - BTC_ETH_JUMP_RATE_MODELType
- Smart Contract - MAINSTREAM_JUMP_RATE_MODELType
- Smart Contract - P_ONEType
- Smart Contract - P_BUSDType
- Smart Contract - P_USDTType
- Smart Contract - P_USDCType
- Smart Contract - P_DAIType
- Smart Contract - P_ETHType
- Smart Contract - P_WBTCType
- Smart Contract - MAX_IMILLIONType
- TargetSmart Contract - PIGGY_DISTRIBUTIONType
- Smart Contract - WP_PIGGY_PRICE_PROVIDER_V1Type
- Smart Contract - WE_PIGGY_PRICE_ORACLE_V1Type
- Smart Contract - dQUICK_ORACLEType
- Smart Contract - STABLECOIN_JUMP_RATE_MODELType
- Smart Contract - BTC_ETH_JUMP_RATE_MODELType
- Smart Contract - MAINSTREAM_JUMP_RATE_MODELType
- Smart Contract - COMPTROLLERType
- Smart Contract - PIGGY_DISTRIBUTIONType
- Smart Contract - MAX_IMILLIONType
- Smart Contract - P_MATICType
- Smart Contract - P_USDCType
- Smart Contract - P_USDTType
- Smart Contract - P_DAIType
- Smart Contract - P_WETHType
- Smart Contract - P_WBTCType
- Smart Contract - P_SUSHIType
- Smart Contract - P_LINKType
- Smart Contract - P_CRVType
- Smart Contract - P_DQUICKType
- Smart Contract - WPCType
- Smart Contract - WE_PIGGY_PRICE_ORACLE_V1(Implementation)Type
- Smart Contract - STABLECOIN_JUMP_RATE_MODEL(Implementation)Type
- Smart Contract - COMPTROLLER (Implementation)Type
- Smart Contract - PIGGY_DISTRIBUTION(Implementation)Type
- Smart Contract - P_MATIC(Implementation)Type
- Smart Contract - P_WETH(Implementation)Type
- Smart Contract - PIGGY_DISTRIBUTION(Implementation)Type
- Smart Contract - WE_PIGGY_PRICE_ORACLE_V1Type
- Smart Contract - WP_PIGGY_PRICE_PROVIDER_ARBType
- Smart Contract - STABLECOIN_JUMP_RATE_MODELType
- Smart Contract - BTC_ETH_JUMP_RATE_MODELType
- Smart Contract - MAINSTREAM_JUMP_RATE_MODELType
- Smart Contract - COMPTROLLERType
- Smart Contract - PIGGY_DISTRIBUTIONType
- Smart Contract - MAX_IMILLIONType
- Smart Contract - P_ETHType
- Smart Contract - P_WBTCType
- Smart Contract - P_USDCType
- Smart Contract - P_LINKType
- Smart Contract - P_USDTType
- Smart Contract - P_DAIType
- Smart Contract - WPCType
- Smart Contract - WE_PIGGY_PRICE_ORACLE_V1 (Implementation)Type
- Smart Contract - STABLECOIN_JUMP_RATE_MODEL (Implementation)Type
- Smart Contract - COMPTROLLER (Implementation)Type
- Smart Contract - PIGGY_DISTRIBUTION (Implementation)Type
- Smart Contract - P_ETH (Implementation)Type
- Smart Contract - P_WBTC (Implementation)Type
- Smart Contract - WP_PRICE_PROVIDER_V1Type
- Smart Contract - WE_PIGGY_PRICE_ORACLE_V1Type
- Smart Contract - WPCType
- Smart Contract - PIGGY_DISTRIBUTIONType
- Smart Contract - COMPTROLLERType
- Smart Contract - STABLECOIN_JUMP_RATE_MODELType
- Smart Contract - BTC_ETH_JUMP_RATE_MODELType
- Smart Contract - MAINSTREAM_JUMP_RATE_MODELType
- Smart Contract - MAX_IMILLIONType
- Smart Contract - P_BNBType
- Smart Contract - P_ETHType
- Smart Contract - P_BTCBType
- Smart Contract - P_DAIType
- Smart Contract - P_USDTType
- Smart Contract - P_USDCType
- Smart Contract - P_BUSDType
- Smart Contract - P_DOTType
- Smart Contract - P_UNIType
- Smart Contract - P_CAKEType
- Smart Contract - P_LTCType
- Smart Contract - P_LINKType
- Smart Contract - P_ADAType
- Smart Contract - P_FILType
- Smart Contract - P_NULSType
- Smart Contract - P_MASKType
- Smart Contract - WPCType
- Smart Contract - WE_PIGGY_PRICE_ORACLE_V1 (Implementation)Type
- Smart Contract - PIGGY_DISTRIBUTION (Implementation)Type
- Smart Contract - Comptroller (Implementation)Type
- Smart Contract - STABLECOIN_JUMP_RATE_MODEL(Implementation)Type
- Smart Contract - P_BNB (Implementation)Type
- Smart Contract - P_ETH(Implementation)Type
- Smart Contract - WP_PRICE_PROVIDER_V1Type
- Smart Contract - WE_PIGGY_PRICE_ORACLE_V1Type
- Smart Contract - COMPTROLLERType
- Smart Contract - BTC_ETH_JUMP_RATE_MODELType
- Smart Contract - STABLECOIN_JUMP_RATE_MODELType
- Smart Contract - MAINSTREAM_JUMP_RATE_MODELType
- Smart Contract - MAX_IMILLIONType
- Smart Contract - PIGGY_DISTRIBUTIONType
- Smart Contract - P_OKTType
- Smart Contract - P_OKBType
- Smart Contract - P_BTCKType
- Smart Contract - P_ETHKType
- Smart Contract - P_USDCType
- Smart Contract - P_DAIKType
- Smart Contract - P_USDTType
- Smart Contract - P_DOTKType
- Smart Contract - P_UNIKType
- Smart Contract - P_LINKKType
- Smart Contract - P_ETCKType
- Smart Contract - P_SUSHIKType
- Smart Contract - P_FILKType
- Smart Contract - P_WBTCKType
- Smart Contract - WPCType
- Smart Contract - WE_PIGGY_PRICE_ORACLE_V1 (Implementation)Type
- Smart Contract - COMPTROLLER(Implementation)Type
- Smart Contract - BTC_ETH_JUMP_RATE_MODEL (Implementation)Type
- Smart Contract - PIGGY_DISTRIBUTION(Implementation)Type
- Smart Contract - P_OKT (Implementation)Type
- Smart Contract - P_OKB(Implementation)Type
- Smart Contract - WP_PRICE_PROVIDER_V1Type
- Smart Contract - WE_PIGGY_PRICE_ORACLE_V1Type
- Smart Contract - COMPTROLLERType
- Smart Contract - PIGGY_DISTRIBUTIONType
- Smart Contract - STABLECOIN_JUMP_RATE_MODELType
- Smart Contract - BTC_ETH_JUMP_RATE_MODELType
- Smart Contract - MAINSTREAM_JUMP_RATE_MODELType
- Smart Contract - MAX_IMILLIONType
- Smart Contract - P_MOVRType
- Smart Contract - P_BUSDType
- Smart Contract - P_USDTType
- Smart Contract - P_USDCType
- Smart Contract - P_DAIType
- Smart Contract - P_ETHType
- Smart Contract - P_WBTCType
- Smart Contract - P_BNBType
- Smart Contract - WPCType
- Smart Contract - WE_PIGGY_PRICE_ORACLE_V1Type
- Smart Contract - STABLECOIN_JUMP_RATE_MODELType
- Smart Contract - BTC_ETH_JUMP_RATE_MODELType
- Smart Contract - MAINSTREAM_JUMP_RATE_MODELType
- Smart Contract - COMPTROLLERType
- Smart Contract - PIGGY_DISTRIBUTIONType
- Smart Contract - MAX_IMILLIONType
- Smart Contract - P_ETHType
- Smart Contract - P_USDCType
- Smart Contract - P_USDTType
- Smart Contract - P_DAIType
- Smart Contract - P_BTCType
- Smart Contract - P_LINKType
- Smart Contract - WPCType
- Smart Contract - WP_PRICE_PROVIDER_V1Type
- Smart Contract - WE_PIGGY_PRICE_ORACLE_V1Type
- Smart Contract - COMPTROLLERType
- Smart Contract - PIGGY_DISTRIBUTIONType
- Smart Contract - STABLECOIN_JUMP_RATE_MODELType
- Smart Contract - BTC_ETH_JUMP_RATE_MODELType
- Smart Contract - MAINSTREAM_JUMP_RATE_MODELType
- Smart Contract - MAX_IMILLIONType
- Smart Contract - P_HTType
- Smart Contract - P_HUSDType
- Smart Contract - P_USDTType
- Smart Contract - P_USDCType
- Smart Contract - P_ETHType
- Smart Contract - P_HBTCType
- Smart Contract - P_HPTType
- Smart Contract - P_HDOTType
- Smart Contract - P_HLTCType
- Smart Contract - P_HBCHType
- Smart Contract - P_MDXType
- Smart Contract - P_HFILType
- Smart Contract - P_UNIType
- Smart Contract - P_DAIType
- Smart Contract - WPCType
- TargetWebsites and Applications - (Desktop)Type
- Websites and Applications - (Mobile)Type
All smart contracts of WePiggy can be found at https://github.com/WePiggy. However, only those in the Assets in Scope table are considered as in-scope of the bug bounty program.
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
- Loss of user funds staked (principal) by freezing or theftCriticalImpact
- Loss of governance fundsCriticalImpact
- Theft of unclaimed yieldHighImpact
- Freezing of unclaimed yield for at least 24 hoursHighImpact
Websites and Applications
- Shell access on serverCriticalImpact
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
- Centralization risks
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 this 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