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 modern-day version of the [omise-node](https://github.com/omise/omise-node) package, allowing you to easily use the [Omise APIs](https://www.omise.co/docs) with Node.js.
A modern-day version of the omise-node package, allowing you to easily use the Omise APIs with Node.js.
The example-app shows how to use this SDK with a Next.js application.
Install from npm
yarn add omise-ts
or
npm install omise-ts
Find your secret key on your Omise dashboard, and then you can do things like:
const Omise = new OmiseClient({
apiSecretKey: YOUR_OMISE_SECRET_KEY,
})
// Create a charge for an existing customer
const charge = await Omise.charges.create({
amount: 250 * 100, // 250 baht
customer: 'cust_test_5soxme7qwp1fs0zljfx',
currency: 'THB',
})
// Add a new card and set it as the default for a customer
const customerWithNewCard = await Omise.customers.updateDefaultCard(
'cust_test_5soxme7qwp1fs0zljfx',
'tokn_test_5soxo23uixfjgi0vazn'
)
// List all customers
await Omise.customers.list()
// Delete a schedule
await Omise.schedules.destroy('schd_test_5sqh1ofvhp6k9r0kxtp')
FAQs
A modern-day version of the [omise-node](https://github.com/omise/omise-node) package, allowing you to easily use the [Omise APIs](https://www.omise.co/docs) with Node.js.
The npm package omise-ts receives a total of 13 weekly downloads. As such, omise-ts popularity was classified as not popular.
We found that omise-ts 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’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.