Digipharm - Digihealth Token

Digipharm - Digihealth Token Smart Contract Audit Report

Share
Share
BSCBSC
ERC 20 Token Contract
BSCBSC
ERC 20 Token Contract

QuillAudits audited the Digipharm - Digihealth Token smart contracts on BSC between Feb 3, 2023 and Feb 6, 2023. The audit found 3 issues: 1 low, 2 informational, of which 0 resolved and 3 acknowledged.

Project Description

Digihealth is a BEP20 contract with total supply of 100000000 and a blacklist functionality. Only the contract owner is permitted to blacklist address and this invariably prevents blacklisted address from carrying out any transfer of token or the spending of tokens. The token contract inherits the standard Openzeppelin contracts to enhance token operation. Mint functionality is restricted to the owner but ensured it does not exceed total supply.

Timeline

S1
Feb 3, 2023
S2
Feb 6, 2023

Scope of Audit

The scope of this audit was to analyse Digihealth  codebase for quality, security, and correctness. https://bscscan.com/address/0xA87584Cfeb892C33A1C9a233e4A733b45c4160E6 Contract Name: Digihealth

Methodology: the QuillAudits smart contract audit process.

Contract Address

https://bscscan.com/addr...A1C9a233e4A733b45c4160E6

Star
speedometer
0
50%
60%
70%
90%
100%
99.9%
AUDIT SCORE
icon

High

Medium

Low

Informational

open0000
acknowledged0012
partially resolved0000
resolved0000
Digipharm - Digihealth Token

Digipharm - Digihealth Token

Low Severity Issues

Ownership Transfer must be a Two-step Processes

Acknowledged
arrow-right
Description

Contracts are integrated with the standard Openzeppelin ownable contract, however, when the owner mistakenly transfers ownership to an incorrect address, ownership is completely removed from the original owner and cannot be reverted. The transferOwnership() function in the ownable contract allows the current owner to transfer his privileges to another address. However, inside transferOwnership() , the newOwner is directly stored in the storage, after validating the newOwner is a non-zero address, which may not be enough.

Contract

Digihealth.sol

Recommendation

It would be much safer if the transition is managed by implementing a two-step approach: _transferOwnership() and _updateOwnership() . Specifically, the _transferOwnership () function keeps the new address in the storage, _newOwner , instead of modifying the _owner() directly. The updateOwnership() function checks whether _newOwner is msg.sender, which means _newOwner signs the transaction and verifies himself as the new owner. After that, _newOwner could be set into _owner.

Informational Issues

Appendix

Disclaimer

Digipharm - Digihealth Token

Digipharm - Digihealth Token

Low Severity Issues
Informational Issues
Appendix
Disclaimer
View Report PDF

Get an Audit done today for your Smart Contract

Join 1500+ leaders who secured themselves from losing Billion Dollars

cta-banner
cta-banner-bgcta-banner-bg-mobile

Related audits

WE SECURE EVERYTHING YOU BUILD.

From day-zero risk mapping to exchange-ready audits, QuillAudits helps projects grow with confidence. Smart contracts, dApps, infrastructure, compliance: secured end to end.

QuillAudits Logo


ISO 27001Circle Alliance Program
Uniswap FoundationAethiropt-collectivePolygon SPNBNB Chain Kickstart

All Rights Reserved. © 2026. QuillAudits - LLC