
Research
/Security News
10 npm Typosquatted Packages Deploy Multi-Stage Credential Harvester
Socket researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.
@fedimint/react
Advanced tools
<!-- Removes the border below the header tag --> <summary> @fedimint/react
Helpful React hooks for building with the Fedimint Web SDK.
pnpm install @fedimint/core @fedimint/react
import { FedimintWalletProvider, setupFedimintWallet } from '@fedimint/react'
setupFedimintWallet({
lazy: false,
debug: true,
})
// Wrap your app in the FedimintWalletProvider
<FedimintWalletProvider>
<App />
</FedimintWalletProvider>
// App.tsx
// Balance
import { useBalance } from '@fedimint/react'
const balance = useBalance()
// Wallet
import { useOpenWallet } from '@fedimint/react'
const {
walletStatus, // 'open' | 'closed' | 'connecting' | 'failed'
openWallet, // () => Promise<boolean> - Returns true if wallet was opened successfully.
joinFederation, // () => Promise<boolean> - Returns true if joined federation successfully.
} = useOpenWallet()
// Receive Lightning
import { useReceiveLightning } from '@fedimint/react'
const {
generateInvoice, // (amount: number) => Promise<void>
bolt11, // string
invoiceStatus, // 'pending' | 'confirmed' | 'failed'
error, // Error | undefined
} = useReceiveLightning()
// Send Lightning
import { useSendLightning } from '@fedimint/react'
const {
payInvoice, // (bolt11: string) => Promise<void>
paymentStatus, // 'pending' | 'confirmed' | 'failed'
paymentError, // Error | undefined
} = useSendLightning()
FAQs
<!-- Removes the border below the header tag --> <summary> @fedimint/react
The npm package @fedimint/react receives a total of 228 weekly downloads. As such, @fedimint/react popularity was classified as not popular.
We found that @fedimint/react demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 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
/Security News
Socket researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.