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.
verify-once
Advanced tools
VerifyOnce verification service integration library and example.
Provides helpers for simple VerifyOnce service integration and example how to use it.
This package is distributed via npm
npm install verify-once
yarn add verify-once
Credentials should be stored in projects config file. BaseUrl is optional param, for testing use dev or test prefix, defaults to https://app.verifyonce.com/api/verify
...
"verifyOnce": {
"password": "integratorPassword",
"username": "integratorUserName",
"baseUrl": "https://test-app.verifyonce.com/api/verify"
},
...
Initiating Verify Once transaction
import { VerifyOnce } from "verify-once";
...
// all optional, are used for autofill
const userData : InitiateRequest = {
country: CountryCode.BLR,
firstName: "John",
lastName: "Wick",
email: "john@wick.com",
}
// initiate verification
const verifyOnce = new VerifyOnce(config.verifyOnce);
// passing userData object is optional
const verifyOnceInitiateResponse : InitiateResponse = await verifyOnce.initiate(userData);
...
The example is located in the /example
directory.
Running the example
_.env
to .env
..env
as needed.yarn start
(npm start
etc works as well).yarn start
to start the example application.yarn build
to build the production version.yarn lint
to lint the codebase.yarn prettier
to run prettier.
FAQs
VerifyOnce integration library and example
We found that verify-once demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.