Zest Protocol Smart Contracts: Program Info

Triaged by HackenProof
Zest Protocol

This program will start in 22 days

Zest Protocol is a Bitcoin lending protocol. Zest Protocol operates on-chain and is open-source. Zest Protocol exists to make Bitcoin productive. All of it. The protocol strives to create a vibrant borrowing and lending ecosystem around BTC the asset.
For more information about Zest Protocol, please visit https://www.zestprotocol.com/.
Zest Protocol provides rewards in USDC/T on Ethereum, denominated in USD. For more details about the payment process, please view the Rewards by Threat Level section further below.

In Scope

Target Type Severity Reward
https://explorer.hiro.so/txid/0xb053fe14c2fb94654185ce1376cd479b9c9e7888bb63fcdf2a84d1857a4a983a?chain=mainnet

Smart Contract - zststx

Smart Contract Critical Bounty
https://explorer.hiro.so/txid/0xa5360acc52acfd48a0f9808fb093386c3e1fe94dc633c3db1f0a1a39235e2f3d?chain=mainnet

Smart Contract - zaeusdc

Smart Contract Critical Bounty
https://explorer.hiro.so/txid/0x5ae326829249e3af84327ddbd56e3c0a27935bf02796c24b403ead298fbb5802?chain=mainnet

Smart Contract - pool-borrow

Smart Contract Critical Bounty
https://explorer.hiro.so/txid/0xad360b87fdf5979eed34ab667111782e508ab356cb10cd2e363d2917ff9f6d43?chain=mainnet

Smart Contract - liquidation-manager

Smart Contract Critical Bounty
https://explorer.hiro.so/txid/0xd118296436d1ae259fefdca8fbca2a6a866dda4de843ecec39b04ead030cc496?chain=mainnet

Smart Contract - pool-0-reserve

Smart Contract Critical Bounty
https://explorer.hiro.so/txid/0x0a4d55f2da25fcfcd930f730bb7ec022189127fa756ad35d77b3d96402527153?chain=mainnet

Smart Contract - pool-vault

Smart Contract Critical Bounty
https://explorer.hiro.so/txid/0xdaf1f64b49395f138c48e459ea7ffa12f99ff0e84439d65d259caeec9a1324cb?chain=mainnet
Smart Contract Critical Bounty
https://explorer.hiro.so/txid/0x58e0072ea7b4e1f45962352e0b08973cd9bc50d25d323ba72bfa8c502d069f58?chain=mainnet
Smart Contract Critical Bounty
https://explorer.hiro.so/txid/0xede645aa045babcccb4f83c3137258cabf738b935c15cf51e3d86f2ee4a30ba9?chain=mainnet
Smart Contract Critical Bounty
https://explorer.hiro.so/txid/0xdedad04a85931136d03c27f13f4c264008426c887ae03452326f1814770adcb2?chain=mainnet
Smart Contract Critical Bounty
https://explorer.hiro.so/txid/0xc1277a0d82bbb43cfc51631ae370da4af7f84b6e34066d5ca81aea82ef5836f3?chain=mainnet
Smart Contract Critical Bounty
https://explorer.hiro.so/txid/0x26c9789582a696463052b1c352d22d9887b4b7615fa98574cb04ae24c73acafe?chain=mainnet
Smart Contract Critical Bounty
https://explorer.hiro.so/txid/0x49d35013eb62cdcd168c38e20d006701f01fd08cefd577670ea8cbd7ffec8038?chain=mainnet
Smart Contract Critical Bounty

IN SCOPE: SMART CONTRACT VULNERABILITIES

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.

  • Direct theft of any user funds, whether at-rest or in-motion, other than unclaimed yield (Critical Impact)
  • Permanent freezing of funds (Critical Impact)
  • Protocol insolvency (Critical Impact)
  • Theft of unclaimed yield (High Impact)
  • Theft of unclaimed royalties (High Impact)
  • Permanent freezing of unclaimed yield (High Impact)
  • Permanent freezing of unclaimed royalties (High Impact)
  • Temporary freezing of funds (High Impact)

OUT OF SCOPE: SMART CONTRACT VULNERABILITIES

These impacts are out of scope for this bug bounty program.

All Categories:

  • Impacts requiring attacks that the reporter has already exploited themselves, leading to damage
  • Impacts caused by attacks requiring access to leaked keys/credentials
  • Impacts caused by attacks requiring access to privileged addresses (governance, strategist) except in such cases where the contracts are intended to have no privileged access to functions that make the attack possible
  • Impacts relying on attacks involving the depegging of an external stablecoin where the attacker does not directly cause the depegging due to a bug in code
  • Mentions of secrets, access tokens, API keys, private keys, etc. in Github will be considered out of scope without proof that they are in-use in production
  • Best practice recommendations
  • Feature requests
  • Impacts on test files and configuration files unless stated otherwise in the bug bounty program

Smart Contract Specific:

  • Incorrect data supplied by third party oracles
  • Any draining of funds via the token authentication use of tx-sender is not in the scope of this bug bounty. Please see https://coinfabrik.b-cdn.net/wp-content/uploads/2024/02/Zest-Protocol-Borrow-Audit-2024-01.pdf page 7 for more details.
  • Not to exclude oracle manipulation/flash loan attacks
  • Impacts requiring basic economic and governance attacks (e.g. 51% attack)
  • Lack of liquidity impacts
  • Impacts from Sybil attacks
  • Impacts involving centralization risks
  • Avoid using web application scanners for automatic vulnerability searching which generates massive traffic
  • Make every effort not to damage or restrict the availability of products, services, or infrastructure
  • Avoid compromising any personal data, interruption, or degradation of any service
  • Don’t access or modify other user data, localize all tests to your accounts
  • Perform testing only within the scope
  • Don’t exploit any DoS/DDoS vulnerabilities, social engineering attacks, or spam
  • Don’t spam forms or account creation flows using automated scanners
  • In case you find chain vulnerabilities we’ll pay only for vulnerability with the highest severity.
  • Don’t break any law and stay in the defined scope
  • Any details of found vulnerabilities must not be communicated to anyone who is not a HackenProof Team or an authorized employee of this Company without appropriate permission
  • Zest Protocol’s codebase can be found at https://github.com/Zest-Protocol/zest-contracts/tree/main/onchain/contracts/borrow . Documentation and further resources can be found on https://docs.zestprotocol.com/start/.
  • Do not discuss this program or any vulnerabilities (even resolved ones) outside of the program without express consent from the organization
  • No vulnerability disclosure, including partial is allowed for the moment.
  • Please do NOT publish/discuss bugs

We are happy to thank everyone who submits valid reports which help us improve the security. However, only those that meet the following eligibility requirements may receive a monetary reward:

  • You must be the first reporter of a vulnerability.
  • The vulnerability must be a qualifying vulnerability
  • Any vulnerability found must be reported no later than 24 hours after discovery and exclusively through hackenproof.com
  • You must send a clear textual description of the report along with steps to reproduce the issue, include attachments such as screenshots or proof of concept code as necessary.
  • You must not be a former or current employee of us or one of its contractor.
  • ONLY USE the EMAIL under which you registered your HackenProof account (in case of violation, no bounty can be awarded)
  • Provide detailed but to-the point reproduction steps
  • Any testing on mainnet or public testnet deployed code; all testing should be done on local-forks of either public testnet or mainnet
  • 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 that are executed against project assets
  • Automated testing of services that generates significant amounts of traffic
  • Public disclosure of an unpatched vulnerability in an embargoed bounty