Audit
Triaged by Hackenproof

Common Wealth DualDefense Audit: Program info

Common Wealth DualDefense Audit

Company: Common Wealth
Ended
Contest ended 08.12.2024
Program infoHackers (2)Reports

Common Wealth is an all-in-one investment platform that radically transforms the playing field. Early-stage VC access for the 99%. Fully decentralised. Fully on-chain. The way it was meant to be.

In scope
TargetTypeSeverityReward
https://github.com/hackenproof-public/commonwealth-contracts
copy
Copy
success Copied

Brunch: dual-defence

Smart Contract
Critical
Bounty
Target
https://github.com/hackenproof-public/commonwealth-contracts
copy
Copy
success Copied

Brunch: dual-defence

TypeSmart Contract
Severity
Critical
RewardBounty

Focus Area

IN-SCOPE: SMART CONTRACT VULNERABILITIES

We are looking for evidence and reasons for incorrect behavior of the smart contract, which could cause unintended functionality:

  • Stealing or loss of end-user funds
  • Permanent lock of end-user funds

OUT OF SCOPE: SMART CONTRACT VULNERABILITIES

  • Theoretical vulnerabilities without any proof or demonstration
  • Old compiler version
  • The compiler version is not locked
  • Vulnerabilities in imported contracts
  • Code style guide violations
  • Redundant code
  • Gas optimizations
  • Best practice issues
  • Known issues on GitHub issue tracker
  • Known issues in README.md
  • Front-run attacks
  • All other issues not mentioned “IN SCOPE” area

Program Rules

Only critical vulnerabilities that could lead to the loss of user funds or the permanent lock of funds are eligible for rewards.

  • The company is not obliged to pay for "Low"-"High" severity issues. Only "Critical" issues are under the scope. However, the team may, at its discretion, accept the report and pay the bonus, the reward will not be a part of the bounty pool.
  • Perform testing only within the scope
  • Any details of found vulnerabilities must not be communicated to anyone who is not a HackenProof Team or an authorized employee of this Company without appropriate permission
  • Each submission requires a working PoC to be eligible for a bounty

Reward Distribution:

  • The reward will be distributed in HAI tokens. For that you will need to provide in your account your hAI wallet address so we can arrange the transaction.

Clear wording:

  • Bounty pool — total amount of reward in the DualDefence Audit.
  • Allocated bounty — amount of reward for each unique vulnerability reported.
  • The total bounty pool for the DualDefence Audit will be equally split among all unique issues reported.
  • Example: If three researchers identify the same vulnerability and also there are two other vulnerabilities submitted only once (total 3 unique issues reported) each vulnerability will get 1/3 of the bounty pool. Allocated bounty reward will be split between all researchers who submitted the same issue (where uniq issues receive 1/3 of the pool and researchers will get 1/9 each of the initial reward pool).

Single Valid Submission

Full Reward: If a critical vulnerability is found by only one participant, that reporter receives 100% of the bounty pool.

Duplicate Submissions

If multiple participants find the same vulnerability, the allocated bounty for that issue (bounty pool always equally split among all unique issues reported) is divided equally among all reporters. Example: If two researchers report the same vulnerability, each receives 50% of the allocated bounty. It can be 50% of the bounty pool if only one eligible issue was reported.

Multiple Unique Submissions

Split Based on Uniqueness of issues reported:

  • Unique Issue 1: Found by one reporter.
  • Unique Issue 2: Found by another reporter.

Each will receive 50% of the bounty pool.

[DISCLAIMER] The reward amount will be denominated in HAI tokens which are staked in FlashPool, due to market volatility, the final USD amount may differ from the one stated in the rules.

Disclosure Guidelines

  • Do not discuss this program or any vulnerabilities (even resolved ones) outside of the program without express consent from the organization
  • No vulnerability disclosure, including partial is allowed for the moment.
  • Please do NOT publish/discuss bugs **

Eligibility and Coordinated Disclosure

We are happy to thank everyone who submits valid reports which help us improve our security. However, only those that meet the following eligibility requirements may receive a monetary reward:

  • The vulnerability must be a qualifying vulnerability
  • Any vulnerability found must be reported exclusively through hackenproof.com
  • You must send a clear textual description of the report along with steps to reproduce the issue, include attachments such as screenshots or proof of concept code as necessary.
  • You must not be a former or current employee of us or one of its contractor.
  • Provide detailed but to-the point reproduction steps

Last audit

Hacken - October 2024

Assets in Scope

contracts

   UniswapWlthPriceOracle.sol - contracts/UniswapWlthPriceOracle.sol
	 
   UniswapSwapper.sol - contracts/UniswapSwapper.sol
	 
   WlthFund.sol - contracts/WlthFund.sol
	 
   ProfitProvider.sol - contracts/ProfitProvider.sol
	 
   OwnablePausable.sol - contracts/OwnablePausable.sol
	 
   BuybackAndBurn.sol - contracts/BuybackAndBurn.sol
	 
   StateMachine.sol - contracts/StateMachine.sol
	 
   PerpetualNFT.sol - contracts/PerpetualNFT.sol
	 
   PerpetualFund.sol - contracts/PerpetualFund.sol
	 
   WlthBonusStaking.sol - contracts/WlthBonusStaking.sol
	 
   Marketplace.sol - contracts/Marketplace.sol

       libraries
		
		Constants.sol - contracts/libraries/Constants.sol
		LibFund.sol - contracts/libraries/LibFund.sol
		Utils.sol - contracts/libraries/Utils.sol
		Wlth.sol - contracts/Wlth.sol

       interfaces
		
		IProfitProvider.sol - contracts/interfaces/IProfitProvider.sol
		IWlthBonusStaking.sol - contracts/interfaces/IWlthBonusStaking.sol
		IUniswapWlthPrice.sol - contracts/interfaces/IUniswapWlthPrice.sol
		IInvestmentNFT.sol - contracts/interfaces/IInvestmentNFT.sol
		IPerpetualFund.sol - contracts/interfaces/IPerpetualFund.sol
		IInvestmentFund.sol - contracts/interfaces/IInvestmentFund.sol
		IBuybackAndBurn.sol - contracts/interfaces/IBuybackAndBurn.sol
		IPerpetualNFT.sol - contracts/interfaces/IPerpetualNFT.sol
		IWlthFund.sol - contracts/interfaces/IWlthFund.sol
		IStakingWlth.sol - contracts/interfaces/IStakingWlth.sol
		ISwapper.sol - contracts/interfaces/ISwapper.sol
		IWlth.sol - contracts/interfaces/IWlth.sol
		IStateMachine.sol - contracts/interfaces/IStateMachine.sol
		IMarketplace.sol - contracts/interfaces/IMarketplace.sol
			
Duration
Start date31 Oct 2024
End date08 Dec 2024
Rewards
Range of bounty$0 - $25,000
Severity
Critical
$25,000
High
$0
Medium
$0
Low
$0
Stats
Scope Review2681
Submissions16
Total rewardsPrivate
Types
smart contract
Languages
Solidity
Hackers (2) View all
SLA (Service Level Agreement)
Time within which the program's triage team must respond
Response TypeBusiness days
First Response0d
Triage Time0d
Reward Time30d
Resolution Time30d