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.
array-difference-linear
Advanced tools
Given array a and array b, returns a - b, all in linear time!
This requires node 4.x, as there are ES6 features added
array-difference takes two arguments, both of which must be arrays, and then returns an array of the difference
var arrayDifference = require('array-difference');
var a = [1,2,3];
var b = [2, 3, 4];
arrayDifference(a, b);
// -> [1]
FAQs
Given array a and array b, returns a - b
The npm package array-difference-linear receives a total of 1 weekly downloads. As such, array-difference-linear popularity was classified as not popular.
We found that array-difference-linear 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.