hex-audit 0.6.2 → 0.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dashboard/.next/BUILD_ID +1 -1
- package/dashboard/.next/app-build-manifest.json +24 -24
- package/dashboard/.next/app-path-routes-manifest.json +1 -1
- package/dashboard/.next/build-manifest.json +2 -2
- package/dashboard/.next/next-minimal-server.js.nft.json +1 -1
- package/dashboard/.next/next-server.js.nft.json +1 -1
- package/dashboard/.next/prerender-manifest.js +1 -1
- package/dashboard/.next/prerender-manifest.json +1 -1
- package/dashboard/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/dashboard/.next/server/app/_not-found.html +1 -1
- package/dashboard/.next/server/app/_not-found.rsc +1 -1
- package/dashboard/.next/server/app/access/page_client-reference-manifest.js +1 -1
- package/dashboard/.next/server/app/calls/page_client-reference-manifest.js +1 -1
- package/dashboard/.next/server/app/conformance/page_client-reference-manifest.js +1 -1
- package/dashboard/.next/server/app/diagram/page_client-reference-manifest.js +1 -1
- package/dashboard/.next/server/app/diagram.html +1 -1
- package/dashboard/.next/server/app/diagram.rsc +1 -1
- package/dashboard/.next/server/app/flows/page_client-reference-manifest.js +1 -1
- package/dashboard/.next/server/app/flows.html +1 -1
- package/dashboard/.next/server/app/flows.rsc +1 -1
- package/dashboard/.next/server/app/functions/page_client-reference-manifest.js +1 -1
- package/dashboard/.next/server/app/issues/page_client-reference-manifest.js +1 -1
- package/dashboard/.next/server/app/notes/page_client-reference-manifest.js +1 -1
- package/dashboard/.next/server/app/page_client-reference-manifest.js +1 -1
- package/dashboard/.next/server/app/progress/page_client-reference-manifest.js +1 -1
- package/dashboard/.next/server/app/report/page_client-reference-manifest.js +1 -1
- package/dashboard/.next/server/app/stats/page_client-reference-manifest.js +1 -1
- package/dashboard/.next/server/app-paths-manifest.json +10 -10
- package/dashboard/.next/server/chunks/530.js +1 -1
- package/dashboard/.next/server/functions-config-manifest.json +1 -1
- package/dashboard/.next/server/middleware-build-manifest.js +1 -1
- package/dashboard/.next/server/pages/404.html +1 -1
- package/dashboard/.next/server/pages/500.html +1 -1
- package/dashboard/.next/server/server-reference-manifest.js +1 -1
- package/dashboard/.next/server/server-reference-manifest.json +1 -1
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +6 -3
- package/dist/commands/init.js.map +1 -1
- package/dist/skills/generate-report.md +2 -0
- package/dist/skills/ingest-aa-report.md +11 -2
- package/dist/skills/validate-finding.md +4 -3
- package/dist/skills/write-finding.md +8 -6
- package/package.json +1 -1
- /package/dashboard/.next/static/{ZYqkgvjnS38aMxfanyctA → AyrRAwu4mazjp8iX4Yjbb}/_buildManifest.js +0 -0
- /package/dashboard/.next/static/{ZYqkgvjnS38aMxfanyctA → AyrRAwu4mazjp8iX4Yjbb}/_ssgManifest.js +0 -0
|
@@ -59,7 +59,7 @@ The `id`, `poc`, and `created_at` fields are managed by `hex issue new` (see Act
|
|
|
59
59
|
"title": "<concise, descriptive title>",
|
|
60
60
|
"severity": "Critical|High|Medium|Low|Info",
|
|
61
61
|
"category": "<e.g., Math / Rounding, Access Control, Reentrancy, Oracle Manipulation>",
|
|
62
|
-
"description": "<
|
|
62
|
+
"description": "<short structured paragraphs (expected behavior, the flaw, the impact) with a fenced solidity snippet and every identifier backticked as `name(...)`; no headings or bold section labels — see Description format below>",
|
|
63
63
|
"root_cause": {
|
|
64
64
|
"locations": [
|
|
65
65
|
{ "file": "<path>", "snippet": "<relevant code>" }
|
|
@@ -90,12 +90,14 @@ Phrase recommendations as suggestions, not commands. The auditor proposes direct
|
|
|
90
90
|
|
|
91
91
|
### Description format (STRICT)
|
|
92
92
|
|
|
93
|
-
The finding is rendered
|
|
93
|
+
The finding is rendered inline after `**Description**:` in the report, so it must be prose (no markdown headings), but it must be **structured and readable**, not a wall of text:
|
|
94
94
|
|
|
95
|
-
- **
|
|
96
|
-
- **
|
|
97
|
-
-
|
|
98
|
-
- **
|
|
95
|
+
- **Split into short paragraphs that separate the parts of the finding.** Cover, in order, how the code is supposed to work (the expected behavior or spec), what is wrong (the flaw), and the impact. Give each its own short paragraph rather than one dense block. Look at how a clean finding reads: a paragraph of context/expected behavior, the offending code, then a paragraph on what breaks and why it matters.
|
|
96
|
+
- **No markdown headings and no bold section labels.** The separation is paragraph breaks, not headers. Do not write `#`/`##`, and do not introduce paragraphs with `**Summary**:`, `**Impact**:`, `**Details**:`, `**Affected code**:` or similar labels — those read as machine-generated. Let the prose carry the structure.
|
|
97
|
+
- **Backtick every Solidity identifier** so the report renders it in monospace. Functions are written as `` `functionName(...)` `` with the literal `(...)`, e.g. `` `deposit(...)` ``, `` `sweepTreasury(...)` ``. Contracts, interfaces, variables, constants, and hex/number literals get plain backticks: `` `CardinalExchange` ``, `` `undeployedLpCapital` ``, `` `feeBps` ``. Standard names (ERC-4626, UUPS, ERC-20) stay as plain text. Never leave a bare identifier in the prose.
|
|
98
|
+
- **Show the offending code.** Include a fenced ```` ```solidity ```` block of the relevant lines (with `@audit-issue` comments per the Code Block Formatting Rules below) rather than describing the code only in words. Keep it minimal — just what's needed to see the issue.
|
|
99
|
+
- Affected file paths belong in `--file` (the File(s) line), not narrated in the description.
|
|
100
|
+
- **Be concise within the structure.** Short paragraphs, no padding, don't restate the title or repeat the recommendation. Readable and specific beats long.
|
|
99
101
|
|
|
100
102
|
### Report-facing content (STRICT)
|
|
101
103
|
|
package/package.json
CHANGED
/package/dashboard/.next/static/{ZYqkgvjnS38aMxfanyctA → AyrRAwu4mazjp8iX4Yjbb}/_buildManifest.js
RENAMED
|
File without changes
|
/package/dashboard/.next/static/{ZYqkgvjnS38aMxfanyctA → AyrRAwu4mazjp8iX4Yjbb}/_ssgManifest.js
RENAMED
|
File without changes
|