
Research
6 Malicious Packagist Themes Ship Trojanized jQuery and FUNNULL Redirect Payloads
Six malicious Packagist packages posing as OphimCMS themes contain trojanized jQuery that exfiltrates URLs, injects ads, and loads FUNNULL-linked redirects.
mapbox.js
Advanced tools
This is the Mapbox Javascript API, version 2.x. It's built as a Leaflet plugin. You can read about its launch.
Managed as Markdown in API.md, following the standards in DOCUMENTING.md
Recommended usage is via the Mapbox CDN, with code snippets available on the official documentation page
The mapbox.js file includes the Leaflet library. Alternatively, you can use mapbox.standalone.js, which does not include Leaflet (you will have to provide it yourself).
See the API documentation and Examples for further help.
Install the mapbox.js module and add it to dependencies in package.json:
npm install mapbox.js --save
Require mapbox in your script:
// main.js
require('mapbox.js'); // <-- auto-attaches to window.L
Browserify it:
browserify main.js -o bundle.js
You can install mapbox.js with bower by running
bower install mapbox.js
You can download a built release at the mapbox.js-bower repository.
Requires node.js installed on your system.
git clone https://github.com/mapbox/mapbox.js.git
cd mapbox.js
npm install
make
This project uses browserify to combine
dependencies and installs a local copy when you run npm install.
make will build the project in dist/.
Test with phantomjs:
npm test
To test in a browser, run a local development server
and go to /test.
Version v0.x.x can be accessed in the v0 branch..
Requirements:
inkscape
pngquant
theme/images/icons.svg../theme/images/render.sh to update sprites from your edits.Documentation is powered by Jekyll. Running using the following command:
./jekyll.sh
FAQs
Mapbox plugin for Leaflet
The npm package mapbox.js receives a total of 6,662 weekly downloads. As such, mapbox.js popularity was classified as popular.
We found that mapbox.js demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 44 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
Six malicious Packagist packages posing as OphimCMS themes contain trojanized jQuery that exfiltrates URLs, injects ads, and loads FUNNULL-linked redirects.

Security News
The GCVE initiative operated by CIRCL has officially opened its publishing ecosystem, letting organizations issue and share vulnerability identifiers without routing through a central authority.

Security News
The project is retiring its odd/even release model in favor of a simpler annual cadence where every major version becomes LTS.