
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.
A super simple in memory search index based on Term Frequency–Inverse Document Frequency using the awesome natural module.
A super simple search index based on Term Frequency–Inverse Document Frequency using the awesome natural module.
Useful when you only have a small set of files/strings to index, and want a usable, though limited search.
Recently updated with typescript support
$ npm install node-index
or
$ yarn add node-index
Then build up an index in your code by calling addDocument(key, document) and search
within the index using query(searchString):
import { Index } from 'node-index'
index = new Index()
index.addDocument("dog", {
field1: "dog goes woof",
field2: "woof woof woof"
})
index.addDocument("cow", {
field1: "cow goes moo",
field2: "moo moo moo"
})
// search for string 'string'
index.query("dog")
// returns sorted results by relevence in the form of:
[
{
key: 'dog',
measure: 0.1337,
doc: { /* original object you passed in */ }
},
...
],
MIT
FAQs
A super simple in memory search index based on Term Frequency–Inverse Document Frequency using the awesome natural module.
The npm package node-index receives a total of 9 weekly downloads. As such, node-index popularity was classified as not popular.
We found that node-index 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
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.