Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
@ndn/naming-convention1
Advanced tools
This package is part of NDNts, Named Data Networking libraries for the modern web.
This package implements NDN naming conventions based on marker octets.
This format, sometimes known as rev1 format, is specified in NDN-TR-0022 revision 1, published in 2014.
You should not use this outdated and obsolete format in new applications, except for accessing old data.
Use rev3 format from @ndn/naming-convention2
package instead.
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 "node: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 0 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.