
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
The Aho–Corasick algorithm (aca) is a string searching algorithm.
$ npm i aca
const aca = require("aca");
Search for keywords in text strings.
charset (optional, Unicode or ASCII, defaults to Unicode)
aca.find(keywords, text) // => { matches, positions, count }
Example
var keywords = ["h", "he", "she", "hers", "his"];
var text = "ahishers";
var result = aca.find(keywords, text, 'ASCII');
result.matches //keyword:positions
=> {"h":[1,4],"his":[1],"she":[3],"he":[4],"hers":[4]}
result.positions //position:keywords
=> [[1,["h","his"]],[3,["she"]],[4,["h","he","hers"]]]
result.count //keyword:count
=> {"h":2,"his":1,"he":1,"she":1,"hers":1}
Coming soon.
keywords.txt one keyword per single line.
h
his
she
he
hers
text.txt
ahishers
Coming soon.
$ aca -v
Aho–Corasick algorithm wiki!
FAQs
Aho-Corasick automation for Node.js, Unicode Supported.
The npm package aca receives a total of 3 weekly downloads. As such, aca popularity was classified as not popular.
We found that aca 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.