Bear Inu audit reports

Ethereumbearinu.org

Bear Inu has 1 public audit report from CertiK; dated 6 Mar 2023; no critical findings reported. 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

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

Audits1

Newest first

ReportSecurity firmDateScopeCritical findingsFindingsSource
BearinuSecurity firm: CertiKDate: Scope: 1 address on EthereumNone openFindings: 4 low
4 open
skynet.certik.com ↗

Open findings across every firm4

Statuses are the security firms’ own

4 findings are still open or acknowledged in the firms’ reports: 4 low (all open).

Low
4
  • Low Open

    ERC20 Approval Race Condition

    Bearinu · CertiK · 6 Mar 2023 · Report ↗

  • Low Open

    Lack of detailed error messages

    Bearinu · CertiK · 6 Mar 2023 · Report ↗

  • Low Open

    Missing Error Messages

    Bearinu · CertiK · 6 Mar 2023 · Report ↗

  • Low Open

    State Variables Should Be Declared Constant

    Bearinu · CertiK · 6 Mar 2023 · Report ↗

Findings4

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

SeverityOpenAcknowledgedFixed
Critical000
High000
Medium000
Low400
LowERC20 Approval Race ConditionBearinu · CertiK · 6 Mar 2023Open

The implementation of the `approve()` function is vulnerable to [a known ERC20 race condition issue](https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729), which could lead to token theft. When a user calls `approve()` for a second time on a spender that has already been allowed, the spender could call `transferFrom()` to transfer the previous value and this would still be a valid transaction. Consider the following exploit scenario: 1. Alice calls `approve(Bob, 100)` to allow Bob to spend 100 tokens. 2. Alice changes her mind and calls `approve(Bob, 50)`. 3. Bob observes the second `approve(Bob, 50)` function call and calls `transferFrom(Alice, Bob, 100)` before the second `approve(Bob, 50)` call. 4. The above scenario can be achieved by front-running. In this case, Bob can transfer another 50 tokens from Alice and in total, he transferred 150 tokens from Alice.

Open the report
LowLack of detailed error messagesBearinu · CertiK · 6 Mar 2023Open

Detailed `require` statements help to identify where issues have occurred. Although most of the arithmetic errors encountered in this contract are handled by Solidity's native overflow/underflow handling, it would be best to also have `require` statements to help identify where errors have occurred. ### transfer() In the `transfer()` function, a `require` statement can be added to ensure `balances[msg.sender] >= value`. ### transferFrom() In the `transferFrom()` function, a `require` statement can be added to ensure `allowance[from][msg.sender] >= value`. A `require` statement can also be added to ensure `balances[msg.sender] >= value`.

Open the report
LowMissing Error MessagesBearinu · CertiK · 6 Mar 2023Open

The `require()` statements should provide a description of the error or condition not met. ```solidity require(spender != address(0)); ```

Open the report
LowState Variables Should Be Declared ConstantBearinu · CertiK · 6 Mar 2023Open

State variables that never change should be declared as `constant` to save gas. ```solidity=6 uint public totalSupply = 1000000000000000 * 10 ** 18; ``` - `totalSupply` should be declared `constant`. --- ```solidity=7 string public name = "Bear Inu"; ``` - `name` should be declared `constant`. --- ```solidity=8 string public symbol = "BEAR"; ``` - `symbol` should be declared `constant`. --- ```solidity=9 uint public decimals = 18; ``` - `decimals` should be declared `constant`.

Open the report

Contracts1

AddressChainSource code
0x17837004ea685690b32dbead02a274ec4333a26aChain: EthereumSource code: Verified source

Bear Inu: questions

Is Bear Inu audited?

Trustblock holds 1 public audit report for Bear Inu, dated 6 Mar 2023. The latest is by CertiK (“Bearinu”).

Who audited Bear Inu?

CertiK wrote the report Trustblock holds for Bear Inu.

Are there open findings in Bear Inu’s audits?

4 findings are still open or acknowledged in the firms’ reports: 4 low (all open). No critical finding is reported. Statuses are the security firms’ own.

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="bear-inu"
></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