
| Audited | helius.dev Gatekeeper documentation and its two announcement posts (English), pages fetched 11 October 2026 |
|---|---|
| Date | 11 October 2026 (audited again; first audit 11 June 2026) |
| How it ran | local run on our workstation, full audit, Standard review |
| Verdict after review | Pass with notes (Fail if a High finding remains after review, otherwise Pass with notes) |
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 11 June 2026 and an earlier method, so its severities are shown as first rated. Translated pages were not fetched this time. Each finding of the first audit (11 June 2026) was checked again against the pages audited now. 12 findings in the first audit; 7 still open (2 found again, 5 not reported again but still present); 1 fixed upstream since; 4 could not be compared. This audit has 13 findings after review, 11 of them new.
| First audit | Finding | Rating then (as first rated, earlier method) | Now | In this audit |
|---|---|---|---|---|
| #F-1 | Malformed JavaScript code recipe in the Enhanced WebSockets announcement blog | High | Still open | #5 |
| #F-2 | Internal links in documentation pages return 404 when followed from the published raw-markdown form | High | Fixed upstream since | not reported again |
| #F-3 | Trailing-slash convention inconsistency across the canonical Gatekeeper endpoint URL | Medium | Still open | not reported again |
| #F-4 | Acronym gTFA used as canonical example but never expanded | Medium | Still open | not reported again |
| #F-5 | Performance benchmark provenance via personal gist | Medium | Still open | not reported again |
| #F-6 | Chinese-language pages link to English-only destinations | Medium | Could not be compared | not reported again |
| #F-7 | Chinese localization covers documentation pages but not announcement blogs | Medium | Could not be compared | not reported again |
| #F-8 | Announcement blogs excluded from the sitemap and from llms.txt | Medium | Could not be compared | not reported again |
| #F-9 | Documentation-index banner directs to an index that does not enumerate the page itself | Medium | Could not be compared | not reported again |
| #F-10 | Cross-document supported-endpoints list wording variance | Low | Still open | not reported again |
| #F-11 | Rollout-plan relative-temporal anchor decays silently | Low | Still open | #4 |
| #F-12 | WebSocket recipe in the canonical reference document lacks production-grade event handlers | Low | Still open | not reported again |
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. 11 findings were first rated Medium or High; 6 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.
Medium after review (6)
blog/introducing-next-generation-enhanced-websockets.md:152From the report
const
RAYDIUM_LAUNCHPAD_PROG
= '
The single-quoted string that holds the program address is split across several lines. JavaScript does not allow a line break inside a quoted string, so the script stops with a SyntaxError before it runs. This is the only runnable example on the page, and anyone who copies it gets a script that doesn't work.
Write the declaration on one line: const RAYDIUM_LAUNCHPAD_PROG = 'LanMV9sAd7wArD4vJFi2qDdfnVhFxYSUg6eADduJ3uj';. Lines 169–171 are split the same way; that part still parses, but tidy it too. Copy the sample from the rendered page and run it once before publishing.
Review: Lines 152-156 are const / RAYDIUM_LAUNCHPAD_PROG / = ' / LanMV9s... / ';. A single-quoted string cannot span lines, so this is a SyntaxError. Lines 169-171 are split too, but that part parses. A copied script fails at once and plainly, so no loss follows.
blog/introducing-next-generation-enhanced-websockets.md:204From the report
Creator: keys[1], // From IDL: accounts[1] is creator
BaseMint: keys[7], // From IDL: base_mint is around index 7 in initialize accounts
The sample reads accounts by fixed positions in the transaction's full account list, but positions in an instruction's account list are not the same as positions in that list. The comment even says the index is a guess ("around index 7"). The filter at line 198, log.includes('Instruction: Initialize'), also matches unrelated token-program logs such as InitializeAccount and InitializeMint. As a result, the script can print the wrong creator and mint, with no error to show it.
Find the launchpad program's own instruction in the parsed transaction and resolve the creator and mint through that instruction's account indexes. Identify the instruction by its program and instruction type, not by a substring of the log text.
Review: keys is the transaction's full account list (201). The comment on 205 says "around index 7", which admits a guess. The substring filter at 198 (Instruction: Initialize) also matches other token-program logs such as InitializeAccount. The output can be wrong with no error. I could not check the on-chain layout.
blog/introducing-next-generation-enhanced-websockets.md:228From the report
The following script will stream a table of newly launched pools to the console, ensuring gapless delivery, even under high load.
The same page says Enhanced WebSockets are for non-critical streams (lines 76 and 117) and lists "gapless delivery with automatic replay" as a reason to use LaserStream instead (line 91). The script also has no reconnect or replay. A reader who builds a trading flow on this promise can miss events without noticing.
Remove the gapless-delivery claim or state the real guarantee, and point readers who need continuity to the product that provides it.
Review: Line 228 says "ensuring gapless delivery, even under high load". Line 91 lists "gapless delivery with automatic replay" as a reason to use LaserStream instead. Lines 76 and 117 call Enhanced WebSockets non-critical. The script has no replay.
blog/introducing-gatekeeper.md:69From the report
...may see response times of \~26 ms with a new connection and \~0.5 ms with a reused connection.
(line 6 claims "sub-millisecond responses"; line 91: | Total Time | 0.004533s | 0.035328s | −30.80ms (7.8×) |)
The page's own table shows about 4.5 ms for a reused connection, not 0.5 ms, and nothing on the page supports the sub-millisecond claim. The table rows are also cumulative curl timestamps, not separate durations for each phase, but they are labelled as phases. Readers who compare providers on these numbers are misled.
Make the prose match the table (about 27 ms cold, about 4.5 ms warm), or publish a measurement that supports 0.5 ms. Say that the figures come from a single getSlot sample, and label the timings as cumulative.
Review: Line 69 says "~0.5 ms with a reused connection". The table's own warm total (line 91) is 0.004533s, about 4.5 ms. Line 6 says "sub-millisecond", which the table does not support. I checked the 4.6× and 7.8× ratios and the differences, and they are arithmetically consistent.
docs/gatekeeper/overview.md:131From the report
const ws = new WebSocket(`wss://beta.helius-rpc.com?api-key=${YOUR_API_KEY}`);
ws.on('open', () => {
.on(...) comes from the Node ws package, but the sample never imports it. Browsers and Node's built-in WebSocket have no .on method, so the sample throws a TypeError at that line. YOUR_API_KEY is also never defined.
Add import WebSocket from 'ws'; and say the sample is for Node, or use ws.addEventListener('open', …) for browsers. Read the key from an environment variable, as the WebSocket blog post does.
Review: Line 131 does new WebSocket(...) and line 133 calls ws.on('open', ...) with no import and no note that it is for Node's ws package. The built-in WebSocket has no .on, so it throws a TypeError. The YOUR_API_KEY point is weak, because every sample on the page uses the same placeholder.
docs/gatekeeper/migration-guide.md:123From the report
const endpoint = process.env.USE_GATEKEEPER
? "https://beta.helius-rpc.com"
: "https://mainnet.helius-rpc.com";
Environment variables are always strings, so USE_GATEKEEPER=false or USE_GATEKEEPER=0 still selects the beta endpoint. The page offers this as the "safer migration" switch, but setting it to off does not turn it off. The percentage-rollout sample at line 135 picks again on every evaluation, so a given user or process is not consistently on one endpoint.
Compare against an explicit value, for example process.env.USE_GATEKEEPER === 'true'. For the percentage rollout, either assign by a stable key, such as a user ID, so each user stays on one endpoint, or say that the choice is made again on every evaluation.
Review: Line 123 is process.env.USE_GATEKEEPER ? beta : mainnet. Any non-empty string, including "false" or "0", is true. The page offers this as the "safer migration" switch, so switching it off does not work. The percentage rollout at 135 is a secondary point and only an inference.
Low after review (4)
blog/introducing-next-generation-enhanced-websockets.md:183From the report
setInterval(() => {
if (ws.readyState === WebSocket.OPEN) {
ws.send(JSON.stringify({ jsonrpc: '2.0', id: Date.now(), method: 'ping' }));
The page presents this script as an example "in a production setting", and line 24 says reconnection logic is required. However, the ping interval is created on open, and nothing ever clears it. Once someone adds the reconnect loop the page recommends, every reconnection adds another timer. The script also has no reconnect logic, even though the page says it is needed.
Keep the interval handle and call clearInterval in the close handler. Create one timer per connection. Either add the reconnect logic or drop the "production setting" wording.
Review: setInterval is created inside the open handler (183-187) and no handle is kept. The close handler (215-217) only logs. After a close the timer keeps running, which also keeps the Node process alive. Line 145 says "in a production setting". Line 24 says reconnection logic is needed, and the script has none.
blog/introducing-gatekeeper.md:117From the report
- A single entry point for all RPC methods, webhooks, and APIs
Webhooks don't appear in any supported-features list. LaserStream is explicitly not supported (line 133), and neither are Devnet or Testnet. The overview makes similar blanket claims: "a single, unified entry-point for all requests" (line 11) and "All existing RPC methods work identically" (line 166). Integrators who rely on these claims will point traffic at an endpoint that does not serve it.
Word the scope claims to match the actual support list, and put the exclusions next to the claim instead of only in a later note.
Review: Line 117 does say "all RPC methods, webhooks, and APIs", and no list mentions webhooks, so that part stands. But the exclusions are on the same pages: LaserStream at introducing-gatekeeper.md:133 and overview.md:46-48, and Devnet and Testnet at overview.md:270. Line 166 ("All existing RPC methods work identically") is not contradicted, because LaserStream is gRPC and not an RPC method. This is a wording problem, with no wrong result shown.
docs/gatekeeper/overview.md:31From the report
Your existing API key works without any additional changes.
(the WebSocket sample at line 137 uses method: 'transactionSubscribe'; the WebSocket blog post, line 134, says "Enhanced WebSockets are available for Business plans and above")
The overview's WebSocket sample uses an enhanced subscription method that, according to the blog, needs a Business plan or higher. The overview does not mention this. Users on lower plans who copy the sample get authorization errors, and the migration guide's troubleshooting section does not explain them.
State the plan requirement next to the transactionSubscribe sample and add the resulting error to the troubleshooting section.
Review: The omission is real: the sample at 137 uses transactionSubscribe, ...enhanced-websockets.md:134 says Business plans and above, and the overview never says so. But the "authorization errors" are inferred, and the vendor's plan check could not be checked from the pages. The cited line 31 is context; the sample is at 137.
blog/introducing-next-generation-enhanced-websockets.md:66From the report
empower frontend developers to integrate high-fidelity streams directly into browsers, React apps, and mobile clients.
(line 139: wss://atlas-mainnet.helius-rpc.com/?api-key=<YOUR_API_KEY>)
The key is passed in the URL, and the page encourages connecting directly from browsers and mobile apps. Any key shipped to a client is visible to every end user and can leak through logs, proxies and history. Anyone who copies it can then use up the customer's paid quota.
Warn that a key in client-side code is public. For frontends, recommend a server-side relay or a key restricted by origin and method. Apply the same note to the WebSocket samples in the migration guide (line 91) and the overview (line 131).
Review: Line 66 does say "directly into browsers, React apps, and mobile clients", and lines 139 and 91 and overview 131 put the key in the URL. No page tells a reader to ship the key in client code. The missing warning is a hardening gap.
Info after review (3)
docs/gatekeeper/overview.md:1From the report
> ## 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.
The page opens with a directive aimed at AI agents and other automated readers. It tells them to fetch an external resource and change how they explore. Any tool that processes these pages with an AI model, such as a code assistant, a retrieval pipeline or an auditor, may follow it. That moves control of the tool's behaviour to a remote file the reader never chose to trust. This looks like the standard notice the documentation platform generates, so it is probably benign, but it is still an instruction inside content. We did not follow it.
Remove the banner from content that is meant to be processed as data, or mark it clearly as generated boilerplate. If you want to offer the index, put a plain link in the page navigation instead of an imperative sentence addressed to the reader.
Review: The 3 banner lines are at overview.md:1-3 as quoted. It is a link to the vendor's own llms.txt, and the report itself says it is "probably benign" and the platform's standard notice. It makes nobody lose money or data and ships no exploitable integration. A HIGH needs a defect in what the docs teach, and this is not one.
docs/gatekeeper/migration-guide.md:1From the report
> ## 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.
This is the same directive as in finding 1, repeated on this page, with the same risk. We did not follow it.
The same as finding 1. Strip it once in the page template so it disappears from every page.
Review: Lines 1-3 are the same banner. It is a duplicate of finding 1, and the report's own fix says to strip it once in the template.
docs/gatekeeper/overview.md:232From the report
* **Coming Months**: Gradual migration of all traffic to Gatekeeper as the default
(rollback at line 205: const url = "https://mainnet.helius-rpc.com?api-key=YOUR_API_KEY";)
The page promises two things: that customers can roll back to the current endpoint, and that all traffic will eventually move to Gatekeeper. It never says whether the current endpoint will be retired, when, or how long rollback stays available. Customers who build a rollback plan on it don't know how long the plan is valid.
Say in what order things happen: the gateway ships alongside the current endpoint, clients move over, and then the old path is retired. Give dates or other criteria customers can check for each step, and say how long rollback to mainnet.helius-rpc.com stays available.
Review: Line 232 ("Coming Months") has no date, which is true. The page never says the old endpoint will be retired, so that part is inferred. FAQ line 266 says "We'll notify all users before making any changes to the default Helius endpoints", which the report does not mention.