VitalPulse Info
The heartbeat of decentralized health: a plan for owning your wellness data, getting rewarded for healthy living, and keeping medical records private.
Join Telegram
TrustNet Score
The TrustNet Score evaluates crypto projects based on audit results, security, KYC verification, and social media presence. This score offers a quick, transparent view of a project's credibility, helping users make informed decisions in the Web3 space.
Real-Time Threat Detection
Real-time threat detection, powered by Cyvers.io,
is currently not
activated
for this project.
This advanced feature provides continuous monitoring and instant alerts to safeguard your assets from potential security threats. Real-time detection enhances your project's security by proactively identifying and mitigating risks.
For more information, click here.
Summary and Final Words
No crucial issues found
The contract does not contain issues of high or medium criticality. This means that no known vulnerabilities were found in the source code.
Contract owner cannot mint
It is not possible to mint new tokens.
Contract owner cannot blacklist addresses.
It is not possible to lock user funds by blacklisting addresses.
Contract owner cannot set high fees
The fees, if applicable, can be a maximum of 25% or lower. The contract can therefore not be locked. Please take a look in the comment section for more details.
Contract cannot be locked
Owner cannot lock any user funds.
Token can be burned
There is a function to burn tokens in the contract without any allowances.
Ownership is renounced
The contract does not include owner functions that allow post-deployment modifications.
Contract is not upgradeable
The contract does not use proxy patterns or other mechanisms to allow future upgrades. Its behavior is locked in its current state.
Scope of Work
This audit encompasses the evaluation of the files listed below, each verified with a SHA-1 Hash. The team referenced above has provided the necessary files for assessment.
The auditing process consists of the following systematic steps:
- Specification Review: Analyze the provided specifications, source code, and instructions to fully understand the smart contract's size, scope, and functionality.
- Manual Code Examination: Conduct a thorough line-by-line review of the source code to identify potential vulnerabilities and areas for improvement.
- Specification Alignment: Ensure that the code accurately implements the provided specifications and intended functionalities.
- Test Coverage Assessment: Evaluate the extent and effectiveness of test cases in covering the codebase, identifying any gaps in testing.
- Symbolic Execution: Analyze the smart contract to determine how various inputs affect execution paths, identifying potential edge cases and vulnerabilities.
- Best Practices Evaluation: Assess the smart contracts against established industry and academic best practices to enhance efficiency, maintainability, and security.
- Actionable Recommendations: Provide detailed, specific, and actionable steps to secure and optimize the smart contracts.
A file with a different Hash has been intentionally or otherwise modified after the security review. A different Hash may indicate a changed condition or potential vulnerability that was not within the scope of this review.
Final Words
The following provides a concise summary of the audit report, accompanied by insightful comments from the auditor. This overview captures the key findings and observations, offering valuable context and clarity.
Smart Contract Analysis Statement
Contract Analysis
The VitalPulse contract implements an ERC20 token with a fixed supply of 100,000,000 VITAL at 18 decimals, minted once to the deployer when the contract was created, and a burn function that lets holders destroy their own tokens or tokens they have been approved to spend. The contract is deployed on BNB Smart Chain at 0xd0d64f715c5a7d03b57f44b0e6f1e797c93461a8 and is built entirely on unmodified OpenZeppelin Contracts 5.0.2 code. It has no transaction fees, no blacklist, no pause function, no trading switch, no transaction or wallet limits and no upgrade mechanism. We confirmed that the verified source code on the block explorer compiles to exactly the code that is running on-chain.
Ownership Privileges
The ownership of the contract has been left unassigned - the contract was deployed without any owner, administrator or special role, and no address can claim one later. No account retains privileged control over the token logic. In practical terms this means:
- No account can mint new tokens. The total supply can only go down, and only when holders voluntarily burn their own tokens.
- No account can pause transfers, freeze balances or blacklist addresses.
- No account can introduce or change transaction fees, transaction limits, wallet limits or trading restrictions.
- No account can upgrade, replace or destroy the contract code.
- The deployer wallet is a single regular wallet and not a multi-signature wallet. It still holds about 63.9% of the total supply, and the three largest wallets together hold about 82.3%.
- The deployer wallet also holds about 63.1% of the PancakeSwap VITAL/WBNB liquidity tokens, which are not locked.
- The remaining 36.6% of the liquidity tokens are locked on PinkLock only until 11 May 2027, and the lock is owned by the deployer wallet.
- Because there is no administrator, the code can never be patched, and tokens sent to the contract address by mistake cannot be recovered.
Security Features
The contract implements several positive security features:
- The token logic is taken unchanged from OpenZeppelin Contracts 5.0.2, which we compared line by line with the official release. No published security advisory affects this version.
- The supply is fixed. No function can create new tokens after deployment, which we confirmed with symbolic analysis over every function and argument combination as well as with extensive stateful fuzzing.
- The contract makes no calls to other contracts, so reentrancy and related attacks are not possible. Its deployed code contains only the eleven standard token functions and nothing hidden.
- Solidity 0.8 overflow protection, zero-address checks and standard error messages are in place, and balances can only be moved by their holder or by an approved spender.
Auditor Comments
The code itself is minimal and well understood, and we did not identify any critical, high or medium severity issue in it. The observations we made are of lower severity and are typical for standard tokens of this kind. Allowance changes can be front-run by a spender, tokens sent to the contract address are lost, and anyone can create zero-value transfer records that may be used for address poisoning. These are best handled through clear user guidance. For transparency we also note that a large share of the supply and of the PancakeSwap liquidity tokens is held by the deployer wallet. The contract gives this wallet no special permissions, and we recommend that the team keeps such holdings in a multi-signature wallet and publishes its intended token allocation.
Note - This Audit report consists of a security analysis of the VitalPulse smart contract. This analysis did not include economic analysis of the contract's tokenomics. Moreover, we only audited the main contract for the VitalPulse team. Other contracts associated with the project were not audited by our team. We recommend investors do their own research before investing.
Files and details
Findings and Audit result
low Issues | 2 findings
Pending
#1 low Issue
Allowance Changes Can Be Front-Run (Approval Race Condition)
The approve function overwrites the previous allowance with the new value. When a holder lowers an allowance that is already in place, the spender can watch the pending transaction and get a transferFrom mined first, spending the full old allowance, and then spend the new allowance as well once the change is confirmed. For example, a holder who reduces an approval from 100 to 50 tokens can end up losing 150 tokens. The contract offers no increaseAllowance, decreaseAllowance or permit function that would let holders adjust allowances atomically.
Pending
#2 low Issue
Tokens Sent to the Token Contract Are Permanently Locked
The transfer and transferFrom functions only reject the zero address as a recipient. A user can therefore send VITAL to the token contract's own address by mistake, which is a common error when the contract address is copied from a block explorer or a listing site. The contract never calls itself and has no function that moves its own balance, so any tokens that end up there are lost for good. The same applies to other BEP-20 tokens sent to the contract, as there is no recovery function of any kind.
optimization Issues | 2 findings
Pending
#1 optimization Issue
Compiler Optimizer Disabled
The contract was compiled with the optimizer turned off. Compiling the same source with the optimizer enabled at 200 runs cuts the deployment cost from about 1,018,778 to about 587,703 gas and roughly halves the deployment size. Every call also becomes slightly cheaper, for example about 570 gas less per transfer and about 765 gas less per transferFrom, which adds up for a token traded on decentralised exchanges.
Pending
#2 optimization Issue
Token Name and Symbol Kept in Storage
The name and symbol are passed to the base constructor and written to storage, so every call to name() or symbol() has to read a storage slot. Because the values never change, returning them as constants would avoid those storage reads for on-chain callers and save two storage writes at deployment.
informational Issues | 6 findings
Pending
#1 informational Issue
Supply and Liquidity Concentrated in a Single Externally Owned Account
The constructor mints the full supply of 100,000,000 VITAL to the deploying wallet, which is a regular externally owned account. At the time of the review this wallet still holds about 63.9% of the supply and about 63.1% of the PancakeSwap VITAL/WBNB liquidity tokens, while the remaining 36.6% of the liquidity tokens are locked until 11 May 2027. The contract does not give this wallet any special permissions, so this is not a weakness in the code itself. It is noted for transparency, because large holdings in a single wallet can noticeably affect the market price when they are moved or sold.
Pending
#2 informational Issue
Zero-Value transferFrom Allows Spoofed Transfer Events (Address Poisoning)
A call to transferFrom with an amount of zero passes the allowance check even when the caller has no allowance at all, and it emits a normal Transfer event from the chosen holder to any address. Anyone can therefore make it look, in explorers and wallet histories, as if a holder sent tokens to an address that resembles one of their real counterparties. This is a well-known phishing technique called address poisoning, where the victim later copies the fake address from their history. No balances change, but users can be misled into sending real funds to the attacker.
Pending
#3 informational Issue
Allowance Consumption Does Not Emit an Approval Event
When a spender uses an allowance through transferFrom or burnFrom, the remaining allowance is lowered in storage without an Approval event being emitted. Only the Transfer event is logged. Services that rebuild allowances purely from Approval events will therefore show values that are higher than the real remaining allowance.
Pending
#4 informational Issue
BEP-20 getOwner Function Not Implemented
The token is deployed on BNB Smart Chain, where the BEP-20 interface describes a getOwner function that returns the token owner. VitalPulse implements the plain ERC-20 interface only. Some BNB Chain tools and bridge integrations call getOwner and will fail or show missing data for this token.
Pending
#5 informational Issue
Outdated Compiler Version and Floating Pragma in Library Files
The contract was compiled with Solidity 0.8.20, released in May 2023. The project contract pins the version, but the bundled library files use the floating range ^0.8.20. The compiler bugs that were published for 0.8.20 were reviewed and none of them affect this code, since it does not use the optimizer, inline assembly, verbatim blocks, recursive storage structs or the affected language features. The default target for 0.8.20 is the Shanghai EVM version, which includes the PUSH0 opcode. BNB Smart Chain supports it, but the same bytecode would not run on chains that do not.
Pending
#6 informational Issue
Missing NatSpec Documentation and SPDX License Identifier
The project contract has no NatSpec comments describing its purpose, its fixed supply or the fact that it has no owner. The initial supply is written inline as an expression instead of a named constant. The verified source file also contains no SPDX license identifier, which causes a compiler warning, even though the explorer lists the code under the MIT licence.