
Research
Shai-Hulud Descends to Hades: Miasma Worm Campaign Spreads with New PyPI Wave
Socket found 37 malicious PyPI wheels that abuse Python startup hooks to launch a Bun-powered credential stealer tied to Mini Shai-Hulud/Miasma.
@base-org/account
Advanced tools
Check available versions:
# yarn
yarn info @base-org/account versions
# npm
npm view @base-org/account versions
Install latest version:
# yarn
yarn add @base-org/account
# npm
npm install @base-org/account
Check installed version:
# yarn
yarn list @base-org/account
# npm
npm list @base-org/account
Compare the installed version with the latest:
# yarn
yarn outdated @base-org/account
# npm
npm outdated @base-org/account
Update to latest:
# yarn
yarn upgrade @base-org/account --latest
# npm
npm update @base-org/account
Initialize Base Account SDK
const sdk = createBaseAccountSDK({
appName: 'SDK Playground',
});
Make Base Account Provider
const provider = sdk.getProvider();
Request accounts to initialize a connection to wallet
const addresses = provider.request({
method: 'eth_requestAccounts',
});
Make more requests
provider.request('personal_sign', [
`0x${Buffer.from('test message', 'utf8').toString('hex')}`,
addresses[0],
]);
Handle provider events
provider.on('connect', (info) => {
setConnect(info);
});
provider.on('disconnect', (error) => {
setDisconnect({ code: error.code, message: error.message });
});
provider.on('accountsChanged', (accounts) => {
setAccountsChanged(accounts);
});
provider.on('chainChanged', (chainId) => {
setChainChanged(chainId);
});
provider.on('message', (message) => {
setMessage(message);
});
The Base Account SDK test dapp can be viewed here https://base.github.io/account-sdk/.
To run it locally follow these steps:
yarn installyarn devBase Accunt can be used directly in HTML pages via a script tag, without any build tools:
<!-- Via unpkg -->
<script src="https://unpkg.com/@base-org/account/dist/base-account.min.js"></script>
<!-- Via jsDelivr -->
<script src="https://cdn.jsdelivr.net/npm/@base-org/account/dist/base-account.min.js"></script>
Once loaded, the SDK is available as window.base and window.createBaseAccountSDK:
// Make a payment
const result = await window.base.pay({
amount: "10.50",
to: "0xYourAddress...",
testnet: true
});
// Check payment status
const status = await window.base.getPaymentStatus({
id: result.id,
testnet: true
});
// Create Base Account Provider
const provider = window.createBaseAccountSDK().getProvider()
FAQs
Base Account SDK
The npm package @base-org/account receives a total of 1,036,763 weekly downloads. As such, @base-org/account popularity was classified as popular.
We found that @base-org/account demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers 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
Socket found 37 malicious PyPI wheels that abuse Python startup hooks to launch a Bun-powered credential stealer tied to Mini Shai-Hulud/Miasma.

Security News
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.