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.
A CTR CLI tool for pippo
First, install pippo globally:
npm install -g pippo
This will install the resol
command into your shell. Next run the pippo command with two local files
$ resol ./path/to/advertisers.txt ./path/to/people.txt
This will generate optimized CTR choices and display them in console. If you want to save the output to a file, then use the -o option in the command line
$ resol ./path/to/advertisers.txt ./path/to/people.txt -o output.txt
Or if you want to just test it out without needing the txt files, you can add in the -t option
$ resol -t
If you want to see what it can do, just type resol, or resol -h for all the options
$ resol
$ resol -h
If you want to use the Resol library locally in an NPM server or in the browser, then just use npm to install it normally
npm install pippo --save
And include it in your scripts using the require function (requires browserify if your using a browser)
var Resol = require('pippo');
var ctr = new Resol(advertiserArray, peopleArray);
var results = ctr.pareto();
/* Results:
{
choices: [
{
ad: "Advertiser Name",
person: "Person Name",
score: 15,
cost: -20
}
],
score: 15
}
*/
FAQs
A CTR CLI optimization tool
The npm package pippo receives a total of 4 weekly downloads. As such, pippo popularity was classified as not popular.
We found that pippo 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.