
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.
@lenml/tokenizer-claude
Advanced tools
a tokenizer.
based on
@lenml/tokenizers
import { fromPreTrained } from "@lenml/tokenizer-claude";
const tokenizer = fromPreTrained();
console.log(
"encode()",
tokenizer.encode("Hello, my dog is cute", null, {
add_special_tokens: true,
})
);
console.log("_encode_text", tokenizer._encode_text("Hello, my dog is cute"));
Complete api parameters and usage can be found in transformer.js tokenizers document
Apache-2.0
FAQs
claude tokenizer for NodeJS/Browser
The npm package @lenml/tokenizer-claude receives a total of 1,389 weekly downloads. As such, @lenml/tokenizer-claude popularity was classified as popular.
We found that @lenml/tokenizer-claude demonstrated a healthy version release cadence and project activity because the last version was released less than 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.