Scan your whole stack
From OX Research Newsroom
Are you using @dynamia-tools/saas-sdk?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v26.11.4
@dynamia-tools/saas-sdk was last scanned on 23 Nov 2026 at version 26.11.4. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 26.11.4 LATEST | 23 Nov 2026 | No rules fired |
| 26.11.3 | 23 Nov 2026 | No rules fired |
| 26.11.2 | 18 Nov 2026 | No rules fired |
| 26.11.1 | 10 Nov 2026 | Not shown |
| 26.11.0 | 9 Nov 2026 | Not shown |
Findings for v26.11.4. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 26.11.4; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
TypeScript / JavaScript client SDK for the Dynamia SaaS extension REST API.
@dynamia-tools/saas-sdk provides a small, focused client to interact with the SaaS (multi-tenant) extension of a Dynamia Platform backend. It exposes SaasApi for common SaaS operations and the AccountDTO type.
The package is intentionally minimal: it delegates HTTP, authentication and error handling to the core @dynamia-tools/sdk HttpClient. The recommended usage is to construct SaasApi from an existing DynamiaClient (client.http).
Server-side use only. This SDK is for back-end code (a service, a script, a license check at startup), not for browser bundles. The
/api/saasendpoints are server-to-server operations (license validation, usage stats, per-account parameters) whose authorization depends on the system account or on the subdomain of the request, not on user roles; shipping a token that can call them inside a web application exposes it to every visitor.The package is also intentionally small. The account-migration endpoints (
/api/saas/migration/jobs/*: export, import, clone, backup, restore) and the stats/parameter endpoints are administrative and have no SDK on purpose. If you have a real use case, open an issue so it can be designed as a separate, opt-in package.
DynamiaClientInstall the package with your preferred package manager:
# pnpm (recommended)
pnpm add @dynamia-tools/saas-sdk
# npm
npm install @dynamia-tools/saas-sdk
# yarn
yarn add @dynamia-tools/saas-sdk
Note: @dynamia-tools/saas-sdk declares a peer dependency on @dynamia-tools/sdk. The recommended pattern is to install and use the core SDK as well so you can reuse its DynamiaClient and HttpClient.
The easiest and most robust way to use the SaaS API is via the core DynamiaClient. The DynamiaClient sets up fetch, authentication headers and error handling; pass its http instance to SaasApi:
import { DynamiaClient, DynamiaApiError } from '@dynamia-tools/sdk';
import { SaasApi } from '@dynamia-tools/saas-sdk';
// Create the core client with baseUrl and token/basic auth
const client = new DynamiaClient({ baseUrl: 'https://app.example.com', token: 'your-bearer-token' });
// Construct the SaaS API using the client's HttpClient
const saas = new SaasApi(client.http);
// Fetch account information by UUID
try {
const account = await saas.getAccount('f9a3e8c2-...');
console.log(account.name, account.status, account.subdomain ?? 'no subdomain');
} catch (err) {
if (err instanceof DynamiaApiError) {
console.error(`API error [${err.status}] ${err.message}`, err.body);
} else {
throw err;
}
}
This uses the real SaasApi method implemented in src/api.ts: getAccount(uuid: string): Promise<AccountDTO>
DynamiaClientIf you do not want to instantiate DynamiaClient, you may provide any compatible HttpClient implementation that implements get, post, put, delete, and follows the same error semantics. In Node.js this usually means wrapping node-fetch and implementing the small helper used by the other SDK packages — however, using DynamiaClient is simpler and recommended.
Construct with an HttpClient (typically client.http from DynamiaClient).
getAccount(uuid: string): Promise<AccountDTO>/api/saas/account/{uuid} — Returns account information for the given UUID.Example:
const account = await saas.getAccount('f9a3e8c2-...');
console.log(account);
Important types are exported from this package's src/types.ts.
AccountDTO (excerpt)
interface AccountDTO {
id: number;
uuid: string;
name: string;
status: string;
statusDescription?: string;
subdomain?: string;
email?: string;
statusDate?: string;
expirationDate?: string;
locale?: string;
timeZone?: string;
customerId?: string;
planId?: string;
planName?: string;
}
Import types together with the API:
import { SaasApi } from '@dynamia-tools/saas-sdk';
import type { AccountDTO } from '@dynamia-tools/saas-sdk';
Authentication is handled by the HttpClient provided by DynamiaClient. Supported strategies:
token to DynamiaClient.username and password to DynamiaClient.withCredentials: true and perform login via HTTP before calling the SDK.Errors: the core HttpClient maps non-2xx responses to DynamiaApiError which contains status, url and body. Catch DynamiaApiError to implement centralized logging or UI-friendly error messages.
See the repository-level CONTRIBUTING.md for contribution guidelines.
Quick local steps:
pnpm installextensions/saas/packages/saas-sdk/pnpm --filter @dynamia-tools/saas-sdk build / pnpm --filter @dynamia-tools/saas-sdk testApache License 2.0 — © Dynamia Soluciones IT SAS
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.