
Research
/Security News
jscrambler npm Package Compromised in Supply Chain Attack
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.
一种自解释型的 TTLV<Tag,Type,Length,Value> 数据交换协议
Install with npm:
# npm i jce
Simple Example:
const jce = require("jce");
// encode by array
const encoded1 = jce.encode([
"abc", 1, 3.3, null, //null and undefined will be skipped
[0, 12n, Buffer.from("def")], //list
{a: 0xffffff, b: BigInt(2**60)} //map
]);
// encode by object
const encoded2 = jce.encode({
1:"a", 3:12.34, 5:{}, 7:[]
});
// decode
jce.decode(encoded1);
jce.decode(encoded2);
Struct Usage:
const jce = require("jce");
const struct = {
foo: 0, //tag0
bar: 1, //tag1
baz: 2 //tag2
};
const object = {
foo: 12.34,
bar: "bar123"
};
const encoded = jce.encode(object, struct);
const decoded = jce.decode(encoded, struct);
Nesting Usage:
@see test.js
FAQs
JCE reader and writer for JavaScript
The npm package jce receives a total of 101 weekly downloads. As such, jce popularity was classified as not popular.
We found that jce demonstrated a not healthy version release cadence and project activity because the last version was released 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
/Security News
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.

Research
/Security News
A malicious .NET package is typosquatting the Braintree SDK to steal live payment card data, merchant API keys, and host secrets from production apps.

Security News
/Research
Compromised Injective SDK npm version 1.20.21 exfiltrates wallet private keys and mnemonics through fake telemetry functionality.