
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
@walletconnect/modal-core
Advanced tools
@walletconnect/modal-core is a package that provides core functionalities for integrating WalletConnect modals into your web applications. It allows users to connect their cryptocurrency wallets to your application using a modal interface.
Initialize WalletConnect Modal
This feature allows you to initialize the WalletConnect modal with your project ID and relay URL. This is the first step in setting up the modal for use in your application.
const WalletConnectModal = require('@walletconnect/modal-core');
const modal = new WalletConnectModal({
projectId: 'your_project_id',
relayUrl: 'wss://relay.walletconnect.org'
});
Open WalletConnect Modal
This feature allows you to open the WalletConnect modal, enabling users to select and connect their wallets.
modal.open();
Handle WalletConnect Session
This feature allows you to handle session updates from WalletConnect. You can listen for session updates and handle them accordingly in your application.
modal.on('session_update', (session) => {
console.log('Session updated:', session);
});
Web3Modal is a library that allows you to connect to various wallet providers in a simple and customizable way. It provides a modal interface similar to @walletconnect/modal-core but supports a wider range of wallet providers.
Fortmatic is a package that allows users to connect to your application using their phone number or email. It provides a different approach to wallet connection compared to @walletconnect/modal-core, focusing on ease of use and accessibility.
Torus is a user-friendly wallet solution that allows users to log in using their social accounts. It provides a seamless experience for users who may not be familiar with traditional cryptocurrency wallets, offering an alternative to the modal-based approach of @walletconnect/modal-core.
FAQs
#### 🔎 [Examples](https://github.com/WalletConnect/web3modal-examples)
The npm package @walletconnect/modal-core receives a total of 261,652 weekly downloads. As such, @walletconnect/modal-core popularity was classified as popular.
We found that @walletconnect/modal-core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 12 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
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.