
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.
@werify/id-ts
Advanced tools
**** First of all set your baseURL using config
Object ****
import { werify } from '@werify/id-ts';
// Create the package instance
const authService = werify()
// Now you have access to everything :)
authService.config.baseURL = 'your_baseURL_here'
If you want to use the default endpoints feel free to leave the endpoint
parameter in each function
Recommended Stack :
npm install @werify/id-ts
yarn add @werify/id-ts
import { werify } from '@werify/id-ts';
// Create the package instance
const authService = werify()
// Use Functions
authService.login('/endpoint', payload).then().catch()
Function | method | params | default endpoint |
---|---|---|---|
login | POST | identifier | /api/v1/v1/login |
loginOTP | POST | id, hash, otp | /api/v1/v1/otp |
getQRSession | GET | _ | /api/v1/v1/qr |
checkSession | GET | _ | /api/v1/v1/session-check/model/{hash}/{id} |
POST /api/v1/v1/login
requires identifier
& returns session.
POST /api/v1/v1/otp
requires id
,hash
,otp
& returns token for user with some info.
GET api/qr/
return qr code session.
GET api/session-check/modal/{hash}/{id}
returns token for user with some info.
Function | method | params | default endpoint |
---|---|---|---|
getUserProfile | GET | _ | /api/v1/v1/user/profile |
getUserNumbers | GET | _ | /api/v1/v1/user/profile/mobile-numbers |
getFinancialInfo | GET | _ | /api/v1/v1/user/financial-information |
updateUserProfile | PUT | form data | /api/v1/v1/user/profile |
addMobileNumber | POST | mobile_number | /api/v1/v1/user/mobile-numbers |
updateFinancialInfo | PUT | form data | /api/v1/v1/user/financial-information/ |
getNewModalSession | GET | _ | /api/v1/v1/user/modal |
claimModalSession | GET | _ | /api/v1/v1/modal/{hash}/{id} |
claimQRSession | GET | _ | /api/v1/v1/qr/{hash}/{id} |
checkUsername | POST | _ | /api/v1/v1/check-username |
GET api/user/profile/
.
GET api/user/profile/mobile-numbers
.
GET api/user/financial-information/
.
PUT api/user/profile/
send fields you want to change.
POST api/user/mobile-numbers/
send mobile_number
field.
PUT api/user/mobile-numbers/
send fields you want to change.
GET api/user/modal
returns new session for modal and user.
GET api/modal/{hash}/{id}
returns new session for modal and user.
GET api/qr/{hash}/{id}
returns new session for modal and user.
FAQs
Unknown package
The npm package @werify/id-ts receives a total of 0 weekly downloads. As such, @werify/id-ts popularity was classified as not popular.
We found that @werify/id-ts demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.
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.