
Research
/Security News
10 npm Typosquatted Packages Deploy Multi-Stage Credential Harvester
Socket researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.
@exodus/address-provider
Advanced tools
Address provider for deriving and tracking used and unused addresses.
This module derives addresses for assets from different wallet accounts. Addresses for software wallet accounts are encoded public keys that are derived from the seed using Keychain, whereas hardware wallet accounts use the public keys stored in the public-key-store.
flowchart LR
A[AddressProvider] --> B[PublicKeyProvider]
B -->|software| D[Keychain]
B -->|hardware| E[PublicKeyStore]
Address derivation can be pretty expensive on certain platforms (*cough, mobile*). So this package also includes a simple walletAccount and bip32 path based cache.
yarn add @exodus/address-provider
This feature is designed to be used together with @exodus/headless. See using the sdk.
exodus.addressProvider API.await exodus.addressProvider.getReceiveAddress({ walletAccount: 'exodus_0', assetName: 'bitcoin' }) in the Dev Tools Console.See using the sdk for more details on how features plug into the SDK and the API interface in the type declaration.
const address = await exodus.addressProvider.getAddress({
purpose: 44,
assetName: 'bitcoin',
walletAccount: 'exodus_0',
chainIndex: 0,
addressIndex: 0,
})
const receiveAddress = await exodus.addressProvider.getReceiveAddress({
assetName: 'bitcoin',
walletAccount: 'exodus_0',
})
const unusedReceiveAddress = await exodus.addressProvider.getReceiveAddress({
assetName: 'bitcoin',
walletAccount: 'exodus_0',
multiAddressMode: true,
})
If you're building a feature that requires the wallet's addresses, add a dependency on the addressProvider module, which provides almost the same API as the external exodus.addressProvider API (caveat: the module expects WalletAccount instances, while the API expects WalletAccount names like 'exodus_0').
See using the sdk for more details on basic UI-side setup.
import exodus from '~/ui/exodus'
const MyComponent = () => {
const { loading, value: receiveAddress } = useAsync(
exodus.addressProvider.getReceiveAddress({ walletAccount: 'exodus_0', assetName: 'bitcoin' })
)
return loading ? <Text>Loading...</Text> : <Text>Your address: {receiveAddress}</Text>
}
Occasionally you may want to simulate another wallet for which you don't have the seed or private keys. You can do this by mocking at the address level here or at the xpub/public key level in public-key-provider
Mock an address by providing all the parameters that would normally be used to derive it:
exodus.debug.addressProvider.mockAddress({
walletAccount: 'exodus_0',
assetName: 'ethereum',
address: '<address>',
purpose: 44,
chainIndex: 0,
addressIndex: 0,
})
Mock multiple addresses by only a subset of the parameters:
exodus.debug.addressProvider.mockAddress({
walletAccount: 'exodus_0',
assetName: 'bitcoin',
purpose: 44,
address: '<address>',
})
This would result in mocking all change/receive chain addresses with the same address.
To clear all mocked addresses, call exodus.debug.addressProvider.clear().
FAQs
Address provider for deriving and tracking used and unused addresses.
The npm package @exodus/address-provider receives a total of 1,488 weekly downloads. As such, @exodus/address-provider popularity was classified as popular.
We found that @exodus/address-provider demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Socket researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.