Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@dapperlabs/dappauth
Advanced tools
A util to prove actionable control ('ownership') over a public Ethereum address using eth_sign
const Web3 = require('web3');
const DappAuth = require('@dapperlabs/dappauth');
const dappAuth = new DappAuth(new Web3.providers.HttpProvider('http://localhost:8545'));
async function debug() {
const challenge = 'foo';
const signature =
'0x33838c6f4e621982c2009f9b93ecb854a4b122538159623abc87d2e4c5bd6d2e33591f443b419b3bd2790e455ba6d625f2ca14b822c5cef824ef7e9021443bed1c';
const address = '0x86aa354fc865925f945b803ceae0b3f9d856b269';
try {
const isAuthorizedSigner = await dappAuth.isAuthorizedSigner(
challenge,
signature,
address,
);
console.log(isAuthorizedSigner); // true
}
} catch (e) {
console.log(e);
}
}
FAQs
A util to prove actionable control ('ownership') over a public Ethereum address using eth_sign
The npm package @dapperlabs/dappauth receives a total of 1 weekly downloads. As such, @dapperlabs/dappauth popularity was classified as not popular.
We found that @dapperlabs/dappauth demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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 uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.