WealthSecrets security record

As of 3 Nov 2026, WealthSecrets has 1 audit report on Trustblock, by CertiK, dated 17 Feb 2023. That report lists no open critical findings. It also holds 1 deployed contract on 1 chain.

Critical findings
No open critical findings
In 1 report.
Open the latest report
Your label, live
Get the label for your site

Record last updated . It holds audits and findings, contracts and incidents up to Nov 2026. Trustblock does not review code.

Audits1

Newest first

AuditSecurity firmDateScopeCritical findingsReport
WealthSecretsSecurity firm: CertiKDate: Scope: 1 address on BNB ChainNo open critical findingsOpen · skynet.certik.com

Findings19

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

SeverityOpenAcknowledgedFixed
Critical000
High100
Medium301
Low1400
HighCentralization Related RisksWealthSecrets · CertiK · 17 Feb 2023Open

In the contract `Ownable` the role `_owner` has authority over the functions shown in the diagram below. Any compromise to the `_owner` account may allow the hacker to take advantage of this authority. ![](https://accelerator-tasks-prod.acc.corp.certik.com/57049cdc655a4456aa41220551bc60e2/diagrams/centralization-Ownable-_owner.svg) In the contract `Ownable` the role `_previousOwner` has authority over the functions shown in the diagram below. Any compromise to the `_previousOwner` account may allow the hacker to take advantage of this authority. ![](https://accelerator-tasks-prod.acc.corp.certik.com/57049cdc655a4456aa41220551bc60e2/diagrams/centralization-Ownable-_previousOwner.svg) In the contract `Token` the role `_owner` has authority over the functions shown in the diagram below. Any compromise to the `_owner` account may allow the hacker to take advantage of this authority. ![](https://accelerator-tasks-prod.acc.corp.certik.com/57049cdc655a4456aa41220551bc60e2/diagrams/centralization-Token-_owner.svg)

Open the report
MediumLack of reasonable boundaryWealthSecrets · CertiK · 17 Feb 2023Open

The variable `_maxTxAmount` and `_maxWalletAmount` could be set arbitrarily when deploying the contract `Token`, also, the variable `buyBackLimit` does not have reasonable boundaries when setting it. More seriously, setting `buyBackLimit` to a very small value may lead to the failure of buying back tokens.

Open the report
MediumLogical Issue of Percentage Used to Buy Back theWealthSecrets · CertiK · 17 Feb 2023Open

According to the following codes: ```solidity uint256 balance = address(this).balance; if (buyBackEnabled && balance > uint256(1 * 10**18)) { if (balance > buyBackUpperLimit) balance = buyBackUpperLimit; buyBackTokens(balance.div(100)); } ``` Nothing will be used to buy back tokens if `balance` is smaller than 1 BNB. If `balance` is greater than `buyBackUpperLimit`, 1% of `buyBackUpperLimit` amount will be used to buy back tokens each time this function is called. Since the BuyBackToken contract will continuously accumulate liquidity fees, only a small portion of the liquidity fees will be used to buy back tokens. Additionally, the `buyBackUpperLimit` can be modified by the admin and has no limitations. So they can be set to a relatively small number. Hence the percentage of buying back may be very small. More seriously, the percentage of `buybackFee` could be zero, so almost all converted BNBs in the current contract could be kept in the contract, however, the contract doesn't appear to provide a way to withdraw those BNBs.

Open the report
MediumNon-withdrawable BNBWealthSecrets · CertiK · 17 Feb 2023Open

According to the following code: ```solidity function _transfer( address from, address to, uint256 amount ) private { ... uint256 balance = address(this).balance; if (balance > uint256(1 * 10**18)) { if (balance > buyBackUpperLimit) balance = buyBackUpperLimit; buyBackTokens(balance.div(100)); } ... } ``` ,in the function `_transfer()`, the 1%`buyBackUpperLimit` amount of BNBs were bought back when requirements are met, while some BNBs are still left in the contract, however, the contract doesn't appear to provide a way to withdraw those BNBs, and they will be locked in the contract forever.

Open the report
Low3rd party dependenciesWealthSecrets · CertiK · 17 Feb 2023Open

The contract is serving as the underlying entity to interact with third party PancakeSwap protocols. The scope of the audit would treat those 3rd party entities as black boxes and assume its functional correctness. However in the real world, 3rd parties may be compromised that led to assets lost or stolen.

Open the report
LowDivide Before MultiplyWealthSecrets · CertiK · 17 Feb 2023Open

Performing integer division before multiplication truncates the low bits, losing the precision of calculation.

Open the report
LowImproper Usage of `public` and `external` TypeWealthSecrets · CertiK · 17 Feb 2023Open

`public` functions that are never called by the contract could be declared as `external`. `external` functions are more efficient than `public` functions.

Open the report
LowIncorrect error messageWealthSecrets · CertiK · 17 Feb 2023Open

The error message in `require(_isExcluded[account], "Already excluded")` does not describe the error correctly.

Open the report
LowMissing Emit EventsWealthSecrets · CertiK · 17 Feb 2023Open

There should always be events emitted in the sensitive functions that are controlled by centralization roles.

Open the report
LowPossible to gain ownership after renouncing the cWealthSecrets · CertiK · 17 Feb 2023Open

An owner is possible to gain ownership of the contract even if he calls function `renounceOwnership` to renounce the ownership. This can be achieved by performing the following operations: 1. Call `lock` to lock the contract. The variable `_previousOwner` is set to the current owner. 2. Call `unlock` to unlock the contract. 3. Call `renounceOwnership` to leave the contract without an owner. 4. Call `unlock` to regain ownership.

Open the report
Show 8 more
LowPotential Reentrancy AttackWealthSecrets · CertiK · 17 Feb 2023Open

A reentrancy attack can occur when the contract creates a function that makes an external call to another untrusted contract before resolving any effects. If the attacker can control the untrusted contract, they can make a recursive call back to the original function, repeating interactions that would have otherwise not run after the external call resolved the effects. Function `_transfer()` is risky to reentrancy attack. The function call of `swapAndLiquify()` would eventually send `ethAmount` via `pcsV2Router.addLiquidityETH()`, and state variable `_rOwned` is massively changed later in the function call of `_tokenTransfer()`. Since the real implementation of the external function is unclear, and the address behind the interface is not clear, reentrancy is possible to take place.

Open the report
LowPotential Sandwich AttacksWealthSecrets · CertiK · 17 Feb 2023Open

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 back running (after the transaction being attacked) a transaction to sell the asset. Potential sandwich attacks could happen if calling `pcsV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens` and `pcsV2Router.addLiquidityETH` without setting restrictions on slippage. For example, when we want to make a transaction of swapping 100 AToken for 1 ETH, an attacker could raise the price of ETH by adding AToken into the pool before the transaction so we might only get 0.1 ETH. After the transaction, the attacker would be able to withdraw more than he deposited because the total value of the pool increases by 0.9 ETH.

Open the report
LowRedundant codeWealthSecrets · CertiK · 17 Feb 2023Open

The condition `!_isExcluded[sender] && !_isExcluded[recipient]` can be included in `else`, besides, `mintedByMudra` is defined but not used.

Open the report
LowRedundant SafeMath UsageWealthSecrets · CertiK · 17 Feb 2023Open

Solidity version >=0.8.0 includes checked arithmetic operations and underflow/overflow by default, making SafeMath redundant.

Open the report
LowReturn value not handledWealthSecrets · CertiK · 17 Feb 2023Open

The return values of function `addLiquidityETH` are not properly handled. ```solidity= pcsV2Router.addLiquidityETH{value: ethAmount}( address(this), tokenAmount, 0, // slippage is unavoidable 0, // slippage is unavoidable dead, block.timestamp ); ```

Open the report
LowThe purpose of function `deliver`WealthSecrets · CertiK · 17 Feb 2023Open

The function `deliver` can be called by anyone. It accepts an uint256 number parameter `tAmount`. The function reduces the SafeMoon token balance of the caller by `rAmount`, which is `tAmount` reduces the transaction fee. Then, the function adds `tAmount` to variable `_tFeeTotal`, which represents the contract's total transaction fee. We wish the team could explain more on the purpose of having such functionality.

Open the report
LowTypos in the contractWealthSecrets · CertiK · 17 Feb 2023Open

There are several typos in the code and comments. 1. In the following code snippet, `tokensIntoLiqudity` should be `tokensIntoLiquidity`. ```solidity= event SwapAndLiquify( uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiqudity ); ``` 2. `recieve` should be `receive` and `swaping` should be `swapping` in the line of comment `//to recieve ETH from pcsV2Router when swaping` 3. Function name is mistakenly set as `geUnlockTime()`, which should be `getUnlockTime()`.

Open the report
LowVariables That Could Be Declared as `constant`WealthSecrets · CertiK · 17 Feb 2023Open

The linked variables could be declared as `constant` since these state variables are never modified.

Open the report

Contracts1

AddressChainSource code
0xb7dacf54a54bfea818f21472d3e71a89287841a7Chain: BNB ChainSource code: Verified source

Show this on your site

Is this your project? Show this record on your own website. The label states what the record holds, links to this page and updates by itself. It is free and needs no sign-in.

Content

Facts

Automatic: the three strongest facts of this project’s own record (its last audit and two more), highlighted. They update with the record. Picking a fact turns Automatic off.

Fixed as
Language

Style

Layout
Theme
Accent
Corners

Format

Size
Date
Embed as
HTML
<head>
<script src="https://widget.trustblock.run/project-widget.min.js" defer></script>
</head>
<body>
<div
data-tb-project-widget
data-tb-project-slug="wealthsecrets"
></div>
</body>

Paste the code where the label should appear. It uses no API credit and updates by itself.

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