
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.
@privy-io/cross-app-connect
Advanced tools
Privy cross-app wallet connectors for wagmi and RainbowKit
npm install -S @privy-io/cross-app-connect wagmi viem @rainbow-me/rainbowkit
import {toPrivyWallet} from '@privy-io/cross-app-connect/rainbow-kit';
import {connectorsForWallets, ConnectButton} from "@rainbow-me/rainbowkit";
import {QueryClient, QueryClientProvider} from '@tanstack/react-query';
import {WagmiProvider, createConfig, http} from 'wagmi';
import {mainnet} from 'wagmi/chains';
const privyWallet = toPrivyWallet({
id: <privy-wallet-app-id>,
name: 'Privy wallet app',
iconUrl: 'https://example.com/image.png',
})
const connectors = connectorsForWallets(
[
{
groupName: "Privy",
wallets: [privyWallet],
},
],
{
appName: "Privy",
projectId: "Example",
}
);
export const wagmiConfig = createConfig({
chains: [mainnet],
transports: {
[mainnet.id]: http(),
},
connectors,
ssr: true,
});
const queryClient = new QueryClient();
export default function App({children}: {children: React.ReactNode}) {
return (
<WagmiProvider config={wagmiConfig}>
<QueryClientProvider client={queryClient}>
<RainbowKitProvider>
<ConnectButton />
</RainbowKitProvider>
</QueryClientProvider>
</WagmiProvider>
);
}
FAQs
Privy cross app wallet connectors for wagmi and RainbowKit
The npm package @privy-io/cross-app-connect receives a total of 0 weekly downloads. As such, @privy-io/cross-app-connect popularity was classified as not popular.
We found that @privy-io/cross-app-connect demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 8 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.
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.