Alaya AI audit reports

BNB Chainaialaya.io

Alaya AI has 1 public audit report from CertiK; dated 19 Mar 2024; no critical findings reported. It also holds 1 deployed contract on 1 chain.

Critical findings
No open critical findings
In 1 report.
Open the latest report
Your label, live
Get the label for your site

Last updated . It holds audits and findings, contracts and incidents up to Nov 2026. Trustblock does not review code.

Audits1

Newest first

ReportSecurity firmDateScopeCritical findingsFindingsSource
Alaya - AlayaTrainingSecurity firm: CertiKDate: Scope: Files listedNone openFindings: 1 high · 1 medium · 5 low
1 fixed · 6 open
skynet.certik.com ↗

Open findings across every firm6

Statuses are the security firms’ own

6 findings are still open or acknowledged in the firms’ reports: 1 medium, 5 low (all open).

Medium
1
Low
5
  • Medium Open

    Lack Of Access Control

    Alaya - AlayaTraining · CertiK · 19 Mar 2024 · Report ↗

  • Low Open

    `for` Loop Optimization

    Alaya - AlayaTraining · CertiK · 19 Mar 2024 · Report ↗

  • Low Open

    Discussion on `userList`

    Alaya - AlayaTraining · CertiK · 19 Mar 2024 · Report ↗

  • Low Open

    Inconsistent Formatting and Spacing

    Alaya - AlayaTraining · CertiK · 19 Mar 2024 · Report ↗

  • Low Open

    Unnecessary Initialization

    Alaya - AlayaTraining · CertiK · 19 Mar 2024 · Report ↗

  • Low Open

    Use `uint256` Instead of `uint`

    Alaya - AlayaTraining · CertiK · 19 Mar 2024 · Report ↗

Findings7

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

SeverityOpenAcknowledgedFixed
Critical000
High001
Medium100
Low500
MediumLack Of Access ControlAlaya - AlayaTraining · CertiK · 19 Mar 2024Open

The function `update()` can be called by anyone as it has no access restriction. This enables anyone to call this and update the value of `userList[msg.sender]`, which will be used in public view function `listnum()` and function `anum()`

Open the report
Low`for` Loop OptimizationAlaya - AlayaTraining · CertiK · 19 Mar 2024Open

If a compiler version less than 0.8.22 is used, then the following operations can be done to optimize the gas usage: 1. The increment operation saves a small amount of gas if performed from the left (`++i`) instead of from the righthand side (`i++`). 2. The increment operation can be placed in an `unchecked` block at the end of the loop logic, since it is bounded above by the loop limit which must be a `uint256` value, avoiding overflow.

Open the report
LowDiscussion on `userList`Alaya - AlayaTraining · CertiK · 19 Mar 2024Open

The current codebase allows any user to call `update()` to update their own `userList`. The stored `userList` is only used in public view function `listnum()` and `anum()`.

Open the report
LowInconsistent Formatting and SpacingAlaya - AlayaTraining · CertiK · 19 Mar 2024Open

The formatting and spacing in the contract are inconsistent. Proper formatting is essential for readability and maintainability of the code. Reading and understanding the code becomes more challenging due to inconsistent formatting, which could lead to misunderstandings or overlooks during code review.

Open the report
LowUnnecessary InitializationAlaya - AlayaTraining · CertiK · 19 Mar 2024Open

The call `Ownable(msg.sender);` in the `constructor()` is unnecessary as the `constructor()` of the contract `Ownable` will already give ownership to the `_msgSender()` and does not take an input.

Open the report
LowUse `uint256` Instead of `uint`Alaya - AlayaTraining · CertiK · 19 Mar 2024Open

Throughout the codebase `uint` and `uint256` are used interchangeably.

Open the report

Contracts1

AddressChainSource code
0x5dbde81fce337ff4bcaaee4ca3466c00aecae274Chain: BNB ChainSource code: Verified source

All 1 address and the files the reports name

Alaya AI: questions

Is Alaya AI audited?

Trustblock holds 1 public audit report for Alaya AI, dated 19 Mar 2024. The latest is by CertiK (“Alaya - AlayaTraining”).

Who audited Alaya AI?

CertiK wrote the report Trustblock holds for Alaya AI.

Are there open findings in Alaya AI’s audits?

6 findings are still open or acknowledged in the firms’ reports: 1 medium, 5 low (all open). No critical finding is reported. Statuses are the security firms’ own.

Show this on your site

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.

Content

Facts

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.

Fixed as
Language

Style

Layout
Theme
Accent
Corners

Format

Size
Date
Embed as
HTML
<head>
<script src="https://widget.trustblock.run/project-widget.min.js" defer></script>
</head>
<body>
<div
data-tb-project-widget
data-tb-project-slug="alaya-ai"
></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