Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
aws-did-you-mean
Advanced tools
This little tool will help you retrieve suggestions from AWS CloudSearch. It's nothing fancy, but it does the job. Pass in your CloudSearch specifics, a suggester, and ultimately a query.
npm install aws-did-you-mean --save
// Create object, and initialise with project specific options
var suggest = new Suggest(
{
name: 'coffee-bean-ninja',
id: 'jl7xoqkekxqshi4vlteubco26i'
}
);
// We must set the suggester (here, or in the options object passed
// to the constructor).
suggest.setSuggester('bean_suggester');
// Get all suggestions. You'll get an err object if something went wrong.
// Otherwise, you'll get an array of results (which may be empty).
suggest.getAll('amant', (results, err) => {
if (!err) {
console.log('Found ' + results.length + ' suggestion(s):');
results.forEach((item, i) => {
console.log(i+1 + ' -> ' + item.suggestion);
});
} else {
console.log(err);
}
});
This is a work in progress. Use at your discretion, and your own risk.
This tool is released under an MIT license.
FAQs
A simple module to interface with AWS CloudSearch's suggester
We found that aws-did-you-mean 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 researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.