
Research
Security News
Malicious npm Package Wipes Codebases with Remote Trigger
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Generic VM-based formal language matching framework, inspired by http://swtch.com/~rsc/regexp/
This library implements a VM able to execute programs aimed at matching formal languages. It does so by considering all possible branches in parallel. This could be used to efficiently implement many types of language matching, including regular expressions and XML schemas. Furthermore, the program could be set up to record its progress through both the input and the language's grammar. This enables giving feedback on why a given input does not match the grammar rules in some way.
For an example showing how this library can be used, see Examples.tests.ts in the test suite.
A simple benchmark is included in the performance
directory. This script runs a simple program
including repetition and records on an input of 1000000 items. These can be run using
fonto-benchmark-runner commands
which will run the benchmarks in the console. You can see the benchmark results in
the console output.
FAQs
Generic VM-based structure matching framework
The npm package whynot receives a total of 32,069 weekly downloads. As such, whynot popularity was classified as popular.
We found that whynot demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.
Security News
New CNA status enables OpenJS Foundation to assign CVEs for security vulnerabilities in projects like ESLint, Fastify, Electron, and others, while leaving disclosure responsibility with individual maintainers.