background
logo

Security Audit Report for DgridAI's DGAIStaking

BESCHREIBUNG

The target of this audit is the private code repository of DGAIStaking of DgridAI. DGAIStaking is a staking and reward distribution protocol for the DGAI ecosystem. The protocol allows users to stake DGAI through self-operated nodes, delegate DGAI to existing nodes, or participate in a dedicated LLM staking pool. Rewards are distributed across multiple reward categories, including node, team, and LLM incentives, and can be claimed by eligible participants based on their staking positions. The protocol also supports unstaking with a cooldown period before principal withdrawal. Administrative functions include reward allocation management, staking parameter configuration, pause controls, and treasury-related fund management.

Please refer to the report for the detailed audit scope.

Our audit methodology employs automated vulnerability scans, manual verification, and business logic analysis to uncover potential security issues coupled with gas and code quality optimization recommendations.

In summary, we have found that the codebase contains 2 high-risk issues that require prompt attention. In addition, we have identified other non-critical issues as well as recommendations and notes that should be considered. The DGAIStaking team has addressed these issues promptly. It is important to note that our audit covers only the final reported versions of the codebase. Any subsequent updates would require a re-evaluation.

WICHTIGSTE FESTSTELLUNGEN

Insgesamt haben wir 7 potenzielle Probleme im Smart Contract festgestellt. Darüber hinaus geben wir 2 Empfehlungen und 3 Hinweise. Diese sind nachfolgend aufgeführt:

Hohes Risiko: 2
Mittleres Risiko: 2
Geringes Risiko: 3
Empfehlung: 2
Hinweis: 3
ID Severity Description Status
1 High Improper team reward accounting after dev address reassignment Fixed
2 High Unreserved user principal in reward distribution mechanism Fixed
3 Medium Unaccounted reward remainders due to precision loss Fixed
4 Medium Unsettled team rewards accruals during dev reassignment Fixed
5 Low Unaccounted reward liabilities in function emergencyWithdraw() Confirm
6 Low Lack of node deregistration mechanism Confirm
7 Low Inconsistent emission reporting for disabled node group Fixed
8 - Remove redundant dev checks Fixed
9 - Emit events for administrative updates Fixed
10 - Potential centralization risks -
11 - Reward funding dependency -
12 - Proxy initialization atomicity assumption -

Weitere Einzelheiten finden Sie im Auditbericht.

Machen Sie den ersten Schritt in eine sichere Zukunft

Kontaktieren Sie uns jetzt für die fachkundigen Code-Audits von BlockSec und erhöhen Sie die Sicherheit Ihres Protokolls, bevor es live geht!