
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
An simple wrapper for the PayWhirl API.
npm install --save paywhirljs
This package is revamping/refactoring of the nodejs PayWhirl API SDK. The original SDK was not in the npm registry and initializing it with your api key and secret was a bit weird so I put my own here and in the npm registry. More api documentation can be found here.
const paywhirl = require('paywhirljs')({
api_key: 'pwpk_12345678912345678912345678',
api_secret: 'pwpk_123456789123456789123456789'
});
// Get Customer by id: 226713
paywhirl.Customers.getCustomer(226713, (err, data) => {
console.log(err, data.body)
});
// Get Invoices for customer_id: 226713
paywhirl.Invoices.getInvoices(226713, (err, data) => {
console.log(err, data.body)
});
// Get Subscriptions for customer_id: 226713
paywhirl.Subscriptions.getSubscriptions(226713, (err, data) => {
console.log(err, data.body)
});
paywhirl.Promo.createPromo({
"user_id": 1,
"code": "50OFF",
"amount_off": 0,
"percent_off": 100,
"duration": "once",
"duration_uses": 0,
"max_redemptions": 1,
"times_redeemed": 3,
"is_valid": 1,
"one_use": 1,
"apply_to": "subtotal",
"plans": null
}, (err, data) => {
console.log(data.body)
paywhirl.Promo.getPromos((err, data) => {
console.log(err, data.body[0].id)
});
});
FAQs
PayWhirl API wrapper
The npm package paywhirljs receives a total of 13 weekly downloads. As such, paywhirljs popularity was classified as not popular.
We found that paywhirljs 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.