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

@dimmi/api

Latest version: v0.3.1

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
npm package Publisher: frantz.hivy
0 Stars
0 Forks
5 Versions
555 Downloads
Go Repo language

Scan summary

@dimmi/api was last scanned on 28 Nov 2026 at version 0.3.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 5 versions, all published within 4 days (25–28 Nov 2026).
  • Findings: No rules fired in version 0.3.1.
  • Downloads: 555 downloads.

Versions

5 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.3.1 LATEST 28 Nov 2026 No rules fired
0.3.0 27 Nov 2026 No rules fired
0.2.0 26 Nov 2026 No rules fired
0.1.0 25 Nov 2026 Not shown
0.0.0-stage 25 Nov 2026 Not shown

No rules fired in 0.3.1

Findings

Findings for v0.3.1. 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 0.3.1; other versions have their own rules, not their own score.

README

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

@dimmi/api

A typed client for the dimmi REST API. It is openapi-fetch over types that openapi-typescript generates from the API's OpenAPI document. Runs anywhere fetch does: Node 20+, Bun, Deno, workers and browsers.

npm install @dimmi/api

Usage

import { createDimmiApi, paginate, unwrap } from "@dimmi/api";

const api = createDimmiApi({
  host: "https://dimmi.example.com", // or baseUrl: "https://.../api/v1"
  token: process.env.DIMMI_TOKEN!, // a personal or app access token
  workspace: "ws_...", // optional: a token works in its own workspace; sent as Dimmi-Workspace
  autoIdempotency: true, // Idempotency-Key on every POST
});

const { data, error } = await api.GET("/contacts/{contact}", { params: { path: { contact: "ct_..." } } });

const created = await unwrap(api.POST("/contacts", { body: { email: "ada@example.com" } }));

for await (const contact of paginate(api, "/contacts", { params: { query: { limit: "100" } } })) {
  console.log(contact.email);
}

What it adds to openapi-fetch

  • Authorization: Bearer <token> on every call, and Dimmi-Workspace when workspace is set. A token works in its own workspace; naming another is refused.
  • 429 answers are retried after Retry-After (seconds or a date); maxRetries (3) and maxRetryDelay (30 s) tune it.
  • autoIdempotency adds an Idempotency-Key to POSTs; retries reuse it. Only some endpoints read the key. Pass your own per call with headers: { "Idempotency-Key": key }.
  • paginate(api, path, init) walks every item; pages() every page. Lists page by cursor (meta.next_cursor), by after, or by offset (meta.total), whichever the endpoint uses.
  • unwrap(call) answers data or throws a DimmiApiError with status, code, errors.
  • Types: paths, operations, components, and Schemas (Schemas["Contact"]).

Regenerating after API changes

The generated files are src/schema.ts (types) and src/paging.ts (how each list pages). Neither is committed (.gitignore): make sdk-generate writes them from the committed contract, and pnpm sdk:build, pnpm sdk:test and pnpm typecheck write them first when they are missing. make sdk-check generates, builds and tests every SDK.

pnpm sdk:generate                                        # from tests/contracts/api_v1.openapi.json
node sdk/api/scripts/generate.ts http://localhost:8080/api/v1/openapi.json   # from a running server
pnpm sdk:build api

The generator runs openapi-typescript through pnpm dlx with TypeScript 5, because the repo's TypeScript 7 has no compiler API.

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 @dimmi/api

References

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

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

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

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Frame 2085668439 (1)
Group 1261154229