Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
xdcpay-web3modal
Advanced tools
A custom xdcpay provider for web3modal
npm install --save xdcpay-web3modal
import React, { Component } from 'react'
import Web3Modal from 'web3modal';
import { getXdcModal } from 'xdcpay-web3modal'
import WalletConnect from "@walletconnect/web3-provider";
const App = () => {
const web3Modal = new Web3Modal({
cacheProvider: true,
disableInjectedProvider: false,
providerOptions: {
walletconnect: {
package: WalletConnect, // required
options: {
infuraId: "223f20f418c34a758240a7f416435110", // Required
network: "mainnet",
qrcodeModalOptions: {
mobileLinks: ["rainbow", "metamask", "argent", "trust", "imtoken", "pillar"]
}
}
},
'custom-xdc': getXdcModal, // Add One line for xdc pay web3modal provider
}
});
//REST of your code
}
MIT © jurjees23
FAQs
A custom xdcpay provider for web3modal
We found that xdcpay-web3modal demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.