Degen Street Bets

CertiK1 address on BNB Chain

CertiK reviewed DegenStreetBets (Degen Street Bets) on 26 Sep 2022: 6 findings, 0 critical; all acknowledged, none fixed.

No open critical findings
Open the reportOpen DegenStreetBets’s security record

Report hosted on skynet.certik.com.

Trustblock does not review code.

Findings6

Statuses are the security firm’s own, from its report.

SeverityOpenAcknowledgedFixed
Critical000
High020
Medium000
Low040
HighCentralization Risks in DegenStreetBets.solAcknowledged

In the contract `DSB` the role `ADMIN_ROLE` has authority over the functions shown in the diagram below. Any compromise to the `ADMIN_ROLE` account may allow the hacker to take advantage of this authority and set properties and - set percentage of tax used to add liquidity or send to marketing address through function `setShares`. - withdraw dust BNB through function `recoverBNB`. ![](https://accelerator-tasks-prod.acc.corp.certik.com/748801d2a3d14c2c907bb6b3cea73e6d/diagrams/centralization_DegenStreetBets-DSB-ADMIN_ROLE.svg) In the contract `DSB` the role `DEFAULT_ADMIN_ROLE` has authority over the functions shown in the diagram below. Any compromise to the `DEFAULT_ADMIN_ROLE` account may allow the hacker to take advantage of this authority and enable trading and set the Pinksale address. ![](https://accelerator-tasks-prod.acc.corp.certik.com/748801d2a3d14c2c907bb6b3cea73e6d/diagrams/centralization_DegenStreetBets-DSB-DEFAULT_ADMIN_ROLE.svg)

HighInitial Token DistributionAcknowledged

All of the 10**7 tokens are sent to the contract deployer when deploying the contract. This could be a centralization risk as the deployer can distribute all tokens without obtaining the consensus of the community.

LowMissing Zero Address ValidationAcknowledged

Addresses should be checked before assignment or external call to make sure they are not zero addresses. ```solidity=193 pinksaleAddress = pinksale; ``` - `pinksale` is not zero-checked before being used.

LowPotential Sandwich AttacksAcknowledged

A sandwich attack might happen when an attacker observes a transaction swapping tokens or adding liquidity without setting restrictions on slippage or minimum output amount. The attacker can manipulate the exchange rate by frontrunning (before the transaction being attacked) a transaction to purchase one of the assets and make profits by backrunning (after the transaction being attacked) a transaction to sell the asset. The following functions are called without setting restrictions on slippage or minimum output amount, so transactions triggering these functions are vulnerable to sandwich attacks, especially when the input amount is large: - `ROUTER.swapExactTokensForETH()` - `ROUTER.addLiquidityETH()`

LowThird Party DependencyAcknowledged

The contract is serving as the underlying entity to interact with one or more third party protocols. The scope of the audit treats third party entities as black boxes and assume their functional correctness. However, in the real world, third parties can be compromised and this may lead to lost or stolen assets. In addition, upgrades of third parties can possibly create severe impacts, such as increasing fees of third parties, migrating to new LP pools, etc. ```solidity=17 IDexRouter public constant ROUTER = IDexRouter(0x10ED43C718714eb63d5aA57B78B54704E256024E); ``` - The contract `DSB` interacts with third party contract with `IDexRouter` interface via `ROUTER`.

LowUnchecked ERC-20 `transfer()`/`transferFrom()` CaAcknowledged

The return value of the transfer()/transferFrom() call is not checked. ```solidity=187 token.transfer(_msgSender(), amount); ```

Contracts in scope1

AddressChainSource code
0x890bead2ecdd2eedff3d035f981b6a040c31cab7Chain: BNB ChainSource code: Verified source

Part of DegenStreetBets’s security record

DegenStreetBets
Audits1 audit by 1 firmLast audit Sep 2022, by CertiK.
Critical findingsNo open critical findingsIn 1 report.
Open DegenStreetBets’s security record

Security firm

CertiK

1,044 projects reviewed · 1,375 reports · latest May 2025

See CertiK’s audits

Something wrong on this page? A missing report, a wrong date, a finding that was fixed since. Tell us and we check it against its source.

Tell us