Fuel Network Typescript SDK
This report summarizes scanner evidence for FuelLabs/fuels-ts, a TypeScript project with 42,919 GitHub stars. SynthScan examined 185,543 lines of code across 1672 source files, recording 54 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 0.3 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 52 finding(s).
Are imports declared and package/API names verified? 2 finding(s).
Are wrappers, guards, and repeated structures necessary? 32 finding(s).
Which changes need focused human review? 54 finding(s).
Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 54 distinct pattern matches across 6 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/abi-coder/src/utils/transpile-abi.ts | 11 | function finsertTypeIdByConcreteTypeId(abi, types, id) { | CODE |
| LOW | packages/abi-coder/src/utils/transpile-abi.ts | 35 | function parseFunctionTypeArguments(abi, types, concreteType) { | CODE |
| LOW | packages/fuel-gauge/src/transaction-response.test.ts | 8 | async function verifyKeepAliveMessageWasSent(subscriptionStream: ReadableStream<Uint8Array>) { | CODE |
| LOW | packages/fuel-gauge/src/transaction-response.test.ts | 34 | function getSubscriptionStreamFromFetch(streamHolder: { stream: ReadableStream<Uint8Array> }) { | CODE |
| LOW | …/versions/src/lib/checkFuelCoreVersionCompatibility.ts | 4 | export function checkFuelCoreVersionCompatibility(networkVersion: string) { | CODE |
| LOW | packages/transactions/src/coders/policy.ts | 57 | function validateDuplicatedPolicies(policies: Policy[]): void { | CODE |
| LOW | …/src/connectors/utils/dispatch-fuel-connector-event.ts | 8 | export function dispatchFuelConnectorEvent(connector: FuelConnector) { | CODE |
| LOW | …ount/src/test-utils/setup-test-provider-and-wallets.ts | 53 | export async function setupTestProviderAndWallets({ | CODE |
| LOW | packages/account/src/providers/utils/gas.ts | 131 | export function calculateMetadataGasForTxCreate({ | CODE |
| LOW | packages/account/src/providers/utils/gas.ts | 152 | export function calculateMetadataGasForTxScript({ | CODE |
| LOW | packages/account/src/providers/utils/gas.ts | 162 | export function calculateMetadataGasForTxBlob({ | CODE |
| LOW | packages/account/src/providers/utils/gas.ts | 176 | export function calculateMetadataGasForTxUpgrade({ | CODE |
| LOW | packages/account/src/providers/utils/gas.ts | 195 | export function calculateMetadataGasForTxUpload({ | CODE |
| LOW | packages/account/src/providers/utils/gas.ts | 217 | export function calculateMinGasForTxUpload({ | CODE |
| LOW | …es/account/src/providers/transaction-summary/output.ts | 17 | export function getOutputsContractCreated(outputs: Output[]) { | CODE |
| LOW | …ges/account/src/providers/transaction-summary/input.ts | 48 | export function aggregateInputsAmountsByAssetAndOwner( | CODE |
| LOW | …ges/account/src/providers/transaction-summary/input.ts | 48 | export function aggregateInputsAmountsByAssetAndOwner( | CODE |
| LOW | …ges/account/src/providers/transaction-summary/input.ts | 103 | export function getInputContractFromIndex( | CODE |
| LOW | …ccount/src/providers/transaction-summary/operations.ts | 230 | export function getWithdrawFromFuelOperations({ | CODE |
| LOW | …ccount/src/providers/transaction-summary/operations.ts | 386 | export function getContractCallOperations({ | CODE |
| LOW | …ccount/src/providers/transaction-summary/operations.ts | 432 | function extractTransferOperationFromReceipt( | CODE |
| LOW | …ccount/src/providers/transaction-summary/operations.ts | 584 | export function getContractCreatedOperations({ inputs, outputs }: InputOutputParam): Operation[] { | CODE |
| LOW | …rs/transaction-summary/assemble-transaction-summary.ts | 156 | export function assemblePreConfirmationTransactionSummary( | CODE |
| LOW | packages/account/src/utils/deployScriptOrPredicate.ts | 24 | function adjustConfigurableOffsets(jsonAbi: JsonAbi, configurableOffsetDiff: number) { | CODE |
| LOW | …ount/src/utils/predicate-script-loader-instructions.ts | 32 | export function getBytecodeConfigurableOffset(bytecode: Uint8Array): number { | CODE |
| LOW | …ount/src/utils/predicate-script-loader-instructions.ts | 69 | export function getPredicateScriptLoaderInstructions( | CODE |
| LOW | packages/abi-typegen/src/utils/transpile-abi.ts | 11 | function finsertTypeIdByConcreteTypeId(abi, types, id) { | CODE |
| LOW | packages/abi-typegen/src/utils/transpile-abi.ts | 35 | function parseFunctionTypeArguments(abi, types, concreteType) { | CODE |
| LOW | packages/abi-typegen/src/abi/types/EnumType.test.ts | 31 | function validateCommonEnumAttributes(params: { enum: EnumType }) { | CODE |
| LOW | packages/fuels/src/cli/templates/fuels.config.ts | 10 | export function renderFuelsConfigTemplate(props: { | CODE |
| LOW | …s/docs/src/guide/provider/snippets/provider-options.ts | 5 | async function fetchSomeExternalCredentials() { | CODE |
| LOW | …s/docs/src/guide/provider/snippets/provider-options.ts | 9 | function decorateResponseWithCustomLogic(response: Response) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/contract/src/loader/loader-script.ts | 21 | // prepared fn selector and jumps to the selected contract method. | COMMENT |
| LOW | packages/program/src/contract-call-script.ts | 41 | gasForwardedOffset: 0, | COMMENT |
| LOW | packages/account/src/connectors/fuel-connector.ts | 21 | COMMENT | |
| LOW | packages/account/src/connectors/fuel-connector.ts | 61 | // #region fuel-connector-method-addAssets | COMMENT |
| LOW | templates/nextjs/next-env.d.ts | 1 | /// <reference types="next" /> | COMMENT |
| LOW | apps/demo-fuels/fuels.config.full.ts | 41 | // #region autoStartFuelCore | COMMENT |
| LOW | apps/docs/src/guide/types/snippets/tuples.ts | 21 | // [100, false, <BN 0x2710>] | COMMENT |
| LOW | …src/guide/types/snippets/options/overview-of-option.ts | 21 | // 15 | COMMENT |
| LOW | apps/docs/src/guide/provider/snippets/pagination.ts | 81 | // #region pagination-default-args | COMMENT |
| LOW | …ider/snippets/functionality/get-coins-from-provider.ts | 21 | // ... | COMMENT |
| LOW | …ps/docs/src/guide/cookbook/snippets/splitting-utxos.ts | 41 | COMMENT | |
| LOW | …/src/guide/testing/snippets/tweaking-the-blockchain.ts | 41 | // #endregion produceBlocks-custom-timestamp | COMMENT |
| LOW | …/guide/transactions/snippets/transaction-parameters.ts | 21 | // #region transaction-parameters-2 | COMMENT |
| LOW | …/guide/transactions/snippets/transaction-parameters.ts | 61 | // #endregion transaction-parameters-9 | COMMENT |
| LOW | …allets/snippets/getting-started-with-wallet-manager.ts | 41 | // #endregion getting-started-with-wallet-manager-4 | COMMENT |
| LOW | apps/create-fuels-counter-guide/fuels.config.ts | 21 | // #endregion fuels-config-file-env | COMMENT |
| LOW | apps/demo-wallet-sdk-react/next-env.d.ts | 1 | /// <reference types="next" /> | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/codeql.yml | 44 | # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | apps/docs/src/guide/types/snippets/structs.ts | 12 | name: 'John Doe', | CODE |
| LOW | apps/docs/src/guide/types/snippets/vectors.ts | 26 | name: 'John Doe', | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/account/src/predicate/predicate.ts | 341 | * If at least one resource was added as a predicate resource, we need to check if it was the | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/workflows/pr-validate-changesets.yaml | 61 | # Check if the PR title contains an exclamation mark (breaking) | COMMENT |