PERI Finance

Submit a Bug
16 June 2021
Live since
Yes
KYC required
$3,000
Maximum bounty

Program Overview

PERI Finance is a decentralized cross-chain synthetic issuance and derivative exchange protocol that provides unlimited liquidity on the Polkadot network. It gives an opportunity to access a wide range of both traditional financial and crypto assets in the forms of leveraged and none-leveraged synthetic products. We empower you with lower GAS fees, speedy transactions, and ample security from front-running or flash loans.

For more information about PERI Finance, please visit https://www.pynths.com/.

The bug bounty program covers its smart contracts and staking page 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. 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 final decision of the reward, which is affected by the exploitability of the bug report, is done by the PERI Finance team.

Payouts are handled by the PERI Finance team directly and are denominated in USD. Payouts are done in USDT.

Smart Contracts and Blockchain

Critical
Level
USD $1,000 - USD $3,000
Payout
high
Level
USD $500 - USD $1,000
Payout
medium
Level
USD $300 - USD $500
Payout
low
Level
USD $100 - USD $300
Payout

Web and Apps

Critical
Level
USD $500
Payout
high
Level
USD $300
Payout
medium
Level
USD $200
Payout
low
Level
USD $100
Payout

Assets in Scope

Only web/app vulnerabilities that directly affect the web/app assets listed in this table are accepted within the bug bounty program. All others are out-of-scope.

Under the GitHub link, only the smart contract vulnerabilities that affect the following processes are accepted and are eligible for a reward.

  • Staking PERI/USDC(Issue pUSD)
  • Unstaking PERI/USDC(burn Pynths)
  • Claiming(Inflationary Reward)

All testnet and mock smart contracts, even those that are around Staking, Unstaking, and Claiming, are considered as out-of-scope for this bug bounty program.

Smart Contract
Type
Web/App
Type
Smart Contract - SafeDecimalMath
Type
Smart Contract - Math
Type
Smart Contract - AddressResolver
Type
Smart Contract - ReadProxyAddressResolver
Type
Smart Contract - SystemSettings
Type
Smart Contract - SystemStatus
Type
Smart Contract - FlexibleStorage
Type
Smart Contract - ProxyERC20
Type
Smart Contract - TokenStatePeriFinance
Type
Smart Contract - BlacklistManager
Type
Smart Contract - PeriFinance
Type
Smart Contract - ExchangeRates
Type
Smart Contract - RewardEscrow
Type
Smart Contract - RewardEscrowV2
Type
Smart Contract - PeriFinanceEscrow
Type
Smart Contract - PeriFinanceState
Type
Smart Contract - ProxyFeePool
Type
Smart Contract - DelegateApprovalsEternalStorage
Type
Smart Contract - DelegateApprovals
Type
Smart Contract - Liquidations
Type
Smart Contract - EternalStorageLiquidations
Type
Smart Contract - FeePoolEternalStorage
Type
Smart Contract - FeePool
Type
Smart Contract - FeePoolState
Type
Smart Contract - RewardsDistribution
Type
Smart Contract - DebtCache
Type
Smart Contract - Exchanger
Type
Smart Contract - ExchangeState
Type
Smart Contract - Issuer
Type
Smart Contract - TradingRewards
Type
Smart Contract - EscrowChecker
Type
Smart Contract - SupplySchedule
Type
Smart Contract - TokenStatepUSD
Type
Smart Contract - ProxyERC20pUSD
Type
Smart Contract - PynthpUSD
Type
Smart Contract - StakingState
Type
Smart Contract - ExternalTokenStakeManager
Type
Smart Contract - ExternalRateAggregator
Type
Smart Contract - Depot
Type
Smart Contract - EtherCollateral
Type
Smart Contract - EtherCollateralpUSD
Type
Smart Contract - PeriFinanceBridgeToOptimism
Type
Smart Contract - PynthUtil
Type
Smart Contract - DappMaintenance
Type
Smart Contract - CollateralManagerState
Type
Smart Contract - CollateralManager
Type
Smart Contract - CollateralStateEth
Type
Smart Contract - CollateralEth
Type
Smart Contract - CollateralStateErc20
Type
Smart Contract - CollateralErc20
Type
Smart Contract - CollateralStateShort
Type
Smart Contract - CollateralShort
Type
Smart Contract - StakingRewardsPeriBnbPancakeSwap
Type

Prioritized Vulnerabilities

We are especially interested in receiving and rewarding vulnerabilities of the following types:

Smart Contracts and Blockchain

  • Re-entrancy
  • Logic errors
    • including user authentication errors
  • Solidity/EVM details not considered
    • including integer over-/under-flow
    • including rounding errors
    • including unhandled exceptions
  • Trusting trust/dependency vulnerabilities
    • including composability vulnerabilities
  • Oracle failure/manipulation
  • Novel governance attacks
  • Economic/financial attacks
    • including flash loan attacks
  • Congestion and scalability
    • including running out of gas
    • including block stuffing
    • including susceptibility to frontrunning
  • Consensus failures
  • Cryptography problems
    • Signature malleability
    • Susceptibility to replay attacks
    • Weak randomness
    • Weak encryption
  • Susceptibility to block timestamp manipulation
  • Missing access controls / unprotected internal or debugging interfaces

Websites and Apps

  • Remote Code Execution
  • Trusting trust/dependency vulnerabilities
  • Vertical Privilege Escalation
  • XML External Entities Injection
  • SQL Injection
  • LFI/RFI
  • Horizontal Privilege Escalation
  • Stored XSS
  • Reflective XSS with impact
  • CSRF with impact
  • Direct object reference
  • Internal SSRF
  • Session fixation
  • Insecure Deserialization
  • DOM XSS
  • SSL misconfigurations
  • SSL/TLS issues (weak crypto, improper setup)
  • URL redirect
  • Clickjacking (must be accompanied with PoC)
  • Misleading Unicode text (e.g. using right to left override characters)

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