Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
changeset-map
Advanced tools
Very experimental work in progress. The idea being that you can pass a changeset id and a container HTML element where you want the map rendered, and this plugin should render details of changes made by that changeset in the specified HTML element on a MapboxGL map.
Heavily inspired by the ACHAVI Changeset Viewer: http://wiki.openstreetmap.org/wiki/Achavi
Create a container div to hold the UI.
<div id='container'></div>
var changesetMap = require('changeset-map');
var container = document.getElementById('container');
var changesetMapControl = changesetMap(container, changesetID, { width: '1000px', height: '1000px' });
// binding events
changesetMapControl.on('load', function () {
changesetMapControl.emit('selectFeature', 'node|way', featureId);
changesetMapControl.emit('clearFeature');
changesetMapControl.on('hashchange', function(geometryType, featureId) {
// update hash.
});
})
For a custom overpass instance, set a overpassBase
key in the options object. Default instance is https://overpass-api.de/api/interpreter.
Install dependencies using npm install
.
Run npm run start
to start a server and watchify
process to watch for changes to your files and re-build. Go to the browser at the port where the webserver is running. eg. http://localhost:8080
To build files, run npm run build
.
FAQs
Provide visualization of changesets to OSMCha & to the OSM community
The npm package changeset-map receives a total of 17 weekly downloads. As such, changeset-map popularity was classified as not popular.
We found that changeset-map demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.