Example report

This is an invented report for a made-up shop, so you can see what AURA Analyzer gives you. Nothing here was analysed.

Example code review

kopi-senja-shop (example)

2 December 2026

C

71/100

Health score

How the code is organised. Security is counted separately.

2

High-severity findings

2 High3 Medium

84Files
212Functions
96Connections
9Possibly unused
9,460Lines of code

Where the risk sits

  • A04 Cryptographic failures 2
  • A05 Injection 2
  • A02 Security misconfiguration 1

80 of 84 files were read against 39 security rules (grouped by the OWASP Top 10). See the 39 rules and how they are verified

What it is written in

  • js 58%
  • php 31%
  • json 7%

1 quality issues and 0 patterns found in the structure.

How the numbers add up

5 findings in this report 2 High3 Medium

Where fromFoundCounted hereWhat happened
AURA security rules66 All kept.
Structure checks (the Security tab in the Analyzer)00 All kept.
Total6The number every list, export and the fix brief below use.
Left out of the lists−1 1 judged a false alarm by the AI review.
Shown in the lists5

This report was saved before the Analyzer recorded what it left out, so the first column for the structure checks shows only what was kept.

2 findings need attention first; 3 more are worth a look.

2 High3 Medium

What was checked

  • 80 of 84 files were read against 39 security rules (grouped by the OWASP Top 10). The rest are file types the rules do not read, or were over the read limit: see “What was not checked”.
  • How the code is organised: files, functions, how they connect, code that looks unused or repeated.
  • Languages found: js 58%, php 31%, json 7%
  • Source: a GitHub repository.

What the security rules check, by OWASP category

What was not checked

  • The running system: nothing is attacked or tested live, so this is not a penetration test.
  • Known weaknesses in third-party libraries (no dependency check).
  • Who is allowed to do what, and business rules: a scan cannot tell what your app is meant to allow.
  • Folders such as node_modules, vendor, dist and build are skipped.
  • For GitHub and GitLab sources, only the files the tool loaded are read; very large repositories are read in part.
  • Very long lines and commented-out lines are skipped.
  • At most 120 findings are kept, three per rule in each file, so a long list may be incomplete.

Hand these findings to your AI assistant

One text with every finding, its evidence, why it matters, a suggested fix and how to check it, plus the rules for the assistant to work by. It changes no code.

Read the brief before you copy it
# Fix brief: kopi-senja-shop (example)
Static code review by AURA Analyzer, 1 December 2026. Code health grade C (71/100).
5 finding(s) below: 2 high, 3 medium, 0 low.

## About this codebase
- Source: a GitHub repository
- Languages: js 58%, php 31%, json 7%
- Size: 84 files read for structure, 9,460 lines of code
- Security rules: 80 of 84 files were read against 39 rules (OWASP Top 10 groups).

## How to work
1. Take the findings one at a time, in the order listed (most severe, and leaked secrets, first).
2. For each one, open the file and line and first confirm it is real in THIS codebase. The scan matches patterns and can be wrong. If it is a false alarm, say so and why, and change nothing.
3. If it is real, propose the smallest safe change and show it as a diff. Do not refactor, rename or reformat anything else, and do not touch files that are not listed.
4. Keep behaviour the same apart from the weakness. Run the existing tests after each change, or say that there are none.
5. Never print, paste or commit a real secret. The evidence below is masked on purpose. Use environment variables or a secrets manager.
6. If a fix needs a decision from me (a new secret, a setting on the live system, a new dependency), stop and ask instead of guessing.
7. A finding is done when the same code analysed again no longer lists it, and its "Verify" step passes.

## How to reply
After each finding give one line: `#number · real / false alarm / unsure · files changed · how you checked`. At the end give a table of all findings with their outcome, and list anything that still needs a person.

## Findings

### 1. [HIGH] Cloud access key in the code
- Type: A04 Cryptographic failures · rule key-aws
- Where: config/storage.js:3
- Evidence: `const KEY = "AKIA…";`
- Why it matters: A secret or a password may be readable by people who should not have it.
- Suggested fix (written by an AI review, check it): Revoke it today, issue a new one and read it from the environment.
- Effort: a code change
- Verify: Confirm the old secret no longer works, and that no secret appears anywhere in the code.

