Security News
Research
Supply Chain Attack on Rspack npm Packages Injects Cryptojacking Malware
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
@connext/channel-commitments
Advanced tools
The CommitmentClient
is responsible for interacting with the backend to collect signatures for channel signers. It will be consumed by the claim UI to capture signatures from returning users to redeem commitments.
The class has the following interface:
class CommitmentClient {
// What consumer should prompt user to sign
public readonly SIGN_IN_PROMPT: string = "...";
// This method should:
// - generate the channel wallet from input signature
// - store the backend URL
// - store the injected provider
// - create a new CommitmentClient + return it
public async post(signature: string, backend?: string): Promise<void> {}
}
npm i @connext/channel-commitments
import { CommitmentClient } from "@connext/channel-commitments";
const client = new CommitmentClient();
const signature = await injectedProvider.signMessage(client.SIGN_IN_PROMPT);
try {
await client.post(signature);
} catch (e) {
console.warn("Failed to post to client");
}
FAQs
Unknown package
The npm package @connext/channel-commitments receives a total of 0 weekly downloads. As such, @connext/channel-commitments popularity was classified as not popular.
We found that @connext/channel-commitments demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.
Security News
Sonar’s acquisition of Tidelift highlights a growing industry shift toward sustainable open source funding, addressing maintainer burnout and critical software dependencies.