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.
The official JavaScript client for interacting with the Clarifai API.
To start, install the SDK via NPM: npm install clarifai
and initialize with your clientId and
clientSecret:
This will work in node.js and browsers via Browserify
var Clarifai = require('clarifai');
var app = new Clarifai.App(
'{clientId}',
'{clientSecret}'
);
You can also use the SDK by adding this script to your HTML:
<script type="text/javascript" src="https://sdk.clarifai.com/js/clarifai-2.0.9.js"></script>
<script>
var app = new Clarifai.App(
'{clientId}',
'{clientSecret}'
);
</script>
Dive right into code examples to get up and running as quickly as possible with our Quick Start.
Learn the basics — predicting the contents of an image, searching across a collection and creating your own models with our Guide.
Looking for a different client? We have many languages available with lots of documentation API Reference
FAQs
Official Clarifai Javascript SDK
The npm package clarifai receives a total of 395 weekly downloads. As such, clarifai popularity was classified as not popular.
We found that clarifai 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.
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.