
Research
Supply Chain Attack on Axios Pulls Malicious Dependency from npm
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.
sys-encoding
Advanced tools
Node.js module to get system encoding.
When executing terminal commands using Node.js, the output results are garbled on some non-English language Windows systems. This library uses the chcp command on Windows to obtain the system encoding, which can then be converted to the corresponding language using the iconv-lite library.
pnpm add sys-encoding
import { getSystemEncoding } from 'sys-encoding';
import { decode } from 'iconv-lite';
const encoding = getSystemEncoding();
console.log(decode(Buffer.from([0x68, 0x65, 0x6c, 0x6c, 0x6f]), encoding)); // If encoding is 'win1251'
FAQs
Node.js module to get system encoding.
We found that sys-encoding 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
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.

Security News
TeamPCP is partnering with ransomware group Vect to turn open source supply chain attacks on tools like Trivy and LiteLLM into large-scale ransomware operations.