
Security News
Node.js Drops Bug Bounty Rewards After Funding Dries Up
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.
Uses regular expressions to dynamically identify and list commonly used clichés in a body of text
A writting utility that uses a regular expression glossary to dynamically identify and list commonly used clichés
Install:
npm install -S cliches
Usage:
const cliches = require(`cliches`);
const text = `
as "ugly as sin itself" oh ...
and yet he was totally under her thumb`;
const result = cliches.test(text);
console.log(result.length); // 2
console.log(result); // [ 'ugly as sin', 'under (his|her) thumb']
The glossary of known phrases is curated to use Regular Expressions for dynamic group matching, where other similar utilities don't. This means a single phrase can encompass multiple gender and/or possension alternatives.
Example phrases that use RegExp groups:
all (\\w+) eggs in one basket
burst (your|my) bubble
ace up (his|her) sleeve
If you find a missing phrase, and want to contribute to the glossary, here are some commonly used regular expressions, for your convienience.
(his|her) - restricted to specific genders(your|my)- restricted to specific ownership(\\w+) unrestricted, matches any word objectTo add or edit this list please clone the repo and submit a pull-request.
keys - Array - a list of first word keys
phrases - Array - a list of all the known phrases
test - Function - analyze the input String and return an Array of matched phrases
clean - Function - strips non-alpha characters and returns String
FAQs
Uses regular expressions to dynamically identify and list commonly used clichés in a body of text
We found that cliches 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
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

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.