
Research
npm Malware Targets Telegram Bot Developers with Persistent SSH Backdoors
Malicious npm packages posing as Telegram bot libraries install SSH backdoors and exfiltrate data from Linux developer machines.
@spare/regex-phrasing
Advanced tools
A function returning string length, s.t. skipping ansi (escape) codes, correcting length of astral symbols.
$ npm install @spare/regex-phrasing
import { lange } from '@spare/regex-phrasing'
const cast = [
'tolstoy',
'\u001b[3;4;31mhatsu\u001b[0m',
'\u{1F3C3}2\u{1F525}7',
]
for (let t of cast) {
console.log(`[${t}] [length] (${t.length}) [lange] (${lange(t)})`)
}
Copyright (c) 2019-present, Haoyang (Vincent) Wang
FAQs
Regex sets
The npm package @spare/regex-phrasing receives a total of 63 weekly downloads. As such, @spare/regex-phrasing popularity was classified as not popular.
We found that @spare/regex-phrasing 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
Malicious npm packages posing as Telegram bot libraries install SSH backdoors and exfiltrate data from Linux developer machines.
Security News
pip, PDM, pip-audit, and the packaging library are already adding support for Python’s new lock file format.
Product
Socket's Go support is now generally available, bringing automatic scanning and deep code analysis to all users with Go projects.