Hawksight

CertiKCode version: not recorded (see the report)

CertiK reviewed Hawksight on 28 Sep 2022: 30 findings, 0 critical; 25 marked fixed, 5 open.

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

Report hosted on skynet.certik.com.

Trustblock does not review code.

Findings30

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

SeverityOpenAcknowledgedFixed
Critical000
High202
Medium003
Low3020
HighCentralization Related RisksOpen

In the contract `lib.rs`, the role `authority` has authority over the following function: - change_multi_index_farm_rate(): change the speed at which farms generate rewards; - create_saber_farm_strategy(): add a new strategy. Any compromise to the privileged accounts may allow a hacker to take advantage of this to update project configurations.

HighProgram Upgrade Centralization RiskOpen

A Solana program can be deployed on the mainnet as: * final: the code cannot be updated. * upgradable: `BPFLoaderUpgradeable` needs to be set as the program owner and an `upgrade authority`, which is a user account, is given. In case the `Hawksight` program is deployed as upgradable, the `upgrade authority` has the privilege to update the implementation of the program at his/her will. Any compromise to the `upgrade authority` account may allow a hacker to take advantage of this authority and control the implementation of the program and therefore execute potential malicious functionalities in the program.

LowIncorrect Use of '_' Syntax for Unused VariableOpen

In Rust, it is standard practice to prefix unused parameters with `_`. However `_ctx` is used in all the referenced functions.

LowRemove Commented CodeOpen

The linked statements do not affect the functionality of the codebase and appear to be either leftovers from test code or older functionality.

LowThird Party DependenciesOpen

The contract is serving as the underlying entity to interact with third party `QuarryProtocol`, `spl-swap` and `stable-swap` protocols. The scope of the audit treats 3rd party entities as black boxes and assume their functional correctness. However, in the real world, 3rd parties can be compromised and this may lead to lost or stolen assets. In addition, upgrades of 3rd parties can possibly create severe impacts, such as increasing fees of 3rd parties, migrating to new LP pools, etc.

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.

Part of Hawksight’s security record

Hawksight
Audits1 audit by 1 firmLast audit Sep 2022, by CertiK.
Critical findingsNo open critical findingsIn 1 report.
Open Hawksight’s security record

Security firm

CertiK

1,044 projects reviewed · 1,375 reports · latest May 2025

See CertiK’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