
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
use-midnight
Advanced tools
A React hook to use Midnight in the browser
npm install use-midnight
import React from "react";
import { useMidnight, MidnightButton } from "use-midnight";
import type { MidnightAPI } from "use-midnight";
function App() {
const subscribe = (mn: MidnightAPI) => {
console.log(md);
};
return <MidnightButton subscribe={subscribe} />;
}
The hook has 2 exports:
1- a useMidnight
function that performs different checks and returns values injected by the Lace wallet into the browser
2- a MidnightButton
with a customizable appearance that shows the status of the dapp and user connection to the Lace wallet
MIT © claudebarde
FAQs
A React hook to use Midnight in the browser
The npm package use-midnight receives a total of 0 weekly downloads. As such, use-midnight popularity was classified as not popular.
We found that use-midnight demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.