
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
ascii-whitespace
Advanced tools
A regular expression for ASCII/HTML whitespace, as defined by W3C and WHATWG.
A Node.js module containing a regular expression for ASCII/HTML whitespace, as defined by W3C and WHATWG.
ASCII whitespace means any combination of U+0009, U+000A, U+000C, U+000D, or U+0020.
npm install ascii-whitespace --save
const asciiWhitespace = require('ascii-whitespace')()
asciiWhitespace instanceof RegExp // true
asciiWhitespace.test(' ') // true
W3C’s definition, from the HTML5 specification (retrieved 2017-03-07):
The space characters, for the purposes of this specification, are U+0020 SPACE, "tab" (U+0009), "LF" (U+000A), "FF" (U+000C), and "CR" (U+000D).
WHATWG's definition (retrieved 2017-03-07):
An ASCII whitespace is U+0009, U+000A, U+000C, U+000D, or U+0020.
FAQs
A regular expression for ASCII/HTML whitespace, as defined by W3C and WHATWG.
We found that ascii-whitespace 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.