CertiK LogoCertiK Logo
Betfin logo
Betfin
Gaming
Yield Farming
DAO
Max Payout
$30,000
Project Overview

Betfin is a decentralized gaming and staking platform that allows users to enjoy decentralized games with option to generate rewards as a "casino owner". There are 2 types of games and 2 types of staking on Betfin - conservative and dynamic staking and games. Conservative games are games where users play one against other without a risk for a platform where conservative staking generates 3.6% winning fee. Dynamic staking represents a fully decentralized casino where the winner decision is based on the random number generated by Chainlink VRF. In dynamic staking you become a casino owner and generate profit if users looses and opositely - you provide a liquidity for winnings. Important part is affiliate that allows you to generate profit from users stake and bets with extension in binary tree. Last but not least is partnership system that allows anyone to create own decentralized gaming branch.

Contracts documentation here: https://betfin.gitbook.io/betfin-public/v/about-betfin-1/smartcontracts-description/contracts-overview

Rewards by Severity

Additional reward of 10% up to 70,000 USDT for finding a critical bug that may result a direct damage that is fatal for the project. Such bug can be drain of funds from the contracts, possibility to mint tokens or change of consensus that would result such direct damage.

Additional reward of 10% market value of tokens involved (min 5,000 up to 30,000 USDT) for finding a critical bug that will result permanent freeze of assets or permanent shutdown of the contract functionality.

Smart Contract
Web Application
Blockchain
The bounty will be paid out in USDT
Assets In-Scope
In-Scope Vulnerabilities
Only the following impacts are accepted within this bug bounty program. All other impacts are not considered in-scope, even if they affect something in the assets in scope table.
Smart Contract
Critical
Direct theft of any user funds - whether at-rest or in-motion - other than unclaimed yield
Freezing or shutdown of systems
Unauthorized mint/burn/transfer of assets
Permanent denial of services
Double spending
Major
Faulty usage of proxy patterns
Temporary denial of services
Temporary freezing of funds for any amount of time
Access control is bypassed - including privilege escalation
Theft or permanent freezing of unclaimed yield
Medium
Unexpected logic executions (doesn’t lose value)
Users could lose funds due to rounding
Griefing (e.g. no profit motive for an attacker but damage to the users or the protocol)
Weak random sources
Low
Non-intuitive return values
Important gas optimizations
Smart contract fails to deliver promised returns - but doesn’t lose value
Missing events for functions that change critical parameters
Web Application
Critical
Non-intuitive return values
Important gas optimizations
Smart contract fails to deliver promised returns - but doesn’t lose value
Missing events for functions that change critical parameters
Major
Remote code execution and code injection
SQL injection
Obtaining high-impact sensitive information from the internal system
XXE/XML injection vulnerability with high-security impact
Authentication and authorization bypass with high impact
Wormable stored XSS
Large scale account takeover
Leakage of a lot of source code
Access to internal communication or accesses such as domain
permanent shutdown of frontend service
change data in offchain affiliate system
Medium
Account takeover
Stored XSS on general pages
CSRF involving core business
etc
IDOR with medium security impact/Horizontal and Vertical Privilege Escalation
The leakage of locally-stored sensitive authentication key information
Medium impact information disclose
Low
General information leakage - such as web path traversal - system path traversal - directory browsing etc
Reflected XSS - DOM XSS and Flash-based XSS
SMS bombs - mail bombs (each system only accepts one type of this vulnerability)
No return value and no in-depth utilization of successful SSRF
Other vulnerabilities with low-security impact
Blockchain
Critical
Permanent freezing of funds(fix requires hard fork)
Transaction/consensus manipulation
Unauthorized token minting
Unauthorized drain of funds from any of the Betfin contract
permanent contract freeze
Major
Systematic manipulation with or misuse of the bet result or bet payout with result logic
manipulation with or misuse of staking accounting or payout logic
systematic manipulation with affiliate payout or sorting logic or its misuse
manipulation with partner tariffs logic or its misuse with result of direct damage
Medium
Vulnerability in RPC API (except via DDoS attack)
Unhandled on-chain errors affecting a user corner case
ability block or affect particular transaction such single calculation of bet result or staking payout or affiliate where the result is impossibility to execute the transaction or potential direct damage for token holders
Low
Griefing (e.g. triggering abnormally high gas fees for everyone or abnormal cpu consumption for validator/mining nodes)
any type of bug that can negatively affect a user and is not
Out-Of-Scope Vulnerabilities
The following vulnerabilities are excluded from the rewards for this bug bounty program:
  • Vulnerabilities that have already been exploited
  • Centralization-related vulnerabilities related to: private keys, privileged addresses, governance, credentials, etc.
