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.
@artaio/node-api
Advanced tools
The Arta Node library provides a seamless integration to Arta API for applications running on Node.js using both Typescript or Javascript.
arta-node-api is in a pre-release beta. The package's API is unstable and expected to change prior to public release. Please only make use of the package in coordination with ARTA during this period.
The Arta Node library provides a seamless integration to Arta API for applications running on Node.js 18+ or any platform using Serverless JS using both Typescript or Javascript.
It is a very light package with zero runtime dependencies using only the fetch Web API.
Please refer to Arta official documentation.
$ npm install @artaio/node-api
const { Arta } = require('@artaio/node-api');
const arta = new Arta('<YOUR_API_TOKEN>');
const { items } = arta.webhooks.list();
const myHook = items[0];
myHook.ping().then(console.log);
import { Arta, Webhook } from '@artaio/node-api';
const arta: Arta = new Arta('<YOUR_API_TOKEN>');
const { items } = arta.webhooks.list();
const myHook: Webhook = items[0];
myHook.ping().then(console.log);
WARNING: Arta Node SDK was meant to be used on server side javascript, and altough it only uses WebAPIs (fetch) it shouldn't be used on browsers as it requires a Private API Key.
This is a very tiny (about 12kb minified), 0 dependencies JS SDK for interacting with Arta backend that should be able to run in any javascript backend environment that supports fetch webapi.
Please be aware of our zero-dependency policy and ensure that there are no packages under "dependencies" in the package.json
. Dev dependencies are fine, as these will not be contained in the final published package.
To develop a new function on the SDK, run npm install
to install all the dependencies (only dev dependencies) and then run npm run build
and the compiled JS code will be stored in the dist/
folder which is the folder with the content published to NPM.
FAQs
The Arta Node library provides a seamless integration to Arta API for backend applications using both Typescript or Javascript.
The npm package @artaio/node-api receives a total of 11 weekly downloads. As such, @artaio/node-api popularity was classified as not popular.
We found that @artaio/node-api demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.