
Research
Namastex.ai npm Packages Hit with TeamPCP-Style CanisterWorm Malware
Malicious Namastex.ai npm packages appear to replicate TeamPCP-style Canister Worm tradecraft, including exfiltration and self-propagation.
@amoutonbrady/solid-tiny-router
Advanced tools
Experimental and personal tiny little router based on history & regexparam for solid
Install it:
pnpm add @amoutonbrady/solid-tiny-router
Use it:
import { render} from 'solid-js/dom';
import { Component, lazy } from 'solid-js';
import { useAuth } from './fake-auth.ts';
// Minimal exports
import { Router, Route, Link, useRouter, Redirect } from './router';
// It can work with lazy routes
const Home = lazy(() => import('./Home'));
const App: Component = () => {
// Minimal API
const [auth] = useAuth();
const [router, { push }] = useRouter();
return (
<>
{/* This is a reactive URL Object, you can retrieve searchParams, pathname & hash from it */}
<p>{router.currentRoute.pathname}</p>
{/* Link */}
<Link path="/" class="text-blue-700" active-class="underline">Home</Link>
<Link path="/about">About</Link>
<button onClick={[push, '/']}>Navigate without a link</button>
<hr />
{/* Catch all route */}
<Switch fallback={<p>404 not found</p>}>
{/* Routes, pretty much just a wrapper around <Match> that display the content only if the route match the path your provide */}
<Route path="/" children={Home} />
<Route path="/about">
<p>Sweet about</p>
</Route>
<Route path="/user/:id">This the user {router.params.id}<Route>
{/* This is how you'd add a guard to authenticated only routes */}
<Match when={auth.isLoggedIn()}>
<Switch>
<Route path="/admin">Admin route</Route>
<Redirect path="/login" to="/admin" />
</Switch>
</Match>
</Switch>
</>
);
};
render(() => <Router><App /></Router>, document.getElementById('app'))
FAQs
Tiny Router for Solid
The npm package @amoutonbrady/solid-tiny-router receives a total of 8 weekly downloads. As such, @amoutonbrady/solid-tiny-router popularity was classified as not popular.
We found that @amoutonbrady/solid-tiny-router 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
Malicious Namastex.ai npm packages appear to replicate TeamPCP-style Canister Worm tradecraft, including exfiltration and self-propagation.

Product
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.