Smart Contract
Incorrect data supplied by third party oracles (Not to exclude oracle manipulation/flash loan attacks)
Basic economic governance attacks (e.g. 51% attack)
Best practice critiques
Sybil attacks
Centralization risks
Web Application
Email Spoofing - SPF/DMARC Records Misconfiguration
Clickjacking
Any activity that could lead to the disruption of our service (DoS)
Missing best practices in SSL/TLS configuration
Previously known vulnerable libraries without a working Proof of Concept
Issues that require unlikely user interaction
Unconfirmed reports from automated vulnerability scanners
Reports exploiting the behavior of - or vulnerabilities in - outdated browsers
Cross-Site Request Forgery (CSRF) on unauthenticated forms or forms with no sensitive actions - Login/Logout CSRF
Non-Sensitive Data Disclosure - for example server version banners
Self-XSS with no security impact
CORS misconfiguration with no security impact
Missing HttpOnly or Secure flags on cookies
Presence of autocomplete attribute on web forms
Blockchain
Centralization risks
Best practice critiques
Program Rules
  • Please provide detailed reports with reproducible steps. If the report is not detailed enough to reproduce the issue - the issue will not be eligible for a reward., Submit one vulnerability per report - unless you need to chain vulnerabilities to provide impact., When duplicates occur we only award the first report that was received (provided that it can be fully reproduced)., Multiple vulnerabilities caused by one underlying issue will be awarded one bounty., Make a good faith effort to avoid privacy violations - destruction of data - and interruption or degradation of our service. Only interact with accounts you own or with explicit permission of the account holder., Do not attempt to conduct post-exploitation including modification or destruction of data - and interruption or degradation of services., Do not attempt to perform brute-force attacks or denial-of-service attacks., Do not attempt to target employees or customers including social engineering attacks - phishing attacks or physical attacks.
The following activities are prohibited by this bug bounty program:
  • Automated testing of services that generate significant amounts of traffic., Public disclosure of an unpatched vulnerability in an embargoed bounty., Social engineering (e.g. phishing
  • vishing
  • smishing) of any kind.
FAQs
How do I search for active bounties?
A: Active bounties can be viewed here [CertiK URL], and by filtering for bounties on the Security Leaderboard. Projects will post bounties along with the assets in the scope of the bounties with a corresponding bounty reward.
How do I submit a bounty?
To submit a bug report, first register an account with us https://www.certik.com/auth/signup. Once your account is created, you can log in and select “Submit Bug” for the specific bounties you're interested in. You will be prompted to fill out a webform; follow the instructions and upon successful submission, you will receive an email confirmation with a reference ID.
Who do I contact if I'm having trouble with my bug report submission?
You can reach out to bugbounty@certik.com for updates and assistance with your bug bounty submission.
I submitted my bug report. What now?
Once your bug report is submitted, CertiK will evaluate the report and contact the respective project. Depending on the criteria stated within a bug bounty, a KYC may be required. With valid bug reports, you will be contacted to begin the process of evaluating the bug with the project.
How is KYC handled?
CertiK has a team of investigative professionals that will handle any needed KYC services for bug bounty submissions requiring KYC.
Why was my bug report submission rejected?
A description of dismissal will be available for any bug bounty that is rejected.
The project is being slow responding to my bug report. What are their required response times / SLAs?
There can be multiple bug bounty submissions therefore there might be some delay in process times.
How do payouts work?
Payments for successful bug bounties will be communicated directly via the project wherein wallet information can be exchanged.
Bounty Highlights
Assets in Scope1
Live SinceMay 21, 2024
Last Updated4mo 28d ago
Funds Reserved$50,000
Max Payout$30,000
Skynet Score
81.85
A
KYC
Not Required
PoC
Required