
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
vottun-web3-auth
Advanced tools
This project is entirely developed and owned by Vottun.
Within this npm package, you can call the following methods:
connectWallet()
Triggers the Metamask window in order to make the user connect its wallet.
Returns true if the user successfully connects its wallet and false otherwise.
Disclaimer: the user must be on a non-private window and must have Metamask installed in its browser
in order to complete this action.
getWalletInfo()
Asks for the information related to the wallet: address
, chainId
.
Returns the information if the wallet is correctly connected, and null
otherwise.
signMessage(origin, walletAddress, chainId)
Triggers the Metamask window in order to make the user sign an EIP191 message. Expects the following arguments:
origin
: The URL of the origin pagewalletAddress
: The address of the connected walletchainId
: The ID of the connected blockchainReturns an object that contains the signatureHash
and the nonce
:
signatureHash
: a hash that represents the result of the signature, which will have to be validated against
the server in order to verify the operationnonce
: a unique hash used as an operation identifier, used for security purposesWhen using this npm package in a web application, the steps that are supposed to be followed in order to achieve a successful Web3 login are:
connectWallet()
method.walletAddress
and chainId
valuessignMessage()
methodhash
against the serveraccessToken
as desiredFAQs
A ready-to-use Metamask integration module.
The npm package vottun-web3-auth receives a total of 12 weekly downloads. As such, vottun-web3-auth popularity was classified as not popular.
We found that vottun-web3-auth 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 researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.