Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
circuitsvis
Advanced tools
Mechanistic Interpretability visualizations in React.
View all available components in Storybook at https://alan-cooney.github.io/CircuitsVis .
First install the package:
yarn add circuitsvis
Then import and use the visualizations directly:
import { Hello } from "circuitsvis";
export function Demo() {
return <Hello name="Bob" />;
}
You can use this package directly from a CDN (e.g. unpkg) to render visualizations.
<div id="my-div-id" />
<script crossorigin type="module">
import { render, Hello } from "https://unpkg.com/circuitsvis/dist/cdn/esm.js";
render(
"my-div-id", // Div to render into
Hello, // Visualization function
{ name: "Bob" } // Props (arguments) for visualisation
);
</script>
<div id="my-div-id" />
<script
crossorigin
src="https://unpkg.com/circuitsvis/dist/cdn/iife.js"
onload="onCircuitsVisLoad()"
></script>
<script>
function onCircuitsVisLoad() {
"{";
}
CircuitsVis.render(
"{uuid}", // Div to render into
CircuitsVis.Hello, // Visualization function
{ name: "Bob" } // Props (arguments) for visualisation
);
{
("}");
}
</script>
See https://github.com/alan-cooney/CircuitsVis for details of how to use this library within a Python project.
FAQs
Mechanistic Interpretability Visualizations
The npm package circuitsvis receives a total of 378 weekly downloads. As such, circuitsvis popularity was classified as not popular.
We found that circuitsvis 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.