
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.
No dependency TypeScript implementation of Linspell spell checking algorithm optimised for performance and low memory footprint
yarn install linspell
or
npm install linspell
Creates an instance of LinSpell class
Note: words array is expected to be sorted as search for exact match is done using binary search algorithm
Example
import { LinSpell } from 'linspell';
const defaultChecker = new LinSpell();
const customChecker = new LinSpell({
words: ['elo', 'hello', 'hell', 'help'].sort(),
maxEditDistance: 3,
suggestionType: 'top',
});
Overrides instance's dictionary with provided array of words; array is expected to be sorted
Example
import { LinSpell } from 'linspell';
const words = ['elo', 'hello', 'hell', 'help'].sort();
const checker = new LinSpell();
checker.provideWords(words);
Provides match results for given word in instance's dictionary
Example
import { LinSpell } from 'linspell';
const words = ['elo', 'hello', 'hell', 'help'].sort();
const checker = new LinSpell();
checker.provideWords(['bar', 'foo']);
console.log(checker.lookup('foo')); // [true, ['foo']]
FAQs
LinSpell spelling correction algorithm TypeScript implementation
We found that linspell 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.