### 2. [HIGH] SQL built from request data
- Type: A05 Injection · rule sql-concat-2
- Where: app/orders.php:41
- Evidence: `$q = "SELECT * FROM orders WHERE id=" . $_GET['id'];`
- Why it matters: Text typed by a visitor may be run as a command, which can expose or change your data.
- Suggested fix (written by an AI review, check it): Use a prepared statement with a bound parameter.
- Effort: a code change
- Verify: Type unusual text (quotes, angle brackets) into the form. It should be shown as text or rejected.

### 3. [MEDIUM] Any website may call this API (CORS *)
- Type: A02 Security misconfiguration · rule cors-any
- Where: server/api.js:12
- Evidence: `res.setHeader('Access-Control-Allow-Origin', '*');`
- Why it matters: A setting is more open than it needs to be, which makes other problems easier to exploit.
- Suggested fix: List the exact websites that may call the API instead of *.
- Effort: quick (a setting or one line)
- Verify: Check the setting on the live system, not only in the code, and that only what you need is open.

### 4. [MEDIUM] Weak hash used near passwords
- Type: A04 Cryptographic failures · rule md5-pass
- Where: app/auth.php:17
- Evidence: `$hash = md5($password);`
- Why it matters: A secret or a password may be readable by people who should not have it.
- Suggested fix (written by an AI review, check it): Switch to password_hash() and re-hash on the next login.
- Effort: a code change
- Verify: Confirm the old secret no longer works, and that no secret appears anywhere in the code.

### 5. [MEDIUM] HTML written from a variable
- Type: A05 Injection · rule xss-sink
- Where: web/cart.js:88
- Evidence: `title.innerHTML = item.name;`
- Why it matters: Text typed by a visitor may be run as a command, which can expose or change your data.
- Suggested fix (written by an AI review, check it): Use textContent for plain text.
- Effort: a code change
- Verify: Type unusual text (quotes, angle brackets) into the form. It should be shown as text or rejected.

## What this review did not cover
- The running system: nothing is attacked or tested live, so this is not a penetration test.
- Known weaknesses in third-party libraries (no dependency check).
- Who is allowed to do what, and business rules: a scan cannot tell what your app is meant to allow.
- Folders such as node_modules, vendor, dist and build are skipped.
- For GitHub and GitLab sources, only the files the tool loaded are read; very large repositories are read in part.
- Very long lines and commented-out lines are skipped.
- At most 120 findings are kept, three per rule in each file, so a long list may be incomplete.

Fix these first

  1. Cloud access key in the code High Needs a code change

    What it could mean
    A secret or a password may be readable by people who should not have it.
    What to change
    Revoke it today, issue a new one and read it from the environment. written by the AI review
    Then verify
    Confirm the old secret no longer works, and that no secret appears anywhere in the code.
    Technical detail

    config/storage.js:3 A04 Cryptographic failures

    const KEY = "AKIA…";

  2. SQL built from request data High Needs a code change

    What it could mean
    Text typed by a visitor may be run as a command, which can expose or change your data.
    What to change
    Use a prepared statement with a bound parameter. written by the AI review
    Then verify
    Type unusual text (quotes, angle brackets) into the form. It should be shown as text or rejected.
    Technical detail

    app/orders.php:41 A05 Injection

    $q = "SELECT * FROM orders WHERE id=" . $_GET['id'];

  3. Any website may call this API (CORS *) Medium Quick fix

    What it could mean
    A setting is more open than it needs to be, which makes other problems easier to exploit.
    What to change
    List the exact websites that may call the API instead of *.
    Then verify
    Check the setting on the live system, not only in the code, and that only what you need is open.
    Technical detail

    server/api.js:12 A02 Security misconfiguration

    res.setHeader('Access-Control-Allow-Origin', '*');

  4. Weak hash used near passwords Medium Needs a code change

    What it could mean
    A secret or a password may be readable by people who should not have it.
    What to change
    Switch to password_hash() and re-hash on the next login. written by the AI review
    Then verify
    Confirm the old secret no longer works, and that no secret appears anywhere in the code.
    Technical detail

    app/auth.php:17 A04 Cryptographic failures

    $hash = md5($password);

  5. HTML written from a variable Medium Needs a code change

    What it could mean
    Text typed by a visitor may be run as a command, which can expose or change your data.
    What to change
    Use textContent for plain text. written by the AI review
    Then verify
    Type unusual text (quotes, angle brackets) into the form. It should be shown as text or rejected.
    Technical detail

    web/cart.js:88 A05 Injection

    title.innerHTML = item.name;

