Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
keyword-analyzer
Advanced tools
A keyword analyzer tool that returns keyword frequency for a given set of text.
A nodejs module for discovering keywords for a given text input.
The keyword analyzer tool allows you to find what keywords are most prevalent for a given input of text and allows you to specify options for configuring it to your needs. A basic example below shows you how it functions.
var keyword-analyzer = require('keyword-analyzer')
keyword-analyzer.wrest('bar bar bar foo foo foo foo'); // ["foo", "bar"]
npm install --save keyword-analyzer
You can supply several options to configure how you want to find keywords.
This specifies the max keyword results you want to be returned in the array. Defaults to all.
This determines whether or not the keywords will be returned with the number of times used in the text. Defaults to false.
Returned array will look like this: [{foo:3, bar:2}]
The minimum times a word should be found in text to be returned. Defaults to 2.
A way to add additional stopwords to check against.
Number of words to count as one keyword. A way to check phrases.
MIT
FAQs
A keyword analyzer tool that returns keyword frequency for a given set of text.
We found that keyword-analyzer 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.