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.
harmful-osm-edits
Advanced tools
# Clone repository and install required packages
git clone git@github.com:mapbox/harmful-osm-edits.git
cd harmful-osm-edits
npm install
# Generate an example fixture for Mapbox, Bangalore
./generate-fixture.js --type node --id 3352016856 --version 21
# Generate a new fixture passing required arguments
./generate-fixture.js --type featureType --id featureId --version featureVersion
{
"description": "Description of what makes this feature edit problematic",
"newVersion": "Feature that was problematic",
"oldVersion": "Version of feature before the problematic change"
}
An ideal fixture with a great description
, newVersion
and oldVersion
.
{
"description": "This feature is problematic because ...",
"newVersion": {
"type": "Feature",
"id": "node!3352016856!21",
"properties": {
"addr:city": "Bangalore",
"addr:housenumber": "221, 2nd Floor",
"addr:landmark": "Above State Bank of India Women's Branch",
"addr:postcode": "560038",
"addr:street": "13th Cross, 2nd Main",
"brand:wikidata": "Q17068357",
"name": "Mapbox",
"name:hi": "मॅपबॉक्स",
"name:kn": "ಮ್ಯಾಪ್ ಬಾಕ್ಸ್",
"name:ml": "മാപ്പ്ബോക്സ്",
"name:ru": "Мапбокс",
"name:ta": "மேப்பாக்ஸ்",
"name:uk": "Мапбокс",
"office": "company",
"operator": "Mapbox Technologies India Private Limited",
"website": "http://www.mapbox.com",
"wikipedia": "en:Mapbox",
"osm:type": "node",
"osm:id": 3352016856,
"osm:version": 21,
"osm:changeset": 43344070,
"osm:timestamp": 1478070497000,
"osm:uid": 1306,
"osm:user": "PlaneMad"
},
"geometry": {
"type": "Point",
"coordinates": [
77.6368034,
12.9810816
]
}
},
"oldVersion": {
"type": "Feature",
"id": "node!3352016856!20",
"properties": {
"addr:city": "Bangalore",
"addr:housenumber": "221, 2nd Floor",
"addr:landmark": "Above State Bank of India Women's Branch",
"addr:postcode": "560038",
"addr:street": "13th Cross, 2nd Main",
"name": "Mapbox",
"name:hi": "मॅपबॉक्स",
"name:kn": "ಮ್ಯಾಪ್ ಬಾಕ್ಸ್",
"name:ml": "മാപ്പ്ബോക്സ്",
"name:ru": "Мапбокс",
"name:ta": "மேப்பாக்ஸ்",
"name:uk": "Мапбокс",
"office": "company",
"website": "http://www.mapbox.com",
"wikipedia": "en:Mapbox",
"osm:type": "node",
"osm:id": 3352016856,
"osm:version": 20,
"osm:changeset": 42368001,
"osm:timestamp": 1474620794000,
"osm:uid": 3460649,
"osm:user": "Amisha Singla"
},
"geometry": {
"type": "Point",
"coordinates": [
77.6368034,
12.9810816
]
}
}
}
A fixture where feature is deleted in it's newVersion
, thus has only oldVersion
.
{
"description": "This feature is problematic because ...",
"newVersion": {},
"oldVersion": {
"type": "Feature",
"id": "node!3352016856!21",
"properties": {
"addr:city": "Bangalore",
"addr:housenumber": "221, 2nd Floor",
"addr:landmark": "Above State Bank of India Women's Branch",
"addr:postcode": "560038",
"addr:street": "13th Cross, 2nd Main",
"brand:wikidata": "Q17068357",
"name": "Mapbox",
"name:hi": "मॅपबॉक्स",
"name:kn": "ಮ್ಯಾಪ್ ಬಾಕ್ಸ್",
"name:ml": "മാപ്പ്ബോക്സ്",
"name:ru": "Мапбокс",
"name:ta": "மேப்பாக்ஸ்",
"name:uk": "Мапбокс",
"office": "company",
"operator": "Mapbox Technologies India Private Limited",
"website": "http://www.mapbox.com",
"wikipedia": "en:Mapbox",
"osm:type": "node",
"osm:id": 3352016856,
"osm:version": 21,
"osm:changeset": 43344070,
"osm:timestamp": 1478070497000,
"osm:uid": 1306,
"osm:user": "PlaneMad"
},
"geometry": {
"type": "Point",
"coordinates": [
77.6368034,
12.9810816
]
}
}
}
FAQs
Repository of problematic feature edits on OpenStreetMap
The npm package harmful-osm-edits receives a total of 0 weekly downloads. As such, harmful-osm-edits popularity was classified as not popular.
We found that harmful-osm-edits 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.