
Research
/Security News
jscrambler npm Package Compromised in Supply Chain Attack
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.
Common Map methods
<!DOCTYPE html>
<html lang=en>
<head>
<meta charset=UTF-8>
<meta name=viewport content="width=device-width,initial-scale=1">
<meta http-equiv=X-UA-Compatible content="ie=edge">
<title>sp-bmap</title>
<style>
#map {
width: 100vw;
height: 100vh;
}
</style>
</head>
<body>
<div id=map></div>
<script src="http://api.map.baidu.com/api?v=2.0&ak=DzQo095C0bFagPhpWFXS9aEcIqI0DGfG"></script>
<script>
<script src="https://unpkg.com/sp-bmap/dist/index.min.js"></script>
window.onload = function () {
var map = __Map.map.init("map");
}
</script>
</body>
</html>
npm i sp-bmap //or yarn add sp-bmap
let __Map = require("sp-bmap");
__Map.map.init("map", lng, lat, zoomLevel);
let point = __Map.point(lng, lat);
__Map.map.center(point);
__Map.zoom(12);
__Map.map.scroll(false);
__Map.point(lng, lat);
FAQs
Common functions for BaiDuMap
The npm package sp-bmap receives a total of 5 weekly downloads. As such, sp-bmap popularity was classified as not popular.
We found that sp-bmap 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
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.

Research
/Security News
A malicious .NET package is typosquatting the Braintree SDK to steal live payment card data, merchant API keys, and host secrets from production apps.

Security News
/Research
Compromised Injective SDK npm version 1.20.21 exfiltrates wallet private keys and mnemonics through fake telemetry functionality.