
Research
/Security News
Malicious Chrome Extension Performs Hidden Affiliate Hijacking
A Chrome extension claiming to hide Amazon ads was found secretly hijacking affiliate links, replacing creators’ tags with its own without user consent.
string-includes
Advanced tools
Ponyfill: A polyfill that doesn't overwrite the native method
$ npm install --save string-includes
const stringIncludes = require('string-includes');
stringIncludes('unicorns and rainbows', 'unicorns');
//=> true
stringIncludes('unicorns and rainbows', 'rainbows');
//=> true
stringIncludes('unicorns and rainbows', 'unicorns', 1);
//=> false
Type: string
The string to search in.
Type: string
A string to be searched for.
Type: Number
Default: 0
The position in this string at which to begin searching for searchString.
MIT © Kevin Martensson
FAQs
ES6 String.includes() ponyfill
We found that string-includes 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
/Security News
A Chrome extension claiming to hide Amazon ads was found secretly hijacking affiliate links, replacing creators’ tags with its own without user consent.

Security News
A surge of AI-generated vulnerability reports has pushed open source maintainers to rethink bug bounties and tighten security disclosure processes.

Product
Scan results now load faster and remain consistent over time, with stable URLs and on-demand rescans for fresh security data.