As of 3 Nov 2026, Cask has 1 audit report on Trustblock, by CertiK, dated 18 Dec 2022. That report lists no open critical findings.
Record last updated . It holds audits, findings and contracts up to Nov 2026, and incidents up to Oct 2026. Trustblock does not review code.
Newest first
| Audit | Security firm | Date | Scope | Critical findings | Report |
|---|---|---|---|---|---|
| Cask Audit 2 | Security firm: CertiK | Date: | Scope: Files named in the report | No open critical findings | Open · skynet.certik.com |
Statuses are the security firm’s own, from each report.
| Severity | Open | Acknowledged | Fixed |
|---|---|---|---|
| Critical | 0 | 0 | 0 |
| High | 9 | 0 | 0 |
| Medium | 0 | 0 | 0 |
| Low | 4 | 0 | 4 |
As the function `processWorkUnit` implementation, DCA is paused when `dca.numSkips >= maxSkips`. ```solidity=163 if (maxSkips > 0 && dca.numSkips >= maxSkips) { caskDCA.managerCommand(_dcaId, ICaskDCA.ManagerCommand.Pause); } ``` But in the logic branch `_checkMinMaxPrice`, DCA is only skipped without checking maxSkips and returned. ```solidity=139 if (!_checkMinMaxPrice(_dcaId, inputAsset, outputAsset)) { scheduleWorkUnit(_queueId, _dcaId, bucketAt(dca.processAt + dca.period)); try caskVault.protocolPayment(dca.user, address(this), dcaFeeMin) { caskDCA.managerSkipped(_dcaId, ICaskDCA.SkipReason.OutsideLimits); } catch (bytes memory) { caskDCA.managerCommand(_dcaId, ICaskDCA.ManagerCommand.Cancel); } return; } ``` Thus, if a DCA always could not meet the price restriction in `_checkMinMaxPrice`, it will be skipped and charged `dcaFeeMin` ceaselessly until it's canceled due to the balance running out.
Open the reportThe contract `CaskDCA` `CaskP2P` and `CaskChainlinkTopup`inherit the contract `@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol`, but the `paused` flag or `whenPaused`/`whenNotPaused` modifier is not used anywhere in the `CaskDCA`, `CaskP2P` or `CaskChainlinkTopup`. So the function `pause()` and `unpause()` are redundant. The contract `CaskJobQueue` also inherits `PausableUpgradeable.sol` and uses the `whenNotPaused` modifier. However, public or external `pause()` and `unpause()` functions are not implemented.
Open the reportAddresses should be checked before assignment or external call to make sure they are not zero addresses. The linked code does not zero-check the address when setting `feeDistributor`, regarding the initialization and update of this variable in contract `CaskDCAManager` and `CaskChainlinkTopupManager`. ```solidity=91 feeDistributor = _feeDistributor; ```
Open the report`assetsMerkleRoot` is defined but not initialized or used in the contract `CaskDCAManager`.
Open the reportThe reports name a repository or files. Open a report to see its scope.
Is this your project? Show this record on your own website. The label states what the record holds, links to this page and updates by itself. It is free and needs no sign-in.
Automatic: the three strongest facts of this project’s own record (its last audit and two more), highlighted. They update with the record. Picking a fact turns Automatic off.
<head><script src="https://widget.trustblock.run/project-widget.min.js" defer></script></head><body><divdata-tb-project-widgetdata-tb-project-slug="cask"></div></body>
Paste the code where the label should appear. It uses no API credit and updates by itself.
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