What to try next

  1. Give the high-severity findings to your developer or AI coder first, with the evidence shown here.
  2. Go through the remaining findings one at a time: confirm each is real before changing code.
  3. Code flagged as “possibly unused” is a hint, not a verdict: check it is really unused before removing it.
  4. After the changes, analyse the same code again. A finding is fixed when it is gone and you have tested that part, not when the file is left out.

A first look from AURA Analyzer: it reads how the code is built and flags possible issues. It is not a security audit or a certification.

Security review high-level, static

AURA read 80 of 84 files against 39 security rules mapped to the OWASP Top 10. It reads the code only and does not attack a running system, so it is not a penetration test.

AI review · Overall risk: High
Two issues need attention before launch: a leaked cloud key and SQL built from request data. The rest are routine hardening.

Quick wins, fix plan and what this review did not cover

Quick wins

  • Rotate the cloud key today
  • Search the code for other string-built queries

Fix plan

  1. Rotate secrets: Revoke and reissue keys, then move them to environment variables.
  2. Fix the queries: Replace string-built SQL with prepared statements.

Not covered by this review

  • The running server and its settings
  • Known weaknesses in third-party libraries

The AI wrote this from the findings only. Check each point against your own code before acting, and have a person test the running system before launch.

SeverityFindingWhereWhat to do · AI
High Cloud access key in the code
A04 Cryptographic failures
config/storage.js:3
const KEY = "AKIA…";
Likely real Anyone who can read the repository can use this key against your cloud account.
Fix: Revoke it today, issue a new one and read it from the environment. (Small effort)
High SQL built from request data
A05 Injection
app/orders.php:41
$q = "SELECT * FROM orders WHERE id=" . $_GET['id'];
Likely real The id goes straight into the query, so a visitor can change what the query does.
Fix: Use a prepared statement with a bound parameter. (Small effort)
Medium Weak hash used near passwords
A04 Cryptographic failures
app/auth.php:17
$hash = md5($password);
Needs a check Check whether this hashes real customer passwords or something else.
Fix: Switch to password_hash() and re-hash on the next login. (Medium effort)
Medium HTML written from a variable
A05 Injection
web/cart.js:88
title.innerHTML = item.name;
Needs a check Only a problem if item.name can be typed by a customer.
Fix: Use textContent for plain text. (Small effort)
Medium Any website may call this API (CORS *)
A02 Security misconfiguration
server/api.js:12
res.setHeader('Access-Control-Allow-Origin', '*');
List the exact websites that may call the API instead of *.
Low Container image not pinned
A03 Software supply chain failures
Dockerfile:1
FROM node:latest
Likely a false positive Common in development images and low risk on its own.
Fix: Pin a version when you next touch the Dockerfile. (Small effort)

Security findings

Nothing was flagged by the checks that ran. This does not prove the code is safe.

Architecture and quality issues

Warning 9 Unused Functions

Functions not called from other files

  • web/legacy.js
  • app/helpers.php
  • 7 more are listed in the Analyzer panel.

Suggested actions

  • Remove dead code high · 9 functions are never called from other files.
    What to do: Check each, then delete what is really unused.
    Less to read and test

Go deeper with AURA

Next steps inside AURA, picked for this report.

  • AURA Pentest

    Test the running app you own for common security weaknesses — the dynamic complement to this code review.

  • Speed test

    See how fast your app loads and what slows it down.

  • Market research

    Check the demand before you build more.

  • All AURA modules

    Every module in the AURA family, in one place.