
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.
@maggioli-design-system/magma-react
Advanced tools
Magma React specific building blocks on top of [@maggioli-design-system/magma](https://www.npmjs.com/package/@maggioli-design-system/magma) components.
Magma React specific building blocks on top of @maggioli-design-system/magma components.
Install package
npm i @maggioli-design-system/magma-react
Set the path where the mds-icon
component will get the svg icons inside UseEffect
otherwise window is not defined
// app.js
export default function App({
children,
}) {
useEffect(() => {
sessionStorage.setItem("mdsIconSvgPath", `/svg/`);
}, []);
return <>{children}</>;
}
Example using Nextjs with App Router
// client_globals_wrapper.tsx
export default function ClientGlobalsWrapper({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
useEffect(() => {
sessionStorage.setItem("mdsIconSvgPath", `/svg/`);
}, []);
return <>{children}</>;
}
// app/layout.tsx
export default function RootLayout({
children,
}: Readonly<{ children: React.ReactNode }>) {
return (
<html>
<body>
<ClientGlobalsWrapper>
<main>{children}</main>
</ClientGlobalsWrapper>
</body>
</html>
);
}
import { MdsText } from '@maggioli-design-system/magma-react'
export default function Component() {
return (
<MdsText typography="h3">Hello World</MdsText>
);
}
FAQs
Magma React specific building blocks on top of [@maggioli-design-system/magma](https://www.npmjs.com/package/@maggioli-design-system/magma) components.
The npm package @maggioli-design-system/magma-react receives a total of 269 weekly downloads. As such, @maggioli-design-system/magma-react popularity was classified as not popular.
We found that @maggioli-design-system/magma-react demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers 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.