Sample audits · Earlier documentation audits

Helius API documentation

Summary card for this audit: 154 findings after review, 4 High, 64 Medium, 76 Low, 10 Info
Auditedhelius.dev documentation (English pages and API specifications), pages fetched 11 October 2026
Date11 October 2026 (audited again; first audit 31 May 2026)
How it ranlocal run on our workstation, full audit, Standard review
Verdict after reviewFail (Fail if a High finding remains after review, otherwise Pass with notes)

Related: Helius docs: pages changed or added since May

4
High after review
64
Medium after review
76
Low after review
10
Info after review
1
excluded on review

Compared with the first audit

The pages were fetched again on 11 October 2026 and audited in full; our first audit used the copy of 28 May 2026 and an earlier method, so its severities are shown as first rated. Each finding of the first audit (31 May 2026) was checked again against the pages audited now. 21 findings in the first audit; 16 still open (4 found again, 12 not reported again but still present); 1 fixed upstream since; 1 not in the pages, so the first audit was wrong there; 3 could not be compared. This audit has 154 findings after review, 150 of them new.

First auditFindingRating then (as first rated, earlier method)NowIn this audit
#F-1Sender API regional endpoints transmit signed transactions over plaintext HTTP, no security-tradeoff noteMediumStill open#88
#F-2AWS API Gateway internal metadata leaked into the public Webhooks OpenAPI specHighStill open#109
#F-3Merged OpenAPI catalog scope ambiguous, and Enhanced API has no standalone specMediumStill opennot reported again
#F-4info.title: 8 distinct naming patterns across 8 standalone specsMediumStill opennot reported again
#F-5info.version inconsistency across OpenAPI specsMediumStill opennot reported again
#F-6OpenAPI standard-version inconsistency: 7 at 3.1.0, 2 at 3.0.3MediumStill opennot reported again
#F-7Three different hosts cited for the Webhooks API across documentation channelsHighStill open#70
#F-8Path versioning inconsistency across REST surfaces (v0 vs v1)MediumStill opennot reported again
#F-9Top-level security declaration inconsistent across specsMediumStill opennot reported again
#F-10DAS spec uses zero components.schemas; all response schemas inlinedMediumStill opennot reported again
#F-11Top-level llms.txt enumerates about 24 URLs against 659 pagesMediumFixed upstream sincenot reported again
#F-12Section-level llms.txt files advertised in sitemap.xml (14 entries) but not all reachable in the mirrorMediumNot in the code: the first audit was wrong herenot reported again
#F-13Enhanced API is billable and in the merged catalog, but has no standalone OpenAPI specMediumCould not be comparednot reported again
#F-14Documentation-index banner positioned before page H1 across 658 of 659 documentsMediumStill open#1
#F-15Two Chinese-language pages return 404 while English equivalents are presentMediumCould not be comparednot reported again
#F-16Onboarding table, linkset and OpenAPI info.title disagree on surface namingMediumStill opennot reported again
#F-17Admin API is a single-endpoint surface vs agent-doc framing of "project usage, billing"MediumStill opennot reported again
#F-18JSON-RPC method discrimination via URL fragments in OpenAPI pathsMediumStill opennot reported again
#F-19Pervasive Mintlify JSX wrappers across documentation contentLowStill opennot reported again
#F-20_llms.txt and _llms_v2.txt are byte-identicalLowCould not be comparednot reported again
#F-21Three-format OpenAPI source-of-truth ambiguity (GitHub YAML, helius.dev JSON, inline YAML)LowStill opennot reported again
How to read this page

Each finding keeps the number it has in the audit report. The rating shown first is the one after review; the first automated rating is listed with it. 123 findings were first rated Medium or High; 68 of them are Medium or High after review. Text marked "From the report" is quoted from the audit report; fixes are suggestions and were not tested. Locations are paths inside the fetched copy of the documentation.

High after review (4)

61. High Webhook retry policy in the summary file contradicts the FAQ
First rating: High · Reviewed rating: High · Review: confirmed · new in this audit
Location: api-reference/webhooks/llms.txt:44
From the report
Evidence

Evidence: - 24-hour retry with exponential backoff, versus faqs/webhooks.md:62-64: "retry up to 3 times with a 1-second gap … the event is permanently lost".

Why it matters

integrators who size their outage handling on 24 hours will permanently lose every event that arrives during a downtime longer than a few seconds.

Suggested fix, not tested

make one policy authoritative and regenerate the summary from it. Tell readers to persist each event before acknowledging it, and document how to reconcile gaps.

Review: llms.txt:44 "24-hour retry with exponential backoff" versus faqs/webhooks.md:62-64 "up to 3 times with a 1-second gap ... permanently lost". Following the summary loses events.

91. High Docker example writes the build secret into the image
First rating: High · Reviewed rating: High · Review: confirmed · new in this audit
Location: api-reference/authentication.md:190
From the report
Evidence
RUN --mount=type=secret,id=helius_key \
    cat /run/secrets/helius_key > /app/api_key.txt
Why it matters

the key stays in an image layer that anyone who can pull the image can read.

Suggested fix, not tested

inject the key at runtime, and never write a mounted secret to disk.

Review: RUN --mount=type=secret,id=helius_key then cat … > /app/api_key.txt (190-191), offered as the "Docker secrets" safe option. The file persists in the layer.

