GoldFinger Info
GoldFinger is an innovative platform committed to bridging premium yield-generating real-world assets (RWA) with the Web3 ecosystem. The convergence of blockchain technology and traditional finance is reshaping how real-world assets (RWA) are accessed, managed, and traded. By leveraging decentralized networks, transparency, and programmable smart contracts, it is now possible to unlock the liquidity and efficiency of high-quality, yield-generating assets—such as commodities, real estate, and financial instruments—within the Web3 ecosystem.
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.
Security Assessments
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 cannot be burned
There is no burning within the contract without any allowances
Ownership is not renounced
The owner retains significant control, which could potentially be used to modify key contract parameters.
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.
Ownership Privileges
- The owner can update the price oracle and registry contract address.
- The owner can update the stablecoin recipient address.
- The owner can toggle the KYC functionality in the contract.
- The owner or admin can toggle the mint and burn functionality with stablecoin in the contract.
- The owner can add or remove admins from the contract.
- The owner or admin can mark the redemption process as completed after submitting the transaction hash.
- The owner can cancel the pending redemption.
- The owner or admin can pause the minting and redemption of stablecoin functionality in the contract.
- The owner can unpause the minting and redemption of stablecoin functionality in the contract.
- The owner can rescue tokens and ETH from the contract.
Note - This Audit report consists of a security analysis of the ARTVault smart contract. This analysis did not include functional testing (or unit testing) of the contract’s logic. Moreover, we only audited the mentioned contract for the GoldFinger 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
Functions
public
/
State variables
public
/
Total lines
of code
/
Capabilities
Hover on items
/
Findings and Audit result
high Issues | 2 findings
Pending
#1 high Issue
Redemption Completion is Unverifiable On-Chain, Creating Full Counterparty Risk
The contract's redemption mechanism is a two-step process where a user's ARTTokens are burned on-chain, but the corresponding stablecoin payout is handled off-chain. The completeRedeem function allows an administrator to finalize this process by providing a txHash string as proof of payment. However, the _validateAndRecordTxHash function only checks that this string is not empty and has not been used before; it has no ability to validate that the hash corresponds to a real, successful, and correct blockchain transaction. This design allows an administrator to mark a redemption as "Completed" with a fraudulent, irrelevant, or failed transaction hash. Since the user's tokens are already destroyed, they are placed in a position of complete trust, with no on-chain recourse if the off-chain payment fails or is never made. This architecture negates the trustless nature of smart contracts and exposes users to total loss of funds during the redemption process.
Pending
#2 high Issue
Architectural Conflict Permanently Traps All On-Chain Collateral
The ARTVault contract contains a fatal architectural contradiction between its minting and redeeming mechanisms. The minting process is designed for on-chain custody, where user-deposited stablecoins (USDT/USDC) are transferred to and held by the ARTVault contract as collateral. However, the redeeming process is designed for an off-chain settlement model, where the contract burns a user's ARTTokens but has no function to transfer the now-trapped stablecoin collateral back out to the user. This conflict ensures that if the contract is used as designed (i.e., holding its own collateral for transparency), any and all funds deposited will be permanently and irreversibly locked. There is a mechanism for funds to enter the contract, but no mechanism for them to ever leave, effectively turning the vault into a black hole for user capital.
medium Issues | 2 findings
Pending
#1 medium Issue
Lack of Contract Validation for Critical Dependencies
The owner-privileged functions setPriceOracle and setRegistry allow for the modification of the ARTVault's core dependencies. These addresses are expected to be functional smart contracts that handle price data and KYC verification. However, these functions critically lack any validation to ensure that the new addresses being set are indeed deployed smart contracts and not regular wallet addresses (EOAs). A single mistake, such as a copy-paste error by the owner, could assign an EOA to one of these roles. This would cause all subsequent calls to the oracle or registry to fail, permanently breaking all minting, redeeming, and KYC-gated functionality. This vulnerability creates a high-severity, single point of failure that could render the entire protocol inoperable.
Pending
#2 medium Issue
Missing validation for minimum amount.
The setMinimumAmount function allows an owner or admin to change the minimumAmount required for minting and redeeming. However, this function lacks any validation or sanity check to ensure the new minimum is a reasonable value. A malicious or compromised administrator could call this function and set the minimumAmount to an astronomically high number (e.g., type(uint256).max). This action would cause the require(usdGross < minimumAmount) check in both the minting and redeeming functions to fail for every conceivable transaction, effectively and silently freezing all deposits and withdrawals for the protocol. This provides a "soft rug" vector where administrators can trap all user funds in the contract without ever having to pause it.
low Issues | 1 findings
Pending
#1 low Issue
Missing events arithmetic.
It is recommended to emit all the critical parameter changes.
informational Issues | 1 findings
Resolved
#1 informational Issue
Floating pragma solidity version.
Adding the constant version of solidity is recommended, as this prevents the unintentional deployment of a contract with an outdated compiler that contains unresolved bugs.