
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
make-import-map
Advanced tools
Import maps allow a browser to know where to load ES modules from. Bundler not required.
See [https://github.com/WICG/import-maps]
Create an HTML file, for example:
<html>
<head>
<!--#importmap-->
</head>
<body>
<script type="module">
import which from "which-export";
document.body.append(which);
</script>
</body>
</html>
Run a development server (either by installing this package globally or create an npm script).
The path to serve should include all required node_modules
directories and source files:
make-import-map serve .
The comment in HTML will be replaced by an import map. If which-export
is a dependency in package.json
and is installed then the import will load it from node_modules
.
Build an import map for distribution:
make-import-map save . import-map.json
FAQs
Generate and serve import maps
We found that make-import-map 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.