Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
A NodeJS helper library to create, cancel, and retrieve records of virtual debit cards.
Uses SVB-Client module and your API credentials.
let client = new SVBClient({
API_KEY: '',
HMAC_SECRET: ''
});
let SVBCard = new SVBCards(client);
// create and retrieve virtual card
// showCardNumber is true or false
SVBCard.create({ cardData }, showCardNumber, (err, response) => {
console.log(response);
});
SVBCard.get(cardID, showCardNumber, callback);
// patch update
SVBCard.update(cardID, { cardData }, showCardNumber, callback);
// send an email to someone with their card details
SVBCard.email(cardID, 'janet@example.com', callback);
// cancel
SVBCard.cancel(cardID, callback);
// getting a list of cards
SVBCard.all({}, 0, 0, (err, response) => {
// response.data is an array of cards
});
// using metadata filters (e.g. metadata.purchase_nunber)
SVBCard.find({ purchase_nunber: 101 }, 0, 0, (err, response) => {
// response.data is an array of cards
});
// using pagination
SVBCard.find({ ... }, startCursor, limit, (err, response) => {
// response.data is an array of cards
// response.links.first is the first page of results
// response.links.next moves cursor to the next page of results
// e.g. "/v1/virtualcards?page[cursor]=87285"
});
npm install svb-cards --save
FAQs
Generating Virtual Cards using the Silicon Valley Bank API
We found that svb-cards 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.