← Home

@stellar/stellar-sdk

A library for working with the Stellar network, including communication with the Horizon and Soroban RPC servers.

4
Versions
Apache-2.0
License
No
Install Scripts
Verified
Provenance

Supply chain provenance

Status for the latest visible version.

SLSA provenance attestation npm registry signatures gitHead linked

Maintainers

stellar-npm-cistellar-npmquietbitsjaceknfnando_sdfcassiomgpiyalbasu

Keywords

stellar

Accepted risks

Findings the reviewer chose to accept rather than block on.

SourceRuleReasonAccepted byWhen
source-diff encoded-string-file:dist/stellar-sdk.min.js AI (source-diff): Minified main bundle containing SAC_SPEC constant. ai
source-diff obfuscated-file:lib/no-eventsource/bindings/sac-spec.js AI (source-diff): Same SAC spec data in no-eventsource build variant. ai
source-diff encoded-string-file:dist/stellar-sdk-minimal.js AI (source-diff): SAC_SPEC constant in webpack bundle; contract ABI data, not a payload. ai
source-diff encoded-string-file:dist/stellar-sdk-minimal.min.js AI (source-diff): Minified bundle containing SAC_SPEC constant. ai
source-diff encoded-string-file:dist/stellar-sdk-no-axios.js AI (source-diff): SAC_SPEC constant in no-axios webpack bundle. ai
source-diff encoded-string-file:dist/stellar-sdk-no-axios.min.js AI (source-diff): Minified no-axios bundle containing SAC_SPEC constant. ai
source-diff encoded-string-file:dist/stellar-sdk-no-eventsource.js AI (source-diff): SAC_SPEC constant in no-eventsource webpack bundle. ai
source-diff encoded-string-file:dist/stellar-sdk-no-eventsource.min.js AI (source-diff): Minified no-eventsource bundle containing SAC_SPEC constant. ai
source-diff encoded-string-file:dist/stellar-sdk.js AI (source-diff): SAC_SPEC constant in main webpack bundle. ai
source-diff obfuscated-file:lib/bindings/sac-spec.js AI (source-diff): Base64-encoded Soroban contract spec (SAC token ABI), not obfuscated code. ai
source-diff obfuscated-file:lib/minimal/bindings/sac-spec.js AI (source-diff): Same SAC spec data in minimal build variant. ai
source-diff obfuscated-file:lib/no-axios/bindings/sac-spec.js AI (source-diff): Same SAC spec data in no-axios build variant. ai
install-scripts install-script:postinstall AI (install-scripts): Postinstall runs 'yarn setup' which only sets git config; benign dev tooling, stable for this package. ai
dependencies unvetted-dep:@stellar/stellar-base AI (dependencies): First-party companion library from the Stellar Development Foundation; always a legitimate dependency of this SDK. ai
dependencies unvetted-dep:eventsource AI (dependencies): Standard EventSource polyfill used for streaming Stellar Horizon/Soroban RPC events; legitimate and expected dependency. ai
dependencies unvetted-dep:feaxios AI (dependencies): Lightweight fetch-based HTTP client used as axios alternative in browser environments; legitimate dependency for this SDK. ai
dependencies unvetted-dep:toml AI (dependencies): Standard TOML parser; legitimate dependency for configuration parsing in the Stellar SDK. ai
dependencies unvetted-dep:urijs AI (dependencies): Standard URI manipulation library; legitimate dependency for URL handling in the Stellar SDK. ai
semgrep semgrep:base64-decode AI (semgrep): Base64 decoding is used for signed auth entry handling in blockchain wallet interactions — standard cryptographic operation for a Stellar SDK, not malicious payload hiding. ai
semgrep semgrep:hex-decode AI (semgrep): Hex decoding in this SDK is used for WASM hash validation and standard cryptographic operations — not obfuscation or payload hiding. Stable false positive for this package. ai

Versions (showing 4 of 4)

Version Deps Published
15.1.0 9 / 58
15.0.1 9 / 58
15.0.0 9 / 58
14.2.0 8 / 68

v15.1.0

1 finding
INFO Has SLSA provenance attestation provenance

Published via CI/CD with Sigstore attestation (predicate: https://slsa.dev/provenance/v1). This is the strongest supply chain integrity signal.

v15.0.0

14 findings
HIGH Publisher changed: stellar-npm-ci → GitHub Actions (on 2026-03-30) provenance

This version was published by a different npm account than previous versions on 2026-03-30. This could indicate a legitimate maintainer transition or an account compromise.

HIGH New obfuscated file: lib/bindings/sac-spec.js source-diff

Newly added source file contains lines over 3000 chars, suggesting minified or obfuscated code. New obfuscated files are a strong attack indicator.

HIGH New obfuscated file: lib/minimal/bindings/sac-spec.js source-diff

Newly added source file contains lines over 3000 chars, suggesting minified or obfuscated code. New obfuscated files are a strong attack indicator.

HIGH New obfuscated file: lib/no-axios/bindings/sac-spec.js source-diff

Newly added source file contains lines over 3000 chars, suggesting minified or obfuscated code. New obfuscated files are a strong attack indicator.

HIGH New obfuscated file: lib/no-eventsource/bindings/sac-spec.js source-diff

Newly added source file contains lines over 3000 chars, suggesting minified or obfuscated code. New obfuscated files are a strong attack indicator.

HIGH Long encoded string in modified file: dist/stellar-sdk-minimal.js source-diff

Modified file contains 1 long encoded string(s) (200+ chars). These are commonly used to hide malicious payloads.

HIGH Long encoded string in modified file: dist/stellar-sdk-minimal.min.js source-diff

Modified file contains 1 long encoded string(s) (200+ chars). These are commonly used to hide malicious payloads.

HIGH Long encoded string in modified file: dist/stellar-sdk-no-axios.js source-diff

Modified file contains 1 long encoded string(s) (200+ chars). These are commonly used to hide malicious payloads.

HIGH Long encoded string in modified file: dist/stellar-sdk-no-axios.min.js source-diff

Modified file contains 1 long encoded string(s) (200+ chars). These are commonly used to hide malicious payloads.

HIGH Long encoded string in modified file: dist/stellar-sdk-no-eventsource.js source-diff

Modified file contains 1 long encoded string(s) (200+ chars). These are commonly used to hide malicious payloads.

HIGH Long encoded string in modified file: dist/stellar-sdk-no-eventsource.min.js source-diff

Modified file contains 1 long encoded string(s) (200+ chars). These are commonly used to hide malicious payloads.

HIGH Long encoded string in modified file: dist/stellar-sdk.js source-diff

Modified file contains 1 long encoded string(s) (200+ chars). These are commonly used to hide malicious payloads.

HIGH Long encoded string in modified file: dist/stellar-sdk.min.js source-diff

Modified file contains 1 long encoded string(s) (200+ chars). These are commonly used to hide malicious payloads.

INFO Has SLSA provenance attestation provenance

Published via CI/CD with Sigstore attestation (predicate: https://slsa.dev/provenance/v1). This is the strongest supply chain integrity signal.

v14.2.0

2 findings
HIGH Package has 'postinstall' script install-scripts

Script: yarn setup || true

LOW No provenance attestation provenance

Package was published without Sigstore provenance. Only ~12% of npm packages have provenance, so this is common but not ideal.