
Research
SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.
@coolwallet/kas
Advanced tools
Typescript library with support for the integration of Kaspa for third party application, include the functionalities of generation of addresses and signed transactions.
npm i @coolwallet/kas
import KAS from '@coolwallet/kas';
import { crypto } from '@coolwallet/core';
import { createTransport } from '@coolwallet/transport-web-ble';
const kas = new KAS();
const transport = await createTransport();
const { privateKey: appPrivateKey } = crypto.key.generateKeyPair();
const appId = 'appId that had been registered by wallet';
const addressIndex = 0;
const address = await kas.getAddress(transport, appPrivateKey, appId, scriptType, 0);
// TODO implement
Get address by address index.
The KAS address generated is compatible to BIP44 and Base32 with account and change set to 0, which means calling getAddress with addressIndex = i will get the address of folllowing path:
m/44'/111111'/0'/0/{i}
In the design of current hardware, we only support path m/44'/111111'/0'/0/{i} for speed optimization. This might change in the future and we will then open a more general interface to deal with custom path.
async getAddress(
transport: Transport,
appPrivateKey: string,
appId: string,
scriptType: ScriptType,
addressIndex: number
): Promise<string>
This project includes code from the following open source projects:
FAQs
Coolwallet Kaspa sdk
The npm package @coolwallet/kas receives a total of 13 weekly downloads. As such, @coolwallet/kas popularity was classified as not popular.
We found that @coolwallet/kas 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
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.

Company News
Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecosystem.

Security News
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.