
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
⭐ 🌟 ⭐
It's a fork of react-router-dom in TypeScript. You can find the differences to RR 5.0 here.
Motivations:
<Router>
.Route
)Ultimately, it's more about the learning experience. It's my first dabble with a library, typescript and publishing something on NPM. Alnilam also serves as my testbed for contributions back to RR.
Thanks to all original contributors of React-Router.
You can find the documenation here.
npm i alnilam
// Minimal example using the browser history API.
import { Router, Switch, Route } from "alnilam";
import { createBrowserHistory } from "verlauf";
const myHistory = createBrowserHistory(/* consult the history documentation for your options here*/);
function MyRouter() {
return (
/* Setting up the router itself. */
<Router history={myHistory}>
{/* Switch will only render the first matching route: */}
<Switch>
{/* Defining the individual routes: */}
<Route path="/" exact >
<div> Epsilon Orionis </div>
</Route>
<Route path="/alnitak" >
<div> Zeta Orionis </div>
</Route>
<Route path="/mintaka" >
<div> Delta Orionis </div>
</Route>
<Route path="/ran" >
<div> Home of Bill. </div>
</Route>
</Switch>
</Router>
);
}
Here is a a small example app made with Alnilam. It shows:
<Match>
, <Route>
, <Link>
, and <Switch>
Alnilam is a star that was used in celestial navigation. It's one of the stars in Orions belt - which happens to be my favorite constellation - and it's official designation is Epsilon Orionis. I'm also a fan of contrived package names ;-)
FAQs
Stellar, statically typed, declarative routing for react.
The npm package alnilam receives a total of 27 weekly downloads. As such, alnilam popularity was classified as not popular.
We found that alnilam 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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.