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.
compare-geojson
Advanced tools
Compare functions take as inputs the following:
oldVersion
- GeoJSON of the feature's old versionnewVersion
- GeoJSON of the feature's new versioncallback
- A function to call after processing.Compare functions output the following:
error
- Error if any during processing or null
.result
- Object containing key value pairs representing findings of the compare function or an empty object.A sample compare function would look something like this:
function checkPlaceRemoval(newVersion, oldVersion, callback) {
var oldProps = oldVersion.properties;
var newProps = newVersion.properties;
var result = {};
if (oldProps.hasOwnProperty('place') && !newProps.hasOwnProperty('place')) {
result['result:place_removed'] = true;
}
return callback(null, result);
}
[2.0.0] - 2016-05-03
landmark
compare function to detect edits to important landmarks.FAQs
Compare a features new and old versions in GeoJSON
The npm package compare-geojson receives a total of 4 weekly downloads. As such, compare-geojson popularity was classified as not popular.
We found that compare-geojson demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers 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.