
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@napcatlabs/protocol
Advanced tools
Napcat Protocol SDK! This is the official SDK that allows you to interact with the Napcat protocol on the Solana blockchain.
Install these dependencies over:
npm:
npm install @napcat/protocol
yarn:
yarn add @napcat/protocol
Here’s a basic example of how you can start using the SDK:
import { Connection, PublicKey } from '@solana/web3.js'
import { Wallet } from '@coral-xyz/anchor'
import NapcatProtocolClient from '@napcat/protocol'
const connection = new Connection('https://api.mainnet-beta.solana.com')
const wallet = new Wallet(/* Your private key here */)
const napcatClient = new NapcatProtocolClient(connection, wallet)
// Example: Claiming Rewards
async function claimRewards() {
const vaultPubkey = new PublicKey('vaultPublicKeyHere')
const userPubkey = new PublicKey('userPublicKeyHere')
const userPositionPubkey = new PublicKey('userPositionPublicKeyHere')
const args = {
vaultPubkey,
userPubkey,
userPositionPubkey
}
try {
const txSignature = await napcatClient.claimRewards(args)
console.log('Rewards claimed successfully! Transaction:', txSignature)
} catch (error) {
console.error('Error claiming rewards:', error)
}
}
claimRewards()
FAQs
Napcat Protocol SDK
We found that @napcatlabs/protocol demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.