92. High Payment reconciliation can mark several orders paid from one transfer
First rating: High · Reviewed rating: High · Review: confirmed · new in this audit
Location: wallet-api/transfers.md:369
From the report
Evidence
const match = recentTransfers.find(t =>
  Math.abs(t.amount - expected.amount) < 0.01 &&
  t.counterparty === expected.from
Why it matters

matched transfers are never consumed, so two same-amount orders from one payer are both marked "Received" after a single payment, and goods ship unpaid. The tolerance also accepts short payments, only one page of 50 transfers is checked, and finality is ignored.

Suggested fix, not tested

consume each matched signature, compare exact integer amounts, require finality, and page back to the order date.

Review: find (369-371) never consumes a match, so two same-amount orders from one payer both read "Received" (377). The < 0.01 tolerance accepts short payments, and finality is not checked. Page size 50 not checked.

95. High Retry after 30 seconds can land two trades
First rating: High · Reviewed rating: High · Review: location checked, kept as rated · new in this audit
Location: sending-transactions/guides/land-trades-with-sender.md:115
From the report
Evidence

Evidence: for (let i = 0; i < 30; i++) { … } throw new Error('Not confirmed within 30s: rebuild with a fresh blockhash and resend');

Why it matters

the original blockhash stays valid for about 60–90 seconds, so the first trade can still land after the replacement is sent.

Suggested fix, not tested

wait until the block height passes the original's lastValidBlockHeight before rebuilding, or resend the same signed bytes.

Review: The loop at 115-124 throws "rebuild with a fresh blockhash and resend". Line 147 says rebuild instead of resending stale. optimizing-transactions.md:318 says a blockhash lasts about a minute, and :310 warns both transactions can land.

Medium after review (64)

2. Medium Token-account listing misses Token-2022 accounts
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
Location: das/get-tokens.md:65
From the report
Evidence

Evidence: programId: 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA', under the heading "List all token accounts owned by a wallet". The page says it covers "SPL and Token-2022".

Why it matters

the call returns only original-program accounts, so Token-2022 holdings are silently missing.

Suggested fix, not tested

query both token programs, or point to getAssetsByOwner. State that a single-program query misses the other program's accounts.

Review: The heading "List all token accounts owned by a wallet" at line 52 is followed by programId: 'TokenkegQ...' at line 65, while line 13 says the page covers "SPL and Token-2022".

5. Medium Swap decoder takes the user from the fee payer and picks arbitrary balance changes
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
Location: laserstream/guides/decoding-transaction-data.md:691
From the report
Evidence
// Extract user (first account is typically the fee payer/user)
const user = accountKeys[0];
const inputChange = tokenChanges.find(change => change.change < 0);
Why it matters

with relayers or sponsored fees the fee payer is not the trader. find takes the first changed account of any owner, which can be a pool vault. The loop at line 734 iterates only the post balances, so a swap whose input account was closed (typical for wrapped SOL) is dropped.

Suggested fix, not tested

derive the user from the token-balance owner whose balance went down and up. Iterate the union of pre and post entries keyed by owner and mint, and use BigInt for amounts.

Review: const user = accountKeys[0] at line 691, .find(change => change.change < 0) at line 699. The loop runs over postBalances only, so a closed wrapped-SOL account is dropped.

7. Medium Staking samples report success without checking the outcome
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
Location: staking/how-to-stake-with-helius-programmatically.md:134
From the report
Evidence

Evidence: await helius.connection.confirmTransaction(signature, 'confirmed'); return { signature, ...

Why it matters

confirmation resolves even when the transaction failed on-chain. The quick start prints "Staked!" right after sending. The batch version (line 402) turns errors into null, which Promise.allSettled counts as success.

Suggested fix, not tested

check value.err after confirming, return explicit success or failure per wallet, and count only real signatures.

Review: Line 134 confirmTransaction(...) with no err check, and line 101 prints "Staked!". The batch path returns null on error (about line 402), which allSettled counts as fulfilled.

14. Medium Reconnect samples resubscribe but never resynchronise missed state
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
Location: rpc/websocket.md:408
From the report
Evidence

Evidence: resubscribeAll() { … for (const [id, sub] of this.subscriptions) { this.sendSubscription(id, sub.method, sub.params); }

Why it matters

updates sent while the client was disconnected are lost, and local copies stay stale. The same happens in rpc/websocket/quickstart.md:366 and rpc/websocket/stream-pump-amm-data.md:96.

Suggested fix, not tested

on every reconnect, re-read the current state (account reads, or signatures since the last one seen) before trusting new notifications.

Review: resubscribeAll() at websocket.md:408-413 only re-sends. The same pattern is at quickstart.md:366, which sits under "Production-Ready Implementation" (line 301).

15. Medium Portfolio balances are filled only by notifications
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
Location: rpc/websocket/quickstart.md:493
From the report
Evidence

Evidence: this.balances = new Map(); … this.balances.set(\${walletAddress}:SOL\, solBalance);

Why it matters

the portfolio value is wrong from start-up until every asset has changed once, and again after each reconnect.

Suggested fix, not tested

seed the balances from RPC at start and after each reconnect.

Review: this.balances = new Map() at line 494. There is no getBalance or getTokenAccounts call in the file.

19. Medium React cleanup calls a method that does not exist
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
Location: rpc/websocket/quickstart.md:713
From the report
Evidence

Evidence: return () => { if (manager) manager.disconnect(); };

Why it matters

WebSocketManager has no disconnect, so unmounting throws and the socket leaks. Every remount, including StrictMode's double effect, adds another connection.

Suggested fix, not tested

implement disconnect() (unsubscribe, clear timers, close the socket) and keep the manager in a ref.

Review: Line 714 manager.disconnect(). class WebSocketManager (line 306) has no disconnect; grep finds only this one use.

25. Medium Rate-limit retry has no cap and can spin with zero delay
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
Location: api-reference/authentication.md:220
From the report
Evidence
const retryAfter = response.headers.get('Retry-After');
await new Promise(resolve => setTimeout(resolve, retryAfter * 1000));
return makeRequest(url, data); // Retry
Why it matters

without the header the delay is 0, so the client retries forever against a throttled API. The Python tab and rpc/optimization-techniques.md:416 (while (true)) have the same problem.

Suggested fix, not tested

cap the attempts, default the delay, and use jittered exponential backoff.

Review: Lines 221-224. A missing header gives null * 1000 = 0 and the function recurses without limit. The loop at optimization-techniques.md:416 is while (true) (it does back off).

37. Medium Raw u64 amounts are sent as bare JSON numbers in stream and event payloads
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
Location: parsed-streams/quickstart.md:200
From the report
Evidence

Evidence: "rawTokenAmount": 183985, … "amount": 1000000. Line 251 itself says u64 values "do not fit in JavaScript numbers".

Why it matters

JavaScript consumers silently lose precision above 2^53. parsed-events/parsed-response.md:59 types rawTokenAmount as number.

Suggested fix, not tested

send every u64 amount as a decimal string, as the instruction arguments already are.

Review: "rawTokenAmount": 183985 at line 200. parsed-response.md:59 types it number. Line 251 itself says u64 "do not fit in JavaScript numbers".

40. Medium Enhanced API types the same amount three different ways
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
Location: _openapi/enhanced-api.json:2500
From the report
Evidence

Evidence: "tokenAmount": { "type": "number" }; elsewhere "amount": { "type": "string" } and "amount": { "type": "integer" }.

Suggested fix, not tested

use one lossless encoding (a decimal string) for every u64 amount, and keep the float as a separate display field.

Review: Token amounts are number (line 2501), string (line 3255) and number (line 3295). Lamport amounts are integer.

45. Medium Request ids from Date.now() collide, and the local id is sent to unsubscribe
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
Location: rpc/websocket/quickstart.md:350
From the report
Evidence

Evidence: const requestId = Date.now(); … this.subscriptions.set(requestId, subscription);

Why it matters

back-to-back subscribe() calls share one id, so Map entries overwrite each other and callbacks bind wrongly. Line 801 also passes the local id to unsubscribe instead of the server's id.

Suggested fix, not tested

use a monotonic counter, store both ids, and send only the server-issued id.

Review: const requestId = Date.now() at line 350 as the Map key. Line 801 calls this.unsubscribe(sub.requestId), and no unsubscribe method is defined in the file.

52. Medium Load button allows overlapping requests and leaves a stale portfolio
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
Location: quickstart/portfolio-tracker.md:395
From the report
Evidence

Evidence: const load = async () => { setError(null); setLive([]); setStreamAddress(address); try {

Why it matters

there is no in-flight guard, so a slower earlier response can overwrite the newer one. After an error, the previous wallet's portfolio stays on screen under the new address while the live feed follows the new address.

Suggested fix, not tested

clear the portfolio and history at the start, disable the button while loading, and ignore stale responses (AbortController or a request counter).

Review: load at lines 395-398 sets setStreamAddress(address) and clears live but not the portfolio, and has no in-flight guard.

62. Medium Summary files state a 24-hour replay window; the pages say 48 hours
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
Location: api-reference/laserstream/grpc/llms.txt:38
From the report
Evidence

Evidence: - 24-hour historical replay (216,000 slots), versus laserstream/historical-replay.md:19: "up to ~48 hours (~691,200 slots)". The stale figure also appears in dedicated-nodes/llms.txt, shred-delivery/llms.txt, data-streaming.md, rpc/websocket.md and rpc/how-to-index-solana-data.md.

Suggested fix, not tested

regenerate the summaries from one fact table and verify the composed set.

Review: grpc/llms.txt:38,46,301 say 24 hours / 216,000 slots, and historical-replay.md:19 says about 48 hours / 691,200. The stale figure also appears in dedicated-nodes/llms.txt:17, shred-delivery/llms.txt:76, data-streaming.md:39, rpc/websocket.md:763 and how-to-index-solana-data.md:319.

63. Medium LaserStream summary gives the wrong plan for mainnet and invalid request samples
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
Location: api-reference/laserstream/grpc/llms.txt:13
From the report
Evidence

Evidence: 2. Choose your plan (Devnet: Developer/Business, Mainnet: Professional), while the table at line 53 and laserstream.md:41 include Business for mainnet. The samples at lines 98, 237 and 251 use accounts: { client: "my-app", account: [...] }, which is not a valid filter map. Line 221 uses an undefined class, and line 312 links a missing page.

Suggested fix, not tested

correct the plan line and the sample shapes, and fix the link.

Review: Line 13 "Mainnet: Professional" versus the table at line 53 and laserstream.md:41 (Business too). The accounts: { client: "my-app", account: [...] } shape is at lines 99-102 and 236-239. Line 312 links the missing shred-delivery/preprocessed-transactions.md. The "undefined class" at line 221 is a "Before" example of the reader's existing code, so that part is weak.

64. Medium Priority-level definitions differ between summary and guide
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
Location: api-reference/priority-fee/llms.txt:131
From the report
Evidence

Evidence: "low (20-40th percentile) … veryHigh (80-95th percentile)", versus priority-fee-api.md:65-89: 25th / 50th / 75th / 95th percentile.

Suggested fix, not tested

pick the true definition and align the summary, the guide and the spec.

Review: llms.txt:131-135 (min 0-20th, low 20-40th ... veryHigh 80-95th) versus priority-fee-api.md:65-89 (25th / 50th / 75th / 95th).

65. Medium Credit cost of archival methods is stated three ways
First rating: Medium · Reviewed rating: Medium · Review: location checked, kept as rated · new in this audit
Location: api-reference/rpc/http/llms.txt:101
From the report
Evidence

Evidence: | 10 | getBlock, getBlocks, … getTransaction, …, versus billing/credits.md (1 credit) and rpc/guides/overview.md:149 ("All archival methods cost 1 credit").

Why it matters

the migration guide's savings figures depend on this number.

Suggested fix, not tested

verify the metering and correct the wrong files.

Review: rpc/http/llms.txt:101 puts getBlock and getTransaction at 10 credits, versus rpc/guides/overview.md:149 "All archival methods cost 1 credit" and credits.md:145 "1 credit".

66. Medium RPC method list differs between pages, spec and summary
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
Location: api-reference/rpc/http/llms.txt:99
From the report
Evidence

Evidence: lists getStakeActivation, which has no page or spec operation. getAgGenesisCert has a page but is missing from rpc-http.json, and simulateBundle is missing from the credit table.

Suggested fix, not tested

generate the spec, the index and the summaries from one method list.

Review: getStakeActivation is listed at llms.txt:99 and has no page or spec entry. getAgGenesisCert has a page (getaggenesiscert.md) but no rpc-http.json entry. simulateBundle is in credits.md:106 but not in the llms credit table.

67. Medium Summary tells clients to request transaction version 0
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
Location: api-reference/rpc/http/llms.txt:1164
From the report
Evidence

Evidence: "Set maxSupportedTransactionVersion: Always set to 0", versus rpc/transaction-v1.md:58: requests that omit it or send 0 fail with -32015 once a v1 transaction is touched. The value 0 also appears at lines 118, 619, 634, 737 and 750, in _openapi/rpc-http.json examples, in rpc/guides/getblock.md:173, and as an omitted parameter in rpc/gettransactionsforaddress.md.

Suggested fix, not tested

use 1 everywhere and note the SDK upgrade prerequisite.

Review: llms.txt:1164 "Always set to 0" versus transaction-v1.md:58 "omits the parameter, or sets it to 0, fails with -32015". Lines 118, 619, 634, 737 and 750 repeat the 0. rust-sdk/best-practices.md:207 already says to use 1.

68. Medium Sender summary contradicts the pages on auth and rate limits
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
Location: api-reference/sender/llms.txt:76
From the report
Evidence

Evidence: - Auth: No API key required … - 50 requests per second (all plans), versus sending-transactions/sender.md:496-497: keyless traffic gets 1 request per second per IP, and 50/s requires the key.

Why it matters

clients built from the summary are throttled.

Suggested fix, not tested

reconcile the summary, the pages and the spec.

Review: sender/llms.txt:76-77 "No API key required ... 50 TPS default" versus sender.md:496-497 (keyless 1 request/s per IP, 50/s with a key).

69. Medium DAS summary uses a request field the spec does not define
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
Location: api-reference/das/llms.txt:31
From the report
Evidence

Evidence: displayOptions: { showFungible: true, showNativeBalance: true }, while _openapi/das-api.json and das/get-tokens.md define options. The same field is at lines 158, 180, 514, 543, 567, 583 and 603, and in quickstart/portfolio-tracker.md and rpc/websocket/transaction-subscribe.md.

Suggested fix, not tested

use one documented field name everywhere.

Review: displayOptions at das/llms.txt:31 (and 158, 180, 514, 543, 567, 583, 603), versus options at das-api.json:91, get-tokens.md:243. It also appears at portfolio-tracker.md:59,405 and transaction-subscribe.md:253.

70. Medium Webhooks API host, auth and enum values differ across spec, quickstart and catalog
First rating: Medium · Reviewed rating: Medium · Review: confirmed · also in the first audit (#F-7)
Location: _openapi/webhooks.json:17
From the report
Evidence

Evidence: "url": "https://api-mainnet.helius-rpc.com", while api-reference/webhooks/llms.txt uses mainnet.helius-rpc.com/v0/webhooks and _openapi/index.json uses api.helius.xyz. data-streaming/quickstart.md:152-157 sends Authorization: Bearer and "transactionTypes": ["Any"], while the spec defines a query-parameter key and ANY.

Suggested fix, not tested

settle one host, auth scheme and enum casing, and apply them everywhere.

Review: webhooks.json:17 https://api-mainnet.helius-rpc.com, webhooks/llms.txt:48 https://mainnet.helius-rpc.com/v0/webhooks, index.json:32 https://api.helius.xyz. data-streaming/quickstart.md:153,157 use Authorization: Bearer and ["Any"], while the spec uses ApiKeyQuery (line 22) and "ANY" (line 794).

71. Medium Admin API spec and page describe different response shapes
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
Location: _openapi/admin-api.json:97
From the report
Evidence

Evidence: "usage": { … "description": "Request counts broken down by service type …", while api-reference/admin/get-project-usage.md and api-reference/admin.md document creditCycle, credits, requests, dataTransfer and a nullable billingCycle.

Suggested fix, not tested

publish one definition and generate both from it.

Review: admin-api.json:97-99 usage with api/archival, versus admin.md:75,86 (requests, dataTransfer) and get-project-usage.md (creditCycle, nullable billingCycle). The spec has no creditCycle.

72. Medium Published RPC spec rejects a documented filter
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
Location: _openapi/rpc-http.json:15685
From the report
Evidence

Evidence: the filters object ends with "additionalProperties": false and has no tokenTransfer, which rpc/gettransactionsforaddress.md:189-213 documents and uses.

Suggested fix, not tested

regenerate the spec from the same source as the pages.

Review: The filters object ends with "additionalProperties": false (line 15685). tokenTransfer is absent from rpc-http.json but documented at gettransactionsforaddress.md:189-213.

73. Medium Billing summary contradicts the billing pages
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
Location: billing/llms.txt:164
From the report
Evidence

Evidence: | Sender | 15/s | 15/s | 15/s | 15/s |, versus billing/rate-limits.md (50/s). Lines 240 and 276 also conflict with pay-with-crypto.md, and Parsed Events is missing from the credit table.

Suggested fix, not tested

regenerate the summary and add a check that compares its numeric facts with the pages.

Review: Line 240 "Some users: Autoscaling available" versus pay-with-crypto.md:126 "isn't available on crypto plans". The Parsed Events row claim was not checked.

74. Medium Enhanced Transactions summary presents the legacy API as primary
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
Location: api-reference/enhanced-transactions/llms.txt:8
From the report
Evidence

Evidence: "Transform raw Solana transactions into human-readable, structured data … ### Fastest Setup", with no maintenance-mode notice, while enhanced-transactions/overview.md:9-11 says the API is legacy.

Suggested fix, not tested

add the legacy banner and the successor pointer, and replace the stale SDK samples.

Review: enhanced-transactions/llms.txt:8,17 ("Fastest Setup"), with no legacy or maintenance text anywhere in the file. overview.md:7-11 says "legacy product in maintenance mode, succeeded by Parsed Events".

75. Medium Agents summary shows a signup flow that cannot return the key
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
Location: agents/llms.txt:113
From the report
Evidence

Evidence: helius signup --email … --json followed by a success response with "apiKey". The default mode prints a payment link, and the key only comes after --resume or --pay.

Why it matters

an agent that follows this file waits for a key that never arrives. Line 49 also maps priority fees to the wrong tool.

Suggested fix, not tested

regenerate the file from the CLI and MCP pages and run the quick start once end to end.

Review: cli.md:62-66 says the default prints a hosted payment link and the key comes after --resume. Line 49 puts priority fees under heliusTransaction, but mcp/tools.md:103,112 puts them under the chain tool.

76. Medium Rust SDK page states an outdated minimum tip
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
Location: agents/rust-sdk/best-practices.md:203
From the report
Evidence

Evidence: "Minimum 0.0002 SOL (Dual mode) or 0.000005 SOL (SWQOS-only)", versus 0.001 SOL for Sender Max in sending-transactions/sender.md, faqs/sender.md and _openapi/sender-api.json.

Suggested fix, not tested

update the figure and the mode naming, and source tip figures from one snippet.

Review: best-practices.md:203 "Minimum 0.0002 SOL (Dual mode) or 0.000005 SOL (SWQOS-only)". sender.md:12,48 and faqs/sender.md:24 give 0.001 SOL for Sender Max.

77. Medium Pages disagree on the status of Enhanced Transactions and its successor
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
Location: faqs/enhanced-transactions.md:28
From the report
Evidence

Evidence: "The Enhanced Transactions API is deprecated … new integrations should use getTransactionsForAddress". Other pages say "legacy", "no forced cutoff", or name Parsed Events as the successor, while sdks/rust.md, a guide and a skill still teach it for new work.

Suggested fix, not tested

choose one status and one successor per use case and apply them everywhere.

Review: faqs/enhanced-transactions.md:28 "deprecated ... use getTransactionsForAddress" versus overview.md:7-10 "legacy ... succeeded by Parsed Events". sdks/rust.md:7,41 still teaches it.

80. Medium Migration guide does not map every legacy parameter
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
Location: parsed-events/guides/migrate-from-enhanced-transactions.md:92
From the report
Evidence

Evidence: "Every query parameter becomes a JSON body field:". The table omits token-accounts and source.

Why it matters

callers who relied on those parameters get different results with no error.

Suggested fix, not tested

list every legacy parameter as mapped, dropped or client-side, and show a before/after comparison.

Review: The old API has token-accounts (enhanced-transactions/transaction-history.md:99) and source (api-reference/enhanced-transactions/gettransactionsbyaddress.md:62,113). type is covered in prose at 119.

88. Medium Sender regional endpoints are plain HTTP and carry the API key
First rating: High · Reviewed rating: Medium · Review: rated too high · also in the first audit (#F-1)
Location: sending-transactions/sender.md:520
From the report
Evidence

Evidence: http://slc-sender.helius-rpc.com/fast?api-key=YOUR_API_KEY. The same pattern is in AGENTS.md:30, land-trades-with-sender.md, jupiter-swap-api-via-sender.md:79, trade-on-preconfirmations.md:102 and _openapi/sender-api.json.

Why it matters

anyone on the network path can read the project API key in cleartext and spend its credits.

Suggested fix, not tested

serve every region over HTTPS and update all URLs. Until then, warn against putting the key in these URLs.

Review: Key-bearing HTTP URLs at sender.md:520-526 (7 hits, all in that file). land-trades-with-sender.md:32 SENDER='http://ewr-…' is used at 128 as ${SENDER}/fast?api-key=…. "Spend its credits" is loose: sender.md:498 says Sender uses no credits, though the project key works elsewhere.

89. Medium A real-looking API key is published in dedicated-node examples
First rating: High · Reviewed rating: Medium · Review: rated too high · new in this audit
Location: dedicated-nodes/getting-started.md:95
From the report
Evidence

Evidence: a UUID-format API key starting 4659… in the connection URL, repeated at line 110.

Why it matters

if this key is live, anyone can use it.

Suggested fix, not tested

rotate the key and replace it with a placeholder.

Review: A UUID-format key starting 4659… is in the node URL at 95 and 110. No "replace with your own" note for it.

90. Medium A real-looking gRPC access token is published in a CLI example
First rating: High · Reviewed rating: Medium · Review: rated too high · new in this audit
Location: dedicated-nodes/getting-started.md:147
From the report
Evidence

Evidence: an --x-token value starting 42f0….

Suggested fix, not tested

rotate the token and use a placeholder.

Review: --x-token 42f0… at 147. Line 150 tells the reader to replace URL and token, so it is probably demo text, but it looks real.

93. Medium Preconfirmation trading listener can send the same trade twice
First rating: High · Reviewed rating: Medium · Review: rated too high · new in this audit
Location: pre-confirmations/guides/trade-on-preconfirmations.md:80
From the report
Evidence

Evidence: onScheduledTransaction({ slot, status, tx }); is called for every frame, but preconf-subscribe.md:290 says the same signature can arrive twice.

Why it matters

each duplicate builds and sends a new paid transaction, so both can land.

Suggested fix, not tested

keep a bounded seen-set of signatures and an in-flight registry before reacting.

Review: onScheduledTransaction is called per frame (80) with no dedupe. preconf-subscribe.md:290-292 says the same signature can arrive twice and to deduplicate. includeBam defaults to on (384). The strategy code is a black box and duplicates are a "small share".

94. Medium Preconfirmation listener crashes on the first v1 transaction
First rating: High · Reviewed rating: Medium · Review: rated too high · new in this audit
Location: pre-confirmations/guides/trade-on-preconfirmations.md:78
From the report
Evidence

Evidence: const tx = VersionedTransaction.deserialize(buf.subarray(18));, with no try/catch, while the reference says older deserializers cannot read v1.

Why it matters

the throw inside the message handler ends the process. preprocessed-transactions/guides/trade-on-preprocessed.md:100 has the same call.

Suggested fix, not tested

use a v1-capable decoder and wrap decoding in try/catch.

Review: Line 78 VersionedTransaction.deserialize is not in try/catch, inside ws.on('message'). preconf-subscribe.md:272 says older deserializers handle only legacy and v0. preprocessed-transactions/guides/trade-on-preprocessed.md:100 has the same call, inside the async drain loop.

96. Medium Reconnect guide crashes on a connection error
First rating: High · Reviewed rating: Medium · Review: rated too high · new in this audit
Location: parsed-streams/guides/handling-reconnects.md:56
From the report
Evidence

Evidence: const ws = new WebSocket(URL); with listeners for open, message and close, but no error.

Why it matters

an error event with no listener throws and kills the process, which is exactly the failure the guide exists to survive. The same applies to track-jupiter-swaps.md and parsed-streams/quickstart.md.

Suggested fix, not tested

attach an error listener first, and let close drive the reconnect.

Review: import WebSocket from "ws" (45), new WebSocket(URL) (56), handlers open, message and close only (58-87). The same holds in track-jupiter-swaps.md:58-92 and parsed-streams/quickstart.md:361-383. track-pumpfun-mints.md:89 does have an error handler.

97. Medium Server-sent-events relay can crash the server
First rating: High · Reviewed rating: Medium · Review: rated too high · new in this audit
Location: quickstart/portfolio-tracker.md:316
From the report
Evidence

Evidence: const ws = new WebSocket(wss://mainnet.helius-rpc.com/?api-key=${process.env.HELIUS_API_KEY});, with handlers only for open and message.

Why it matters

any upstream failure throws an uncaught exception and takes down the Next.js server. Anonymous callers can trigger it.

Suggested fix, not tested

add error and close handlers that close the SSE stream once, and guard JSON.parse.

Review: Only open, message and abort handlers (316-351), no error. An upstream error is uncaught. "Anonymous callers can trigger it" is unsupported: the caller only supplies address.

98. Medium Public proxy lets anyone spend the owner's credits
First rating: High · Reviewed rating: Medium · Review: rated too high · new in this audit
Location: quickstart/portfolio-tracker.md:272
From the report
Evidence

Evidence: export async function POST(req: NextRequest) { const { method, params } = await req.json(); … await helius.getAssetsByOwner(params)

Why it matters

the proxy and the stream route have no authentication, no rate limit and no parameter validation. Anyone can run paid calls and open upstream sockets billed to the owner, with unlimited autoscaling by default.

Suggested fix, not tested

require a session or token, rate-limit per client, validate and clamp parameters, and cap concurrent streams.

Review: "Unlimited autoscaling by default" holds only for Professional (billing/additional-credits.md:69-71: Developer off, Business 50M).

102. Medium Webhook receivers never check the configured auth header
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
Location: api-reference/webhooks/llms.txt:341
From the report
Evidence

Evidence: app.post('/webhook', (req, res) => { const transactions = req.body; transactions.forEach(tx => {

Why it matters

anyone who finds the URL can inject forged swap or sale events. The "validate … signature field" advice refers to a value an attacker can forge.

Suggested fix, not tested

compare the Authorization header with the configured secret in constant time and reject mismatches with 401.

Review: Listener at 341-359 has no check, while authHeader is documented at 90 and 105. The only advice is line 385 "Validate payload structure and signature field".

106. Medium Privacy claims contradict the hosted proving flow
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
Location: privacy/integration/wallet.md:350
From the report
Evidence

Evidence: "Zero-knowledge proof generation requires plaintext inputs of the complete user transaction data and nullifier keys. Currently, server proof generation is available through the standard Helius RPC URL." Meanwhile privacy/concepts/encryption.md:33 says the RPC does not see the asset or amount, and line 110 says "Never send key material".

Suggested fix, not tested

state the trust model wherever privacy is claimed, and correct the tables.

Review: wallet.md:350-352 needs plaintext inputs and nullifier keys via the standard RPC URL. encryption.md:33 says RPC sees no asset or amount, and wallet.md:110 says "Never send key material". Line 355 says E2E-encrypted proving is planned.

110. Medium Published OpenAPI files are invalid
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
Location: _openapi/webhooks.json:2454
From the report
Evidence

Evidence: "maxItems": "100_000" (also "maximum": "10_000"). _openapi/enhanced-api.json references #/components/parameters/apiKeyParam 16 times, but it is never defined.

Suggested fix, not tested

use integer limits, define or drop the reference, and lint the specs in CI.

Review: "maxItems": "100_000" at webhooks.json:2454 and enhanced-api.json:3406. "maximum": "10_000" at webhooks.json:2673 and enhanced-api.json:3625. apiKeyParam has 15 refs in enhanced-api.json and 6 in webhooks.json, and is never defined ("apiKeyParam": has 0 hits).

111. Medium WebSocket reconnection samples cannot reconnect
First rating: Medium · Reviewed rating: Medium · Review: could not be settled · new in this audit
Location: rpc/websocket.md:341
From the report
Evidence

Evidence: connect() { if (this.isReconnecting) return;, while scheduleReconnect() sets isReconnecting = true and then calls connect().

Why it matters

the client never reconnects. The heartbeat at line 225 waits for a "pong" message the server never sends and closes healthy sockets. The circuit breaker at line 476 never schedules a reconnect.

Suggested fix, not tested

clear the flag before retrying, use protocol-level ping frames, schedule reconnects from onclose, and test each sample by dropping the connection twice.

Review: connect() returns if isReconnecting (341), scheduleReconnect sets it true (378) then calls connect() (392-394), and only onopen clears it (356). The circuit breaker onclose only records failure (476-478). The pong claim (225) cannot be checked.

112. Medium "Production-ready" WebSocket manager sample is incomplete and broken
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
Location: rpc/websocket/quickstart.md:342
From the report
Evidence

Evidence: this.ws.onclose = () => { … // Implement reconnection logic here };

Why it matters

SolanaWebSocketManager (line 750) is never defined. The pool monitor subscribes to mint accounts but reads tokenAmount (line 419) and throws. The rate-limit handler uses an undefined reconnectAttempts (line 859) and re-sends every subscription on a live socket.

Suggested fix, not tested

publish one complete, tested class and build the other examples on it.

Review: Placeholder comment at 345. SolanaWebSocketManager is used at 750, 768 and 820 and never defined. A mint is subscribed with jsonParsed (419-423) and .tokenAmount is read at 453. reconnectAttempts is undefined at 859. Section "Production-Ready Implementation" is at 301.

113. Medium Priority-fee sample crashes and uses a wrong program address
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
Location: rpc/optimization-techniques.md:72
From the report
Evidence

Evidence: const { priorityFeeEstimate } = await response.json().result;, and line 67 uses '11111111111111111111111111111112', // System Program.

Suggested fix, not tested

await the JSON before reading it, add jsonrpc and id, and use the correct System Program address.

Review: await response.json().result (72) destructures undefined. The body lacks jsonrpc and id (64-70). '11111111111111111111111111111112' (67) is not the 32-ones System Program.

114. Medium Indexing sample filter is misspelled and contains invisible characters
First rating: Medium · Reviewed rating: Medium · Review: could not be settled · new in this audit
Location: rpc/how-to-index-solana-data.md:346
From the report
Evidence

Evidence: accountsInclude: [ followed by an address with two zero-width characters (U+200B) at line 347. The same characters appear at line 394.

Why it matters

an unknown field leaves the filter empty, which can stream the whole chain, and the pasted address is invalid.

Suggested fix, not tested

rename the field to accountInclude and strip the invisible characters.

Review: accountsInclude at 346 versus accountInclude at 393. U+200B appears on 2 lines (347, 394). "Streams the whole chain" cannot be checked.

115. Medium Index table allows one transfer per transaction
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
Location: rpc/how-to-index-solana-data.md:181
From the report
Evidence

Evidence: signature BYTEA NOT NULL UNIQUE, on token_transfers.

Why it matters

transactions with several transfers lose rows.

Suggested fix, not tested

key on signature plus instruction indexes and write idempotently.

Review: signature BYTEA NOT NULL UNIQUE on token_transfers (181), one row per transfer.

116. Medium Sample query compares base58 text with raw-byte columns
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
Location: rpc/how-to-index-solana-data.md:251
From the report
Evidence

Evidence: WHERE token_mint = 'EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v' against a FixedString(32) column.

Suggested fix, not tested

store base58 text, or decode the literal to bytes.

Review: token_mint FixedString(32) (230) versus the base58 literal (251).

121. Medium Funding-source sample reports the recipient as the funder
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
Location: rpc/gettransactionsforaddress.md:577
From the report
Evidence

Evidence: if (change > 0) { console.log(\Received ${change} lamports from ${…accountKeys[index]}\);

Suggested fix, not tested

report the account with the matching negative change.

Review: Prints Received … lamports from ${accountKeys[index]} where change > 0 (579-580). That account is the recipient.

124. Medium Date range drops the last day
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
Location: enhanced-transactions/transaction-history.md:320
From the report
Evidence

Evidence: const endTime = Math.floor(new Date('2024-01-31').getTime() / 1000); used with lte-time. The same at lines 448-449.

Suggested fix, not tested

use the end of the day, or less-than the next midnight.

Review: endTime = new Date('2024-01-31') (320) with lte-time (322), under the comment "January 1 … January 31". Same at 448-449.

125. Medium Full-history crawl uses the default page size and costs ten times more
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
Location: enhanced-transactions/transaction-history.md:407
From the report
Evidence

Evidence: no limit is passed, so each page holds 10 transactions at 100 credits per call.

Suggested fix, not tested

pass limit=100 and throttle to the plan's rate.

Review: No limit in the crawl (407-441). Default limit is 10 (transaction-history.md:94). billing/credits.md:125 says 100 credits per call.

128. Medium Risk-scoring samples rate flagged funders as low risk
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
Location: wallet-api/funded-by.md:347
From the report
Evidence

Evidence: else if (funding.funderType === 'flagged') {. "flagged" is not a documented category, and the branch sits after !funderName.

Why it matters

named scammers and hackers fall through to score 0. api-reference/wallet-api/llms.txt:283 lowers risk for any identified address and treats API errors as "no data".

Suggested fix, not tested

check the documented malicious categories first and treat errors as unavailable data.

Review: 'flagged' (347) is not a documented category. identity.md:339-342 lists Exploiter, Hacker, Rugger and Scammer. A named malicious funder falls through to score 0. wallet-api/llms.txt:283 lowers risk for any known identity, and a 404 becomes null.

130. Medium Stake status is read from an unrelated field
First rating: Medium · Reviewed rating: Medium · Review: location checked, kept as rated · new in this audit
Location: staking/how-to-stake-with-helius-programmatically.md:315
From the report
Evidence

Evidence: console.log( Status: ${info.meta.lockup.unixTimestamp === 0 ? 'Active' : 'Locked'});

Suggested fix, not tested

derive the status from the activation and deactivation epochs.

Review: info.meta.lockup.unixTimestamp === 0 ? 'Active' : 'Locked' (315).

131. Medium Same add-on has two prices on one page
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
Location: billing/plans.md:204
From the report
Evidence

Evidence: <td>\$400</td> for 5 TB, versus line 472: "ranging from \$500/month for 5 TB".

Suggested fix, not tested

correct the figure and generate price tables from one source.

Review: $400 for 5 TB (plans.md:204, and billing/llms.txt:41) versus "$500/month for 5 TB" (plans.md:472).

134. Medium Rebate sample sends base64 without declaring the encoding
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
Location: sending-transactions/backrun-rebates.md:77
From the report
Evidence

Evidence: transaction.serialize().toString('base64') with options { skipPreflight: true, preflightCommitment: 'processed' }.

Why it matters

the method defaults to base58, so every call fails. The Python sample decodes binary data as UTF-8.

Suggested fix, not tested

add encoding: 'base64' and fix the Python encoding.

Review: toString('base64') (77) with options lacking encoding (Grep encoding in the file: 0 hits for options). Python serialize().decode('utf-8') (111) and true in Python (123) are further defects.

135. Medium Priority-fee quickstart serializes an unsigned transaction and throws
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
Location: priority-fee-api.md:159
From the report
Evidence

Evidence: const serializedTx = bs58.encode(transaction.serialize()); on an unsigned transaction. The same in estimating-fees-using-serialized-transaction.md at lines 118, 239, 336, 407, 574 and 749.

Suggested fix, not tested

pass { requireAllSignatures: false, verifySignatures: false }.

Review: Legacy Transaction with no signature, bs58.encode(transaction.serialize()) (159). The same call is at 118, 239, 336, 407, 574, 749 and 762 of estimating-fees-using-serialized-transaction.md. Line 793 is a VersionedTransaction and fine. The throw rests on web3.js behaviour.

136. Medium Transaction optimisation samples do not run
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
Location: sending-transactions/optimizing-transactions.md:271
From the report
Evidence

Evidence: transaction: bs58.encode(versionedTransaction),. At line 141, let transfer_amount = 100_000; // 0.01 SOL is actually 0.0001 SOL, and line 146 uses the undefined instructions.

Suggested fix, not tested

encode the serialized bytes, correct the amount, and use the defined variable.

Review: bs58.encode(versionedTransaction) (271) encodes an object, not bytes. 100_000 // 0.01 SOL (141) is 0.0001 SOL. instructions (146) is undefined (the variable is instruction).

137. Medium Confirmation steps ignore on-chain failure
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
Location: sending-transactions/jupiter-swap-api-via-sender.md:220
From the report
Evidence

Evidence: const result = await connection.confirmTransaction({ … }, 'confirmed'); followed by console.log("Confirmed");

Why it matters

failed swaps are reported as confirmed. send-manually.md:213 and optimizing-transactions.md:373 have the same flaw, and the latter never resolves on "finalized".

Suggested fix, not tested

check the error field, accept finalized, and use the transaction's own expiry.

Review: confirmTransaction result unused, then "Confirmed" (jupiter-swap-api-via-sender.md:220-225). send-manually.md:213-214 prints "confirmed" without checking status.err. optimizing-transactions.md:373 only matches "confirmed", never "finalized".

141. Medium Priority-fee cost formula uses consumed units instead of the limit
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
Location: priority-fee-api.md:106
From the report
Evidence

Evidence: "Total priority fee = Price per compute unit × Compute units consumed"

Suggested fix, not tested

say "compute unit limit" and recommend setting the limit from simulation.

Review: "Price per compute unit × Compute units consumed" (106). The real fee scales with the requested limit (outside knowledge).

142. Medium Fixed compute limit can push the fee below the required minimum
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
Location: sending-transactions/guides/land-trades-with-sender.md:84
From the report
Evidence

Evidence: ComputeBudgetProgram.setComputeUnitLimit({ units: 100_000 }), with a dynamic price.

Why it matters

an estimate below 50,000 micro-lamports gives less than the 5,000-lamport minimum, so the transaction is rejected.

Suggested fix, not tested

simulate for the limit, clamp the total fee to the minimum, and round the price.

Review: units: 100_000 (84) with a dynamic price. sender-max.md:72,83 requires at least 5,000 lamports, so the price needs to be at least 50,000 µ-lamports. priority-fee-api.md:108 itself cites ~40,000 as Medium.

144. Medium Slot status compared with a string instead of the numeric enum
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
Location: laserstream/guides/slot-and-block-monitoring.md:431
From the report
Evidence

Evidence: if (data.slot && data.slot.status === 'finalized') {

Suggested fix, not tested

compare with the numeric value.

Review: status === 'finalized' (431) while the page says status is numeric (145, 309).

145. Medium Token balance changes paired by array index
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
Location: laserstream/guides/transaction-monitoring.md:230
From the report
Evidence

Evidence: tx.meta.preTokenBalances.forEach((preBalance, index) => { const postBalance = tx.meta.postTokenBalances[index];

Suggested fix, not tested

key both arrays by accountIndex.

Review: preTokenBalances.forEach((pre, index) => … postTokenBalances[index] (229-230).

146. Medium Keep-alive parameter text contradicts the FAQ
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
Location: laserstream/grpc.md:252
From the report
Evidence

Evidence: the ping parameter docs say to "set this to true", while line 788 says a ping field "causes LaserStream to silently ignore all subscription filters".

Suggested fix, not tested

document sending pings separately, after subscribing.

Review: "set this to true" (253) versus "a ping field … silently ignore all subscription filters" (788).

147. Medium Subscribe request examples omit the filter label level
First rating: Medium · Reviewed rating: Medium · Review: location checked, kept as rated · new in this audit
Location: api-reference/laserstream/grpc/subscribe.md:447
From the report
Evidence

Evidence: "blocks": { "account_include": [...], "include_transactions": 1,

Suggested fix, not tested

nest each filter under a label (also at lines 474 and 501).

Review: "blocks": {"account_include": …} (447), accounts: {account: …} (474, 501). Also unlabelled and missed by the report: 388 (transactions) and 434 (transactions_status).

148. Medium Delivery guarantee is described as both at-least-once and exactly-once
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
Location: laserstream.md:59
From the report
Evidence

Evidence: "Understand at-least-once delivery…", versus laserstream/delivery-guarantees.md:17: "exactly-once delivery".

Suggested fix, not tested

state one guarantee and the de-duplication key.

Review: laserstream.md:59 "at-least-once delivery" versus delivery-guarantees.md:17 "exactly-once delivery".

151. Medium Dependency pin contradicts the stated minimum version
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
Location: laserstream/clients.md:115
From the report
Evidence

Evidence: helius-laserstream = "0.2", under "Use helius-laserstream 0.6.3 or later". The same pin is in cuckoo-filters.md:48.

Suggested fix, not tested

pin the stated minimum version.

Review: helius-laserstream = "0.2" (115) under "0.6.3 or later" (111). Same pin at cuckoo-filters.md:48.

152. Medium Samples still use the removed 1.x SDK interface
First rating: Medium · Reviewed rating: Medium · Review: confirmed · new in this audit
Location: api-reference/wallet-api/llms.txt:345
From the report
Evidence

Evidence: import Helius from 'helius-sdk'; const helius = new Helius('YOUR_API_KEY');, while the current SDK uses createHelius({ apiKey }). The same appears in staking/how-to-stake-with-helius-programmatically.md:54, api-reference/das/llms.txt, api-reference/enhanced-transactions/llms.txt, api-reference/webhooks/llms.txt and optimizing-transactions.md:96.

Suggested fix, not tested

update to the 2.x API, or label the samples with their version.

Review: import Helius … new Helius('YOUR_API_KEY') at wallet-api/llms.txt:345. Also staking/…:54, optimizing-transactions.md:96 and 6 more llms.txt files.

Low after review (76)

3. Low Portfolio and fee samples handle only the original token program
First rating: Low · Reviewed rating: Low · Review: confirmed · new in this audit
Location: rpc/websocket/quickstart.md:513
From the report
Evidence

Evidence: the subscription is on 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA', and line 127 tests program === "spl-token".

Why it matters

Token-2022 accounts report spl-token-2022 and are never matched. priority-fee/estimating-fees-using-serialized-transaction.md:323 also hard-codes TOKEN_PROGRAM_ID for address derivation and the transfer.

Suggested fix, not tested

read the token program from the mint's owner and handle both program ids. Prefer createTransferCheckedInstruction.

Review: programSubscribe on Tokenkeg... at line 513 and program === "spl-token" at line 127. The priority-fee page uses TOKEN_PROGRAM_ID at lines 329, 384 and 391.

4. Low Privacy deposit sample hard-codes the token program
First rating: Low · Reviewed rating: Low · Review: confirmed · new in this audit
Location: privacy/guides/deposit.md:427
From the report
Evidence

Evidence: tokenProgram: TOKEN_PROGRAM_ADDRESS, while the text says SPL and Token-2022 are both supported.

Why it matters

a Token-2022 mint would be handled with the wrong program.

Suggested fix, not tested

derive the program from the mint owner and assert it before creating the interface.

Review: tokenProgram: TOKEN_PROGRAM_ADDRESS at lines 427 and 443, while line 365 says the SPL variant takes the token program for SPL and Token 2022 assets.

8. Low Alpha privacy SDK installed with a caret range and mixed versions
First rating: Low · Reviewed rating: Low · Review: confirmed · new in this audit
Location: privacy/guides/deposit.md:132
From the report
Evidence

Evidence: pnpm add @heliuslabs/zolana@^0.3.1-alpha, while line 475 checks out v0.3.0-alpha.

Why it matters

alpha signing libraries can change behaviour under a caret range, and the install and the examples disagree on the version.

Suggested fix, not tested

pin exact versions and use one version throughout the page.

Review: Line 132 @heliuslabs/zolana@^0.3.1-alpha, while lines 168 and 475 use v0.3.0-alpha.

9. Low Privacy keys are derived from a signature over a fixed public message
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: privacy/integration/wallet.md:262
From the report
Evidence

Evidence: "The fixed message payload is "TSPP/derive/v1"". The page also warns: "Whoever holds it can derive the nullifier and viewing keys".

Why it matters

any site connected to the wallet can ask it to sign this known message and obtain keys that decrypt the user's history. The only defence is a wallet-side instruction to "reject" third-party requests.

Suggested fix, not tested

bind derivation to a per-installation secret salt, or use a derivation path that dApps cannot request. Document a concrete refusal policy for wallets.

Review: Line 262 states the fixed message. But lines 267-270 carry a Warning saying whoever holds the signature can derive the keys and "Reject any sign request for the message from a third party". The design and its mitigation are documented, so this is a design critique, not a doc defect.

11. Low Endpoint and field deprecations have no sunset date or usage check
First rating: Low · Reviewed rating: Low · Review: confirmed · new in this audit
Location: api-reference/endpoints.md:54
From the report
Evidence

Evidence: "The staked endpoint (staked.helius-rpc.com) is deprecated." Line 60 still advertises "Guaranteed access…".

Why it matters

consumers cannot plan the move or confirm they are off the old host. The same applies to notifyOn ("removed at a later date") and to the v1 transaction change.

Suggested fix, not tested

publish removal dates, tell users to confirm from their request logs that no traffic hits the old host, and drop the present-tense benefit claims.

Review: The deprecation text is at line 55 and line 60 still says "Guaranteed access to staked connections". notifyOn "will be removed at a later date" is at accountsubscribe.md:45.

12. Low Legacy history API migration has no dated window and weakens the finality default
First rating: Low · Reviewed rating: Low · Review: confirmed · new in this audit
Location: parsed-events/guides/migrate-from-enhanced-transactions.md:183
From the report
Evidence

Evidence: "Enhanced Transactions keeps working while you migrate — there is no forced cutoff." Line 114 adds that commitment now defaults to confirmed instead of finalized.

Why it matters

payment and accounting pipelines can switch to weaker finality without noticing.

Suggested fix, not tested

publish a dated retirement plan, flag the finality change prominently, and show commitment: "finalized" in the migration example.

Review: Line 114 "commitment defaults to confirmed instead of finalized". Line 183 "there is no forced cutoff".

16. Low Live feed has no ping, reconnect or backfill
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: quickstart/portfolio-tracker.md:124
From the report
Evidence

Evidence: ws.onclose = () => { if (wsRef.current === ws) setLiveStatus('idle'); };

Why it matters

your FAQ says idle sockets drop after 10 minutes. Neither the browser demo nor the relay route recovers, and the relay never ends the SSE stream, so users watch a dead feed.

Suggested fix, not tested

ping about every 60 seconds, reconnect with backoff, and backfill history from the resume point.

Review: ws.onclose at line 124 only sets 'idle', and the relay has no close handler (only an abort handler, lines 348-351). The "10 minutes" rule is in a Parsed Streams guide, not a FAQ. This is a demo page, and the user can press "Go live" again.

17. Low Replay cursor lives only in memory
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: laserstream/historical-replay.md:177
From the report
Evidence
let lastProcessedSlot = Number(process.env.LAST_PROCESSED_SLOT ?? 0);
… lastProcessedSlot = Number(data.transaction.slot);
// persist `lastProcessedSlot` here
Why it matters

after a restart the cursor falls back to a stale value. The cursor advances only for transaction updates, and resuming at the saved slot re-delivers that slot without de-duplication.

Suggested fix, not tested

write the cursor through one function that updates memory and durable storage together, advance it for every update type, and de-duplicate on resume.

Review: Lines 156 and 179 are explicit placeholders ("Load the last slot you processed from wherever you store it", "persist ... here"). Not advancing on other update types is true.

18. Low Live demo streams the typed address, not the loaded wallet
First rating: Low · Reviewed rating: Low · Review: confirmed · new in this audit
Location: quickstart/portfolio-tracker.md:105
From the report
Evidence

Evidence: accountInclude: [ownerAddress],, where ownerAddress is the editable input.

Why it matters

after the user loads wallet A and edits the field, "Go live" streams B under A's dashboard.

Suggested fix, not tested

store the loaded address at load time, as the Next.js version does.

Review: Line 105 accountInclude: [ownerAddress], and ownerAddress is bound to the input at line 139. The Next.js variant stores streamAddress at line 398.

20. Low Ping timers are never cleared on reconnect
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: rpc/websocket/stream-pump-amm-data.md:86
From the report
Evidence

Evidence: function startPing(ws) { setInterval(() => { … ws.ping(); … is called on every open.

Why it matters

each reconnect adds another interval that pins a dead socket. The same pattern is in transaction-subscribe.md, account-subscribe.md and token-account-filtering.md.

Suggested fix, not tested

keep the handle and clear it in the close handler.

Review: startPing at lines 86-93 is called on every open with no clearInterval. But the ping is guarded by readyState === OPEN, so it is a leak, not a failure. The same pattern holds in the other three pages.

21. Low Keepalive keeps pinging a closed socket
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: data-streaming/quickstart.md:130
From the report
Evidence

Evidence: setInterval(() => ws.ping(), 30000);

Why it matters

after a disconnect, ws.ping() on a closed socket throws from the timer and can crash the process. dedicated-nodes/getting-started.md:202 keeps a process alive after its stream has ended.

Suggested fix, not tested

clear the timer on close or error, and ping only when the socket is open.

Review: The unguarded setInterval(() => ws.ping(), 30000) at line 130 is real, and the interval is never cleared. The "throws and can crash the process" claim does not hold on ws 8.x (it silently does nothing). The page names no version.

22. Low Monitor statistics grow without bound
First rating: Low · Reviewed rating: Low · Review: confirmed · new in this audit
Location: laserstream/guides/stream-pump-amm-data.md:52
From the report
Evidence

Evidence: uniquePayers: new Set<string>(), … stats.uniquePayers.add(payer);

Suggested fix, not tested

reset the set per reporting window, or use a bounded counter.

Review: uniquePayers: new Set<string>() at line 52 and .add at line 73.

23. Low Latency tool keeps unmatched slots forever and misses a dead stream
First rating: Low · Reviewed rating: Low · Review: confirmed · new in this audit
Location: laserstream/guides/measuring-latency.md:248
From the report
Evidence

Evidence: let mut timings: HashMap<u64, SlotTimings> = HashMap::new(); … Error(e) => { error!(...); break; }

Suggested fix, not tested

evict old slots, and stop or reconnect when either stream task exits.

Review: timings is a HashMap (line 248) and entries are removed only on a match (line 272). Task error branches break at lines 224 and 240.

26. Low History backfill fans out without a concurrency limit
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: rpc/gettransactionsforaddress.md:888
From the report
Evidence

Evidence: await Promise.all([ fetchAllSignatures(address, …), ...historicalAccounts.map((addr) => fetchAllSignatures(addr)),

Why it matters

thousands of paginated loops start at once, hit 429s, and one rejection discards all the work.

Suggested fix, not tested

use a small worker pool and retry per request.

Review: Promise.all([...historicalAccounts.map(...)]) at lines 888-891 is real. "Thousands" is speculation, since the count depends on the wallet.

27. Low Funding lookups fan out without a limit and hide failures
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: wallet-api/funded-by.md:194
From the report
Evidence

Evidence: await Promise.all( walletAddresses.map(async address => { try { … } catch { return { address, funder: null }; }

Why it matters

each call costs 100 credits. Rate-limit failures are counted as "no funder", which skews the Sybil statistics.

Suggested fix, not tested

bound the concurrency, retry with backoff, and report failures separately from genuine 404s.

Review: Promise.all at line 194 and catch { return { address, funder: null } } at lines 199-200 are real. It is a sample with an unbounded wallet list, and the 100-credit cost is not on this page.

28. Low Drain loop wakes every millisecond
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: preprocessed-transactions/guides/trade-on-preprocessed.md:99
From the report
Evidence

Evidence: while (true) { const item = queue.shift(); if (!item) { await new Promise(r => setTimeout(r, 1)); continue; }

Why it matters

the process wakes about 1,000 times a second while idle, although the data arrives as events.

Suggested fix, not tested

wake the consumer from the message handler, and use a ring buffer instead of shift().

Review: setTimeout(r, 1) at line 99 is real. It is an idle-CPU inefficiency in a sample, not a wrong result.

30. Low Warm-up pings run forever
First rating: Low · Reviewed rating: Low · Review: confirmed · new in this audit
Location: sending-transactions/sender.md:419
From the report
Evidence

Evidence: setInterval(() => { warmConnection("https://sender.helius-rpc.com"); }, 5000);

Suggested fix, not tested

ping only after 5 seconds of idleness, keep the handle, and pick one endpoint.

Review: Line 419 pings every 5 seconds without end. The page's own Note (lines 430-431) says warm only when gaps exceed 5 seconds.

31. Low Performance figures are stated without measurement
First rating: Low · Reviewed rating: Low · Review: confirmed · new in this audit
Location: rpc/optimization-techniques.md:273
From the report
Evidence

Evidence: await Promise.all( signatures.map(…) ); // ~1s + (200ms * 100 txs) = ~21s

Why it matters

the arithmetic assumes sequential calls for concurrent code. das/pagination.md:199 ("far faster") has the same issue.

Suggested fix, not tested

measure (N workers × M calls, with p50/p99/p99.9) or remove the numbers.

Review: Line 273 // ~1s + (200ms * 100 txs) = ~21s under a "Promise.all" snippet that is labelled sequential. das/pagination.md:199 says "far faster".

32. Low Latency benchmark omits tail percentiles
First rating: Low · Reviewed rating: Low · Review: confirmed · new in this audit
Location: laserstream/guides/measuring-latency.md:324
From the report
Evidence

Evidence: eprintln!(" P25: {}, P75: {}, P95: {}", p25, p75, p95);

Suggested fix, not tested

add p99 and p99.9, which the page's own advice asks for.

Review: Line 324 prints P25, P75 and P95 only. Line 532 advises looking at P95 and P99.

33. Low Helper samples re-download the whole wallet history
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: wallet-api/history.md:400
From the report
Evidence

Evidence: const getHistoricalBalance = async (address, targetTimestamp) => { const transactions = await getAllTransactionHistory(address);

Why it matters

each helper re-pages the entire history at 100 credits per page. The balance-at endpoint answers the same question in one call (line 432).

Suggested fix, not tested

use balance-at for point-in-time balances, and cache pages by cursor.

Review: Line 400 getAllTransactionHistory is a real inefficiency. But line 432 points straight to the Historical Balance endpoint as the direct route.

34. Low Balances endpoint drops the exact raw amount
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: wallet-api/balances.md:238
From the report
Evidence

Evidence: "This endpoint does not expose a raw amountRaw field; … derive it as Math.round(balance * 10 ** decimals)."

Why it matters

re-deriving the integer from a float loses precision for large balances.

Suggested fix, not tested

return a string amountRaw on every wallet endpoint, as balance-at already does.

Review: Line 238 documents the absence of amountRaw and the derivation. Precision loss only occurs for very large balances.

35. Low "Cache permanently" advice covers results that can change
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: wallet-api/funded-by.md:448
From the report
Evidence

Evidence: "A wallet's funding source never changes. Cache this data permanently".

Why it matters

404s for unfunded wallets and identity labels do change, so a stale answer is served forever. wallet-api/balance-at.md:241 gives the same advice for time-based queries that can drift.

Suggested fix, not tested

cache only successful responses, refresh labels on a TTL, and cache only finalized slots.

Review: Line 448 "never changes. Cache this data permanently" refers to a successful funding source. The 404 handling is a separate bullet (line 446). Line 241 on balance-at is arguable, since time can drift but slot is exact.

36. Low CLI, MCP server and SDK share local key and config files with no ownership rules
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: agents/cli.md:185
From the report
Evidence
~/.helius/
├── config.json    # JWT token, API key, …
└── keypair.json   # Solana keypair
helius config clear             # Reset everything
Why it matters

keygen and the MCP generateKeypair both create the funded payment key. No page says whether keygen refuses to overwrite it or whether config clear deletes it, so a funded key can be lost silently. No file permissions are documented.

Suggested fix, not tested

refuse to overwrite without --force, keep the key out of "clear", prompt for a backup, and create the files with mode 0600.

Review: The file tree is at lines 184-188 and helius config clear # Reset everything at line 197. No page says what clear does to keypair.json, which is a real gap. That a funded key "can be lost silently" is inference only.

38. Low Token supply above 2^53 is a JSON number and is used in arithmetic
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: das/get-tokens.md:263
From the report
Evidence

Evidence: "supply": 8881594973561640000, and const marketCap = (supply / Math.pow(10, decimals)) * price_per_token;

Suggested fix, not tested

serialise the supply as a string and compute with BigInt or a decimal library.

Review: "supply": 8881594973561640000 at line 263 and the market-cap formula at line 281 are real. But a float market cap is not harmed by the rounding.

39. Low OpenAPI specs declare u64 values as unbounded integers
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: _openapi/rpc-http.json:3690
From the report
Evidence

Evidence: "totalStake": { "type": "integer", … "example": 384962848972206900 }

Why it matters

generated JavaScript clients corrupt the low digits. _openapi/zk-compression.json:92 shares one unbounded integer schema for lamports, balances and discriminators.

Suggested fix, not tested

declare these values as strings (or int64/uint64 with string transport) and use realistic examples.

Review: rpc-http.json:3688-3690 has "type": "integer" with an example of 384962848972206900. zk-compression.json:92 refs UnsignedInteger (defined at line 170). It is an example/typing issue only.

41. Low Documented conversion of exact raw amounts goes through parseInt
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: wallet-api/overview.md:132
From the report
Evidence

Evidence: amount = parseInt(amountRaw) / 10**decimals. The same formula is in wallet-api/transfers.md:200, and parseInt on raw amounts appears in laserstream/guides/decoding-transaction-data.md:621.

Why it matters

the field is a string precisely to avoid precision loss, and the advice reintroduces it.

Suggested fix, not tested

show BigInt division with the remainder formatted as a string.

Review: amount = parseInt(amountRaw) / 10**decimals is at overview.md:132 and transfers.md:200, and parseInt at decoding-transaction-data.md:621. The result is a display float anyway.

42. Low Historical balance endpoint admits upstream precision loss
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: wallet-api/balance-at.md:256
From the report
Evidence

Evidence: "For SOL balances beyond ~9,007,199 SOL (2⁵³ lamports), precision may be lost upstream."

Why it matters

balanceRaw is described as exact (line 182), but it is not for large holders.

Suggested fix, not tested

carry lamports as u64 or strings end to end. Until then, flag the limit on the field itself.

Review: Line 256 limits the loss to about 9M SOL or more. Line 182 calls balanceRaw exact. The conflict is real but the case is narrow.

43. Low Wallet API money values are floats and samples sum them
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: _openapi/wallet-api.json:680
From the report
Evidence

Evidence: "balance": { "type": "number" … }, and in wallet-api/history.md:413: balances[change.mint] += change.amount;

Why it matters

the tax, volume and historical-balance samples accumulate rounding error. The history can also be incomplete before slot 111,491,819 (line 26), and null timestamps are dropped silently.

Suggested fix, not tested

add string raw amounts, sum integers with BigInt, handle null timestamps, and warn that the history may be incomplete.

Review: wallet-api.json:680-681 has balance typed number, and history.md:413 sums floats. The slot-111,491,819 warning (line 26) applies to the tokenAccounts filter.

46. Low Replay window is hard-coded in slots and data loss is only a warning
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: laserstream/historical-replay.md:162
From the report
Evidence
const maxReplaySlot = currentSlot - 691_200;
console.warn('Disconnection too long, some data may be lost');
Why it matters

the window depends on slot time, which the server exposes through subscribeReplayInfo. A start slot at the exact edge is rejected, and the missed range is never backfilled.

Suggested fix, not tested

clamp to the server-reported first available slot, and record and backfill the missed range or alert.

Review: Lines 162 and 165 are as quoted. But line 160 says "recompute if network slot time changes", and subscribeReplayInfo is documented at grpc.md:700.

47. Low Fallback fee table is baked into client code
First rating: Low · Reviewed rating: Low · Review: confirmed · new in this audit
Location: priority-fee/estimating-fees-using-serialized-transaction.md:682
From the report
Evidence

Evidence: const fallbacks = { "Low": 1000, "Medium": 5000, "High": 15000, "VeryHigh": 50000 };

Why it matters

after an estimator failure, these values are far below the live levels, so transactions fail to land without any signal.

Suggested fix, not tested

fail loudly or retry instead. If a floor is needed, load it from a versioned config.

Review: fallbacks = { "Low": 1000, ... "VeryHigh": 50000 } at lines 682-687.

48. Low Minimum tip and tip accounts are hard-coded in every sample
First rating: Low · Reviewed rating: Low · Review: confirmed · new in this audit
Location: sending-transactions/sender.md:102
From the report
Evidence

Evidence: const TIP_ACCOUNTS = [ "4ACfpUFoaSD9bfPdeu6DBt89gB6ENTeHBXCAi87NhDEE", … ]

Why it matters

these values have already changed once (the 0.001 SOL update), and about eight samples carry different subsets.

Suggested fix, not tested

publish the accounts and minimums through a discovery endpoint or config file, and have the samples read it.

Review: TIP_ACCOUNTS at line 102 holds 3 accounts plus "more available". Grep finds 14 occurrences across 5 pages.

49. Low Slot-time assumption differs between pages
First rating: Low · Reviewed rating: Low · Review: confirmed · new in this audit
Location: laserstream/historical-replay.md:192
From the report
Evidence

Evidence: const startSlot = currentSlot - 2400; // ~10 minutes ago at current ~250ms slot time. Other pages assume 400 ms.

Suggested fix, not tested

define the slot time once and derive every slot count from it.

Review: Line 192 and line 160 say about 250ms, while glossary.md:253 says 400ms. 691,200 slots at 400ms is about 77 hours, not 48.

50. Low Missing API key environment variable is not checked at startup
First rating: Low · Reviewed rating: Low · Review: confirmed · new in this audit
Location: rpc/websocket/stream-pump-amm-data.md:67
From the report
Evidence

Evidence: new WebSocket(wss://mainnet.helius-rpc.com/?api-key=${process.env.HELIUS_API_KEY})

Why it matters

an unset key becomes api-key=undefined, and the failure is reported as a connection problem. The same applies to quickstart/portfolio-tracker.md:268 (process.env.HELIUS_API_KEY!).

Suggested fix, not tested

check required variables at startup and exit with a clear message.

Review: ${process.env.HELIUS_API_KEY} at line 67, and process.env.HELIUS_API_KEY! at portfolio-tracker.md:268.

51. Low Transaction decoder has no queue, work or error budget
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: preprocessed-transactions/guides/trade-on-preprocessed.md:46
From the report
Evidence

Evidence: const seen = new Set(); // rotate or expire entries in production / const queue = []; / VersionedTransaction.deserialize(item.txBytes);

Why it matters

the stream rate is set by outside senders. The queue and the seen-set grow without bound, shift() is O(n), and the loop never yields, so the socket is not read and the server can drop the connection. One malformed frame ends the drain loop.

Suggested fix, not tested

bound the queue and the seen-set, process in batches that yield (or in a worker), and wrap each decode in try/catch.

Review: Line 46 itself says "rotate or expire entries in production", and line 106 says "If the queue grows without bound, tighten the filters". The unhandled deserialize throw is real but is the same call as finding 94.

54. Low One spec file mixes unrelated schema groups
First rating: Low · Reviewed rating: Low · Review: confirmed · new in this audit
Location: _openapi/webhooks.json:2411
From the report
Evidence

Evidence: "TokensMetadataRequest", "ParseTransactionsRequest", "RpcProxyRequest" sit in a spec whose only paths are /v0/webhooks.

Suggested fix, not tested

keep each spec to its own schemas and share common ones by $ref.

Review: TokensMetadataRequest (2411), ParseTransactionsRequest (2424) and RpcProxyRequest (2470) sit in a spec whose paths are /v0/webhooks and /v0/webhooks/{webhookID}.

55. Low The same error schema is copied 53 times and has drifted
First rating: Low · Reviewed rating: Low · Review: location checked, kept as rated · new in this audit
Location: _openapi/rpc-http.json:62
From the report
Evidence

Evidence: "ErrorResponse_getBlock": { … } lacks the id field that the shared ErrorResponse has. getTokenTransfers is also defined twice, with different shapes, in laserstream/guides/decoding-transaction-data.md.

Suggested fix, not tested

reference one shared definition.

Review: 53 "ErrorResponse_*" definitions. ErrorResponse_getBlock (lines 62-83) has no id, and the shared ErrorResponse is at line 32. getTokenTransfers is defined at lines 603 and 718 with different shapes.

57. Low Response schemas forbid additional properties
First rating: Low · Reviewed rating: Low · Review: confirmed · new in this audit
Location: _openapi/zk-compression.json:117
From the report
Evidence

Evidence: "additionalProperties": false on 48 objects, including responses.

Why it matters

strict generated clients break whenever a field is added.

Suggested fix, not tested

keep the restriction on request bodies only, and tell consumers to ignore unknown fields.

Review: "additionalProperties": false at line 117; 48 such lines in the file.

58. Low Unlimited autoscaling is the default on the top plan
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: billing/additional-credits.md:71
From the report
Evidence

Evidence: | Professional | Unlimited | Unlimited | and "Autoscaling is enabled by default on Business and Professional plans".

Why it matters

an unbounded default spend means a leaked key or a runaway job turns directly into an uncapped bill.

Suggested fix, not tested

default to a finite, customer-set cap and require an explicit opt-in for unlimited.

Review: Lines 71 and 25 say so, but line 65 says "You set your own limit up to that maximum". It is a documented plan default.

59. Low Agent-plan credit term is described three different ways
First rating: Low · Reviewed rating: Low · Review: confirmed · new in this audit
Location: billing/plans.md:468
From the report
Evidence

Evidence: "1M monthly credits … requires a 1 USDC payment". agents/cli.md:94 says "$1 one-time | 1,000,000", and agents/overview.md:124 says "$1 signup | 1M" under monthly credits.

Suggested fix, not tested

state whether the credits renew, the term, and what happens when it ends, and make the three pages agree.

Review: plans.md:468 "1M monthly credits", cli.md:94 "$1 one-time

60. Low Preconfirmation minimum charge is not sized against included credits
First rating: Low · Reviewed rating: Low · Review: confirmed · new in this audit
Location: billing/credits.md:304
From the report
Evidence

Evidence: "A covered slot with no matching messages still costs 300 credits."

Why it matters

on a well-covered day one subscription can use the plan's included credits within days, and the overage bills automatically under finding 58.

Suggested fix, not tested

print the worst-case arithmetic next to the plan row, and add a default spend cap.

Review: Lines 302-304 give the 300-credit slot minimum, and the page gives no worst-case sizing. The arithmetic was not rechecked.

78. Low API catalog has a dead docs link and stale descriptions
First rating: Low · Reviewed rating: Low · Review: confirmed · new in this audit
Location: _openapi/index.json:51
From the report
Evidence

Evidence: "docsUrl": "https://www.helius.dev/docs/rpc/overview" (no such page). The catalog also mentions a "Mint" API with no entry, and _openapi/sender-api.json:6 uses the /ping text as its API description.

Suggested fix, not tested

correct the link and the descriptions.

Review: index.json:51 docsUrl is .../docs/rpc/overview, and src/rpc/ has no overview.md. That page did exist in the 2026-05-28 copy, so the link broke since then. The catalog description mentions "Mint" with no entry, and sender-api.json:6 uses the ping text as its description.

79. Low Agent signup instructions are copied into many places and have drifted
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: AGENTS.md:11 (submitted as AGENTS.md.nxdata)
From the report
Evidence

Evidence: npx helius-cli signup --json, which omits the email and name flags that every signup requires. The pages also disagree on the tool count ("9 routed tools plus expandResult" versus "10 routed tools").

Suggested fix, not tested

keep one canonical signup block and tool description, and generate the copies from it.

81. Low Wallet migration removes the old provider before funds are moved
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: waas/migrating-from-privy.md:75
From the report
Evidence

Evidence: <Step title="Retire the old integration"> Once users are on their Helius wallets, remove the Privy SDK.

Why it matters

users get new, empty wallets, and their old funds remain behind a provider the app no longer integrates.

Suggested fix, not tested

gate removal on a per-user check that the old balance is zero or has been exported, and run one migrate-and-withdraw end to end on devnet.

Review: Line 75 exists. Step 2 (71-73) already has users move funds first, and the Warning at 20-24 says balances stay in Privy wallets. Only a per-user gate is missing.

82. Low Gateway migration is declared done without verification
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: gatekeeper/migration-guide.md:25
From the report
Evidence

Evidence: "That's it! … Gatekeeper returns identical responses."

Why it matters

gRPC and devnet are not served by the new host (gatekeeper/overview.md), and the only check offered is to watch latency.

Suggested fix, not tested

list the unsupported surfaces up front, compare responses and error rates from both hosts, and set a go/no-go threshold.

Review: "That's it!" is at 25. "Identical responses" is at 169 (troubleshooting). overview.md:47,216 state LaserStream is unsupported, but the guide does not repeat it. The devnet claim has no support: Grep devnet in gatekeeper/ gave 0 hits (control: gRPC hit).

83. Low First Sender example sends 1 SOL and claims success before landing
First rating: Low · Reviewed rating: Low · Review: confirmed · new in this audit
Location: sending-transactions/sender.md:128
From the report
Evidence

Evidence: lamports: 1 * LAMPORTS_PER_SOL, together with skipPreflight: true, maxRetries: 0 and "You've successfully submitted a transaction".

Suggested fix, not tested

use a tiny amount in the first-run example and add the confirm step.

Review: lamports: 1 * LAMPORTS_PER_SOL (128), skipPreflight: true, maxRetries: 0 (155-156). Line 279 says "successfully submitted", not landed. Only the large amount is a fair nit.

86. Low Unattended agent operation is promised, but signup and payment need a person
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: agents/overview.md:9
From the report
Evidence

Evidence: "agents can access the full power of Helius without any manual intervention", versus agents/cli.md:55 ("Default: print a hosted payment link") and :130 ("asks for confirmation").

Why it matters

there is no non-interactive flag, no documented resume timeout, and nothing says where the key lands.

Suggested fix, not tested

state the manual step before launch, document a non-interactive route, the timeout and the exit codes, and name the file and the command that return the key.

87. Low Long-running mint listener is lossy and only prints to stdout
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: parsed-streams/guides/track-pumpfun-mints.md:9
From the report
Evidence

Evidence: "This guide builds a long-running listener for every new Pump.fun token." Line 96 has setTimeout(connect, 3000), and results are only logged to the console.

Why it matters

deploys during a reconnect are lost, nothing is stored, and the fixed 3-second retry has no backoff.

Suggested fix, not tested

persist each event and a slot checkpoint, backfill the gaps, use backoff, or state that the listener is lossy.

Review: Lines 9 and 96 ok. The guide is a logger by design ("logs every new token mint"). It has an error handler (89), and the Tip at 104 already says the fixed 3 s delay is for simplicity and links the backoff guide.

99. Low API key is passed in the URL query string almost everywhere
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: api-reference/authentication.md:39
From the report
Evidence

Evidence: "Include your API key as a query parameter in all requests", and AGENTS.md:40 says "every surface requires an api-key query parameter".

Why it matters

keys in URLs leak through logs, proxies, history and referrers. sending-transactions/sender.md:514 shows the key-bearing URL under "Frontend/Browser Applications", and the wallet, enhanced and parsed-events pages do the same.

Suggested fix, not tested

lead with header authentication (the Admin and Wallet APIs already accept X-Api-Key), and warn against query keys in browsers.

Review: sender.md:514 shows the key under "Frontend/Browser". Header auth exists for some APIs (X-Api-Key in wallet-api.json ×3, admin-api.json ×2). This is vendor design, so the impact is limited.

100. Low Sample prints the RPC URL with the API key to logs
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: rpc/guides/gethealth.md:55
From the report
Evidence

Evidence: console.log(getHealth result for ${rpcUrl}:, health);

Suggested fix, not tested

log only the host or a label.

Review: Line 55 logs rpcUrl, and the call at 64 passes a URL with ?api-key=.

101. Low Samples teach pasting a private key into source
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: sending-transactions/jupiter-swap-api-via-sender.md:76
From the report
Evidence

Evidence: const PRIV_B58 = 'Your private key in base58';. The same is in sender.md, sender-max.md, sender-swqos-only.md and estimating-fees-using-serialized-transaction.md.

Suggested fix, not tested

load keys from the environment, a keypair file outside the repository, or a secret manager.

Review: 'Your private key in base58' at jupiter-swap-api-via-sender.md:76. Also sender.md:172, sender-max.md:226, sender-swqos-only.md:192, estimating-fees-using-serialized-transaction.md:221. These are placeholders.

103. Low Installs pipe a mutable remote script into a shell and run @latest packages
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: agents/skills/okx.md:55
From the report
Evidence

Evidence: curl -fsSL https://raw.githubusercontent.com/okx/onchainos-skills/main/install.sh | bash, plus npx helius-mcp@latest in the plugin and MCP configs.

Why it matters

these processes can read the local keypair and sign transfers.

Suggested fix, not tested

pin versions or commit hashes, and publish checksums.

104. Low Agent tools can drain a wallet with no confirmation or limit
First rating: Medium · Reviewed rating: Low · Review: could not be settled · new in this audit
Location: agents/mcp/tools.md:162
From the report
Evidence

Evidence: | transferSol | Send SOL to another wallet (supports sendMax to drain full balance) |. mode: "autopay" pays from the local keypair.

Why it matters

agents read untrusted text such as token names and web pages, so injected instructions can move funds.

Suggested fix, not tested

require human approval or enforced spend limits and destination allow-lists, and default sendMax off.

Review: tools.md:162-163 list sendMax, and :53 has autopay. The pages do not say confirmation or limits are absent, so that part cannot be shown from them.

105. Low Wallet-kit pages disagree on whether the API key goes to the browser
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: waas/migrating-from-privy.md:31
From the report
Evidence

Evidence: | PrivyProvider with appId | HeliusWalletProvider with { apiKey } |, while waas/quickstart.md:31 says "Omit the API key" and line 77 uses NEXT_PUBLIC_HELIUS_API_KEY.

Suggested fix, not tested

make every wallet-kit page follow the server-side route-handler setup.

Review: The disagreement is real: migrating-from-privy.md:31,44 pass { apiKey }, while quickstart.md:31 says omit it. But quickstart.md:77 is labelled "local testing only" (83) and securing-your-key.md:9 says a client-side key is expected.

107. Low Private transfer can silently become a public withdrawal
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: privacy/integration/wallet.md:523
From the report
Evidence

Evidence: "The Privacy SDK can resolve a private transfer to a private-to-public withdrawal, when the recipient does not have a Private Wallet."

Why it matters

a mis-routed transfer permanently discloses the asset, the amount and the recipient.

Suggested fix, not tested

fail closed unless the caller opts in explicitly, and require a separate confirmation.

Review: Line 523 is real, but "silently" is wrong: privacy/llms.txt:35 says to label it as a withdrawal in UIs, and wallet.md:118,208 say the API can resolve it that way.

108. Low Copy-paste agent prompt pre-approves shell and web fetch
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: privacy/integration/wallet.md:35
From the report
Evidence

Evidence: allowed-tools: Bash, Read, Write, Edit, Glob, Grep, WebFetch, …

Why it matters

the task edits key-management code while ingesting remote content, so injected text could run shell commands.

Suggested fix, not tested

restrict the tools, require approval for shell, and treat fetched content as untrusted.

Review: allowed-tools: Bash, … WebFetch … at 35. It is a prompt template.

109. Low Published OpenAPI spec exposes internal gateway configuration
First rating: Medium · Reviewed rating: Low · Review: rated too high · also in the first audit (#F-2)
Location: _openapi/enhanced-api.json:119
From the report
Evidence

Evidence: "x-amazon-apigateway-integration": { … "uri": "http://PLACEHOLDER_VIEW_LAYER_DNS_NAME/…", "connectionType": "VPC_LINK"

Why it matters

the extensions reveal internal topology and break code generators.

Suggested fix, not tested

strip the deployment-only extensions before publishing.

Review: enhanced-api.json:119 and 11+ more x-amazon-apigateway-integration blocks (72 matching lines). webhooks.json still has 21, the same count as 2026-05-28. Placeholder text only.

117. Low Backfill-then-stream guide leaves a gap
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: rpc/how-to-index-solana-data.md:311
From the report
Evidence

Evidence: "After backfilling historical data, you need a real-time streaming solution…", with no overlap or upsert.

Suggested fix, not tested

start the stream before the backfill ends, resume from the last stored slot, and upsert on a stable key.

Review: Line 311 is real, but the recommended LaserStream method (313-321) advertises replay "from where you left off". The guide leaves out overlap and upsert advice.

118. Low Incremental sync takes its watermark too late and reads one page
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: rpc/optimization-techniques.md:169
From the report
Evidence

Evidence: changedSinceSlot: lastProcessedSlot with limit: 1000 and no pagination. agents/typescript-sdk/best-practices.md:162 takes const lastSlot = currentSlot; after the baseline read.

Why it matters

changes made during the read and everything past the first page are missed, and deleted accounts are never reported.

Suggested fix, not tested

record the slot first, paginate to the end, then advance the watermark, and reconcile periodically.

Review: changedSinceSlot: lastProcessedSlot with limit: 1000 and no pagination (169-188). These are short snippets.

119. Low Pagination loops treat errors as the end of data
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: rpc/gettransactionsforaddress.md:672
From the report
Evidence

Evidence: do { const result = await getNextPage(paginationToken); allTransactions.push(...result.data); … } while (paginationToken);

Why it matters

any error throws partway through with no checkpoint. enhanced-transactions/transaction-history.md:464 returns truncated history as complete, and its line 221 ends silently when the retry budget runs out.

Suggested fix, not tested

check the status, retry with backoff, persist the cursor, and return an "incomplete" flag.

Review: The loop at 672-678 throws on error, which loses the checkpoint. The "ends as complete" case is transaction-history.md:464-466 (non-array breaks and the partial result is returned). 221 ends silently when retries run out.

120. Low Analytics and portfolio samples treat one page as the full data set
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: rpc/gettransactionsforaddress.md:467
From the report
Evidence

Evidence: a monthly report built from one "limit": 1000 call with no continuation. quickstart/portfolio-tracker.md:77 counts only the first 20 assets, and wallet-api/balances.md:300 reports "not found" beyond page 1.

Suggested fix, not tested

follow the pagination token, or label the figures as partial.

Review: One call with "limit": 1000 and no continuation (467-491). portfolio-tracker.md:55-58 loads page 1, limit 20. balances.md:300 checks only page 1.

122. Low Failed metadata lookups are cached for the life of the process
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: rpc/websocket/transaction-subscribe.md:262
From the report
Evidence

Evidence: const metadata = { symbol: tokenInfo.symbol || '?', decimals: tokenInfo.decimals ?? 0 }; TOKEN_META.set(mint, metadata);

Why it matters

decimals of 0 mis-scale every later amount for that mint, and the empty catch {} hides errors.

Suggested fix, not tested

do not cache fallback values, log errors, and bound the cache.

Review: A response without token_info is cached as '?', decimals 0 (262-264). A thrown lookup is not cached; it is swallowed by catch (e) {} at 341.

123. Low Instruction decoder reads fixed offsets with no length check
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: rpc/websocket/transaction-subscribe.md:231
From the report
Evidence

Evidence: buf.readBigUInt64LE(32), with } catch (e) {} at line 341.

Suggested fix, not tested

validate the discriminator and the length first, and log rejected input.

Review: Reads at 234-237. A short buffer throws RangeError, caught at 341, so the instruction is dropped silently, not crashed. The handler pre-filters on the OpenDcaV2 log (316).

126. Low Sample assumes SOL is the first balance
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: wallet-api/balances.md:53
From the report
Evidence

Evidence: const solBalance = data.balances[0]; // SOL is always first when showNative=true, while line 15 says results are sorted by USD value.

Suggested fix, not tested

find SOL by its mint.

Review: balances[0] // SOL is always first (53) versus "sorted by USD value" (15). The actual ordering is not shown.

127. Low Native SOL has two identifiers in one endpoint's docs
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: wallet-api/history.md:278
From the report
Evidence

Evidence: "token mint address, or "SOL" for native SOL", while the response example at line 254 uses So11111111111111111111111111111111111111111 and the code compares with 'SOL'.

Suggested fix, not tested

document one identifier and align the samples.

Review: "SOL" (278, 287) versus So111…111 in the response example (254; 43 chars, not the …112 wrapped-SOL mint). "Code compares with 'SOL'" not found (Grep 'SOL' in history.md: 0 hits).

129. Low Parallel pagination hangs forever on any error
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: das/pagination.md:216
From the report
Evidence

Evidence: let promise: Promise<number> = new Promise(async (resolve, reject) => {

Suggested fix, not tested

use plain async functions, check responses, back off, and cap concurrency at the plan's rate.

Review: new Promise(async (resolve, reject) (216) is an anti-pattern, but in current Node the rejection is an unhandled rejection that surfaces, not a silent hang.

132. Low Recurring USDC authorization is described without cap or expiry
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: billing/pay-with-crypto.md:72
From the report
Evidence

Evidence: "Approve a one-time authorization … This allows the program to transfer USDC for your subscription."

Suggested fix, not tested

state the allowance ceiling, the period, the expiry and how to revoke it on-chain.

Review: The cap and expiry are indeed not stated, but the FAQ (pay-with-crypto.md:121-122) says removing a wallet revokes the authorization.

133. Low Retry helpers do not retry network errors
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: billing/rate-limits.md:434
From the report
Evidence

Evidence: const res = await request(); sits outside any try/catch, while the table above says network errors are retryable.

Why it matters

the pages also give three different retry policies, and parseInt(Retry-After) fails on the date form.

Suggested fix, not tested

wrap the request, handle both Retry-After forms, and define one policy.

Review: await request() (434) has no try/catch, while the table (420) says network errors retry. The Python and shell variants do the same.

138. Low Manual-send sample never rebroadcasts
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: sending-transactions/send-manually.md:203
From the report
Evidence

Evidence: const signature = await connection.sendTransaction(finalTransaction, { skipPreflight: true });, sent once, while the page says to rebroadcast.

Suggested fix, not tested

resend the same bytes every 1–2 seconds until confirmed or expired, and check the simulation error.

Review: It sends once (203), but the page has the step "Send and Re-broadcast" (37), requires own rebroadcast logic (177), and line 230 calls this a basic loop.

139. Low Smart-send loop retries hot and returns undefined on timeout
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: sending-transactions/optimizing-transactions.md:339
From the report
Evidence

Evidence: } catch (error) { continue; }, and the function ends without a return or a throw.

Suggested fix, not tested

back off between attempts, rethrow non-retryable errors, and throw on timeout.

Review: catch (error) { continue; } (339) and no return after the loop are real, but this is an excerpt of SDK internals shown for explanation (316-346), not a recommended sample.

140. Low Page promises 100% transaction delivery
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: sending-transactions/optimizing-transactions.md:22
From the report
Evidence

Evidence: "Helius' staked connections guarantee 100% transaction delivery", while line 303 says the transaction can still be dropped.

Suggested fix, not tested

describe forwarding as best-effort and keep the rebroadcast advice next to it.

Review: "guarantee 100% transaction delivery" (22) versus the Warning at 303 that a transaction can still be dropped.

143. Low Wallet swap filter matches only swaps involving wrapped SOL
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: parsed-streams/guides/track-jupiter-swaps.md:43
From the report
Evidence

Evidence: "include": ["So11111111111111111111111111111111111111112"],, combined with AND.

Suggested fix, not tested

drop the include entry (the role filter already pins the wallet), or state that only SOL swaps are matched.

Review: The wrapped-SOL include (43) combined with AND narrows results, and the page says so ("touch the wallet's SOL account", 36). Narrower than the stated goal (9), but disclosed.

149. Low Gap detection cannot tell a reconnect from a quiet filter
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: parsed-streams/guides/handling-reconnects.md:76
From the report
Evidence

Evidence: if (lastSlotSeen !== null && slot > lastSlotSeen) { // backfill candidates … } lastSlotSeen = slot;

Suggested fix, not tested

trigger backfill only after a reconnect, and advance and persist the cursor after processing.

Review: Line 76 is a comment-only stub run on every message. It marks where to backfill and the text above (36-40) describes the reconnect logic.

150. Low Reaction handler can crash on rejection and ignores the send result
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: pre-confirmations/guides/trade-on-preconfirmations.md:102
From the report
Evidence

Evidence: await fetch('http://ewr-sender.helius-rpc.com/fast', { … }), where the response is never read and the call site has no catch.

Suggested fix, not tested

attach .catch, check json.error, and track the signature.

Review: The fetch response is unread and the call site has no catch (102-111, 80). But the same listener is meant to exit and be restarted (84), and the strategy is a placeholder.

153. Low Sample uses a model identifier that does not exist
First rating: Medium · Reviewed rating: Low · Review: could not be settled · new in this audit
Location: agents/skills/overview.md:167
From the report
Evidence

Evidence: model="claude-sonnet-4-6-20250514",

Suggested fix, not tested

use a currently documented model id, or read it from configuration.

Review: model="claude-sonnet-4-6-20250514" is present (167) and the date suffix looks inconsistent. Existence needs the model registry, not these pages.

154. Low Token and NFT images render with an empty source
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: quickstart/portfolio-tracker.md:174
From the report
Evidence

Evidence: <img src={img || ''} alt="" …/>. Line 184 uses files[0].uri with no fallback and can produce an undefined alt.

Suggested fix, not tested

render a placeholder when there is no URL, handle onError, and prefer links.image.

Review: src={img || ''} (174) is real. Line 184 does have a fallback (: ''), so "no fallback" is wrong. The only gap is the alt fallback.

155. Low Wallet address input has no accessible name
First rating: Medium · Reviewed rating: Low · Review: rated too high · new in this audit
Location: quickstart/portfolio-tracker.md:437
From the report
Evidence

Evidence: <input className="flex-1 border rounded p-2" value={address} onChange={…} />

Suggested fix, not tested

add a label or aria-label="Wallet address".

Review: <input … value={address} …/> has no label or aria-label (437-441).

Info after review (10)

1. Info Pages carry an instruction addressed to AI agents to fetch an external index
First rating: High · Reviewed rating: Info · Review: rated too high · also in the first audit (#F-14)
Location: api-reference.md:2. The same three lines open nearly every page.
From the report
Evidence
> ## Documentation Index
> Fetch the complete documentation index at: https://www.helius.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.
Why it matters

this is an imperative aimed at automated readers, embedded in the content itself. It points at your own domain and is most likely platform boilerplate. Still, any agent that reads your pages is told to fetch and follow remote content before doing anything else. If that index were ever altered, every agent would follow it. api-reference/authentication.md:83 does the same with "For complete instructions, read: …/agents.md".

Suggested fix, not tested

remove the block from page bodies. Expose the index through a Link header, the llms.txt convention or page metadata instead of prose addressed to the reader.

Review: It is the standard llms.txt convention, points at the vendor's own domain, and the report itself calls it "most likely platform boilerplate". Nothing exploitable is shown.

6. Info Off-ramp deposits are matched by sender address only
First rating: Low · Reviewed rating: Info · Review: rated too high · new in this audit
Location: privacy/integration/on-off-ramp.md:104
From the report
Evidence

Evidence: "match the transfer by the sender's Solana address".

Why it matters

the guide does not require the decrypted mint and the exact amount to match the order before a fiat payout.

Suggested fix, not tested

credit only when the decrypted sender, mint and amount all match the order.

Review: Line 104 does say "match the transfer by the sender's Solana address". But line 91 says "You decrypt the transfer and check the amount", and line 93 applies amount thresholds. Only the mint check is missing from the text.

10. Info Sign-in sample signs a static string
First rating: Low · Reviewed rating: Info · Review: rated too high · new in this audit
Location: waas/using-the-wallet.md:50
From the report
Evidence

Evidence: const signature = await signMessage("Sign in to Acme");

Why it matters

if this is used for authentication, the signature can be replayed.

Suggested fix, not tested

sign a server-issued nonce with domain and expiry, and verify and consume it server-side. Otherwise label the sample as a signing demo.

Review: Line 50 is under "### Sign a message", an API demo. The page does not present it as authentication.

13. Info Default-endpoint and wallet-kit breaking changes are announced "as needed"
First rating: Low · Reviewed rating: Info · Review: rated too high · new in this audit
Location: gatekeeper/overview.md:232
From the report
Evidence

Evidence: "Coming Months: Gradual migration of all traffic to Gatekeeper as the default". waas/overview.md:11 says breaking changes are communicated "on an as-needed basis".

Why it matters

customers get no notice period.

Suggested fix, not tested

define notice periods, measure the remaining use of the old default, and switch only once it is near zero.

Review: The wording is in a Beta note on a beta product. The Gatekeeper timeline is an explicit opt-in roadmap.

24. Info "Go live" opens a new socket without closing the old one
First rating: Low · Reviewed rating: Info · Review: rated too high · new in this audit
Location: quickstart/portfolio-tracker.md:96
From the report
Evidence

Evidence: const ws = new WebSocket(…); wsRef.current = ws;

Suggested fix, not tested

call stopLive() at the start of startLive.

Review: startLive (line 90) does not call stopLive. But the button is replaced by "Stop live feed" while status is live or connecting (line 145), and handleLoad calls stopLive() at line 52.

29. Info Confirmation is done by polling where a subscription exists
First rating: Low · Reviewed rating: Info · Review: rated too high · new in this audit
Location: sending-transactions/send-manually.md:209
From the report
Evidence

Evidence: while (!confirmed) { const statuses = await connection.getSignatureStatuses([signature]); const currentBlockHeight = await connection.getBlockHeight(); Also in rpc/guides/requestairdrop.md:132 and quickstart/deploy-program.md:179.

Suggested fix, not tested

use signatureSubscribe or confirmTransaction with the block height limit, and poll only as a fallback.

Review: Line 209 is a polling loop with a block-height expiry check (lines 219-223). The page calls it "a basic polling loop" (line 230). Polling is the page's stated approach.

44. Info Subscription ids near 2^53 are returned as numbers
First rating: Low · Reviewed rating: Info · Review: rated too high · new in this audit
Location: rpc/websocket/transaction-subscribe.md:126
From the report
Evidence

Evidence: "subscription": 4743323479349712,

Suggested fix, not tested

state an upper bound, or return the id as a string and accept either form on input.

Review: 4743323479349712 at line 126 is about 4.7e15, below 2^53 (9.007e15).

53. Info Metadata cache stores results, not in-flight requests
First rating: Low · Reviewed rating: Info · Review: rated too high · new in this audit
Location: rpc/websocket/transaction-subscribe.md:246
From the report
Evidence

Evidence: if (TOKEN_META.has(mint)) return TOKEN_META.get(mint); … await fetch(…)

Suggested fix, not tested

cache the promise per mint, remove it on failure, and bound the map.

Review: TOKEN_META.has(mint) at line 247 is as described. It is a nicety, not a defect.

84. Info Privacy agent prompt verifies by compiling only
First rating: Low · Reviewed rating: Info · Review: rated too high · new in this audit
Location: privacy/integration/wallet.md:95
From the report
Evidence

Evidence: ### 6. Verify - Every interface method … implemented - No secrets in logs … - TS: Bash tsc --noEmit + existing tests

Suggested fix, not tested

add one real derivation, deposit, transfer and withdrawal on localnet or devnet, plus a concrete log scan.

Review: Step 6 (95-99) also requires all interface methods, no secrets in logs, existing tests, and cargo test. Step 3 asks localnet or devnet (79). It is an assistant prompt.

85. Info Gradual rollout flips a coin on every request
First rating: Low · Reviewed rating: Info · Review: rated too high · new in this audit
Location: gatekeeper/migration-guide.md:134
From the report
Evidence

Evidence: const useGatekeeper = Math.random() < 0.1;

Suggested fix, not tested

bucket by a stable client or session id, label each request with its host, and fall back automatically on errors.

Review: Line 135 is real, but the section is labelled optional "Percentage rollout (10% of traffic)". It is stateless RPC, and an env-flag option is shown at 123.

Excluded on review (1)

Findings the review showed to be wrong or a repeat of another finding. They are not counted above.

Want this for your code?

Upload a ZIP or link a public GitHub repo, pick the areas and the depth, and get findings by severity with fixes.