
Research
Namastex.ai npm Packages Hit with TeamPCP-Style CanisterWorm Malware
Malicious Namastex.ai npm packages appear to replicate TeamPCP-style Canister Worm tradecraft, including exfiltration and self-propagation.
@gokarla-io/client
Advanced tools
This TypeScript client library provides a comprehensive and easy-to-use interface to Karla's APIs and other services. Designed to help developers integrate and interact with Karla efficiently, this client supports all major service features including merchant, campaign, voucher, order and shipment management, data retrieval, and real-time updates.
See our API Overview for more details.
Install the package:
npm install @gokarla-io/client
# or
yarn add @gokarla-io/client
# or
pnpm add @gokarla-io/client
Here's a quick example to get you started with the Karla TypeScript client.
This example demonstrates how to authenticate and fetch merchant data:
import { Karla } from "@gokarla-io/client";
import type { KarlaREST } from "@gokarla-io/client";
const { rest: apiClient } = Karla({
auth: {
username: process.env.KARLA_API_USERNAME,
apiKey: process.env.KARLA_API_TOKEN,
},
});
The REST interface is exposed under the rest attribute. More interfaces will be available in the future.
const { data } = await apiClient.GET("/v1/shops", {
params: { query: { page: 1, per_page: 100 } },
});
This client library offers various configuration options to tailor the API client to your needs:
Example of setting configuration options:
const karla = Karla({
baseUrl: process.env.KARLA_API_URL,
headers: {
"Custom-Header": "value",
},
});
FAQs
Karla API Client
We found that @gokarla-io/client 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
Malicious Namastex.ai npm packages appear to replicate TeamPCP-style Canister Worm tradecraft, including exfiltration and self-propagation.

Product
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.