Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@dynamia-tools/saas-sdk

Latest version: v26.11.4

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
npm package Publisher: dynamia.tools
10 Stars
4 Forks
11 Versions
658 Downloads
Java Repo language

Scan summary

@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.

  • Releases: 11 versions; the latest 3 were published within 6 days (18–23 Nov 2026).
  • Findings: No rules fired in version 26.11.4.
  • Downloads: 658 downloads.

Versions

11 versions published
Versions and the rules that fired in each
VersionPublishedStatus
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

No rules fired in 26.11.4

Findings

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.

README

The publisher’s own README, as collected from the registry.

@dynamia-tools/saas-sdk

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/saas endpoints 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.


Table of Contents

  • Installation
  • Quick Start
  • Direct usage without DynamiaClient
  • API Reference
  • Types
  • Authentication & Error Handling
  • Contributing
  • License

Installation

Install 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.


Quick Start

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>


Direct usage without DynamiaClient

If 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.


API Reference

SaasApi

Construct with an HttpClient (typically client.http from DynamiaClient).

  • getAccount(uuid: string): Promise<AccountDTO>
    • GET /api/saas/account/{uuid} — Returns account information for the given UUID.

Example:

const account = await saas.getAccount('f9a3e8c2-...');
console.log(account);

Types

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 & Error Handling

Authentication is handled by the HttpClient provided by DynamiaClient. Supported strategies:

  • Bearer token: pass token to DynamiaClient.
  • HTTP Basic: pass username and password to DynamiaClient.
  • Cookie / Form login: use 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.


Contributing

See the repository-level CONTRIBUTING.md for contribution guidelines.

Quick local steps:

  1. Clone the repo and install dependencies: pnpm install
  2. Work inside extensions/saas/packages/saas-sdk/
  3. Build and test: pnpm --filter @dynamia-tools/saas-sdk build / pnpm --filter @dynamia-tools/saas-sdk test

License

Apache License 2.0 — © Dynamia Soluciones IT SAS

OX Radar and Response Center

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.

Where it’s listed

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).

  • npm @dynamia-tools/saas-sdk

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Frame 2085668439 (1)
Group 1261154229