Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@ndn/naming-convention1
Advanced tools
This package is part of NDNts, Named Data Networking libraries for the modern web.
This package implements 2014-version NDN naming conventions as specified in NDN-TR-0022 revision 1.
For 2019-version naming conventions, use @ndn/naming-convention2
package.
import { Version, Segment } from "@ndn/naming-convention1";
// We also have ByteOffset, Timestamp, and SequenceNum.
// other imports for examples
import { Name } from "@ndn/packet";
import { strict as assert } from "assert";
// Append name component with marker.
const name = new Name("/A")
.append(Version, 3)
.append(Segment, 0);
assert.equal(name.toString(), "/8=A/8=%FD%03/8=%00%00");
// Parse name component as marker.
assert.equal(name.at(-2).as(Version), 3);
assert.equal(name.at(-1).as(Segment), 0);
FAQs
NDNts: Naming Convention rev1
The npm package @ndn/naming-convention1 receives a total of 2 weekly downloads. As such, @ndn/naming-convention1 popularity was classified as not popular.
We found that @ndn/naming-convention1 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.