
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
enface-auth-node-enfaceid
Advanced tools
Enface Pay +ID biometric authorization library for Node.js environment
Enface offers secure, blockchain based authorization feature for any websites (or apps) using Enface Pay +ID application. Our authentication process is based on strong cryptographic algorithms and are military safe.
To enable our solution you should pass the following steps:
This package is for backend integration with Node.js environment. You should provide any existing Express instance to enable EnfaceAuth.
npm i --save enface-auth-node-enfaceid
yarn add enface-auth-node-enfaceid
ES2015 module import:
import { EnfaceAuth } from "enface-auth-node-enfaceid";
CommonJS module require:
const { EnfaceAuth } = require("enface-auth-node-enfaceid");
new EnfaceAuth({
httpServer: <object>,
callbackUrl: <string>,
projectId: <string>,
secretCode: <string>,
fields: <string>,
debug: <boolean>, // debug logs
});
httpServer (Express instance)
EnfaceAuth module will start in HTTP/S mode and will use default Express port to listen all the connections. In this mode both frontend widget and Enface API server should be able connect to http(s)://yourdomain.com to process required operations.
callbackUrl: <string>
http(s) URL to connect to this backend module.
projectId: <string>
�Project id� variable from the Enface website project description.
secretCode: <string>
�Secret key� variable from the Enface website project description.
fields: <string>
The data fields, you want to request from a user during authorization process (separated by commas). The available values are: 'full_name', 'email', 'phone_mobile'. For example, to request full information about the user, 'fields' variable should be set to 'full_name,email,phone_mobile'. You can ommit the 'fileds' variable, and will receive only user login in Enface ID platform.
new EnfaceAuth({
httpServer: app, // app is the existing Express instance
projectId: process.env.AUTH_PRODUCT_ID,
secretCode: process.env.BIO_AUTH_SECRET,
callbackUrl: 'https://enface-api-server.herokuapp.com',
});
FAQs
Enface Pay +ID biometric authorization library for Node.js environment
The npm package enface-auth-node-enfaceid receives a total of 1 weekly downloads. As such, enface-auth-node-enfaceid popularity was classified as not popular.
We found that enface-auth-node-enfaceid 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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.