Camp

QuantstampFiles named in the report

Quantstamp reviewed Camp on 7 Aug 2025: 8 findings, 0 critical; 5 marked fixed, 3 acknowledged.

No open critical findings
Open the reportOpen Camp’s security record

Report hosted on certificate.quantstamp.com.

Trustblock does not review code.

Findings13

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

SeverityOpenAcknowledgedFixed
Critical000
High004
Medium001
Low030

Marked Informational or Undetermined by the firm. Not counted as findings.

Informational`WrappedCAMP` Accounting for `totalSupply` Is Impacted by `selfdestruct` OpcodeAcknowledged

This contract mints wrapped tokens in a 1:1 ratio for native token deposits. The `totalSupply()` of this token contract is determined by querying `address(this).balance`. However, the balance of the contract can differ from the total sum of deposits if another contract forces a native token transfer using `selfdestruct`, which circumvents the otherwise correctly implemented `receive()` function. This opcode is deprecated, but currently still supported and can be used in this manner.

UndeterminedThe Codebase Requires Vulnerable DependenciesAcknowledged

Running the `npm install` command to install the dependencies highlights 17 vulnerabilities (2 low, 14 high, 1 critical). This may introduce backdoors, known vulnerabilities or unexpected behavior into the system.

InformationalMissing Documented Access Control for `batchRelease()` FunctionFixed

The README document suggests that the contract allows the batched release of matured deposits by a authorized keeper. However, the corresponding `batchRelease()` function is not access controlled, and no `keeper` role is assigned to any user. However, this function may not need to rely on a privileged user for execution, and instead may exploit the natural incentive of queued depositors to ensure smooth bridging operations.

InformationalNo Method to Handle Funds Sent via the Empty `receive()` Function in the `CampStaker` ContractFixed

The `CampStaker` contract has an empty `receive()` function, allowing to receive native tokens. However there is no method to withdraw any native tokens if they are sent to the contract.

InformationalUnchecked Uint256 to Uint128 Down-Cast May Truncate Very Large DepositsFixed

The `bridgeOut()` function performs unchecked down-casting from `uint256` to `uint128` when storing deposit amounts in the `Deposit` struct. Both `_originalAmount` and `_minAmount` parameters are cast to `uint128` without validation that they fit within the target type's range. ```solidity function bridgeOut(address _to, uint128 _gaslimit, uint256 _originalAmount, uint256 _minAmount) external payable nonReentrant { // ... code ... else { uint256 _totalDeposits = totalDeposits; pending[_totalDeposits].to = _to; pending[_totalDeposits].amount = uint128(_originalAmount); // Unchecked downcast pending[_totalDeposits].minAmount = uint128(_minAmount); // Unchecked downcast // ... rest of function } } ``` If either `_originalAmount` or `_minAmount` exceeds `type(uint128).max` (approximately 3.4 × 10^38), the values will silently wrap around to a much smaller number due to integer overflow. This could result in users unintentionally bridging significantly fewer tokens than intended, leading to a loss of funds without any explicit revert or warning.

Contracts in scope

No deployed address is recorded for this audit.

The report names a repository or files. Open the report to see its scope.

Repository and files the report names (24)

  • src/interfaces/ICampStakingVault.sol
  • src/interfaces/Events.sol
  • src/CampStakingVault.sol
  • src/CampStaker.sol
  • broadcast/Interact.s.sol/123420001114/run-1743437475.json
  • broadcast/Interact.s.sol/123420001114/run-latest.json
  • broadcast/Deploy.s.sol/123420001114/run-latest.json
  • test/mock/MockERC20.sol
  • github/workflows/test.yml
  • src/utils/Errors.sol
  • src/interfaces/IWCAMP.sol
  • script/NotifyRewards.s.sol
  • README.md
  • broadcast/Deploy.s.sol/325000/run-latest.json
  • test/CampStakingVaultTest.t.sol
  • src/WrappedCAMP.sol
  • test/WrappedCAMP.t.sol
  • gitignore
  • foundry.toml
  • lcov.info
  • script/Deploy.s.sol
  • test/utils/WrappedCAMP.sol
  • gitmodules
  • broadcast/Deploy.s.sol/325000/run-1749053324.json

Part of Camp’s security record

Camp
Audits3 audits by 1 firmLast audit Sep 2025, by Quantstamp.
Critical findingsNo open critical findingsAcross 3 reports.
Open Camp’s security record

Security firm

Quantstamp

240 projects reviewed · 338 reports · latest Nov 2026

See Quantstamp’s audits

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