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

@withone/sdk

Latest version: v0.9.2

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
npm package Publisher: moe-giga, one-bot
9 Versions
1.2K Downloads

Scan summary

@withone/sdk was last scanned on 28 Nov 2026 at version 0.9.2. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 9 versions; the latest 4 were published within 5 days (24–28 Nov 2026).
  • Findings: No rules fired in version 0.9.2.
  • Downloads: 1,195 downloads.

Versions

9 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.9.2 LATEST 28 Nov 2026 No rules fired
0.9.1 28 Nov 2026 No rules fired
0.9.0 28 Nov 2026 No rules fired
0.8.0 24 Nov 2026 Not shown
0.7.0 6 Nov 2026 Not shown

No rules fired in 0.9.2

Findings

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

README

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

What this package is

One connects your users' accounts on over a thousand platforms (Gmail, Slack, GitHub, Salesforce and the rest) and lets you call any of their actions through one API, with credentials, token refresh and routing handled for you.

@withone/sdk is the client: authentication, connections, retries and the operation every action runs through. Each platform's typed actions ship as their own package, @withone/platform-<name>, so you install only the platforms you call.

Install

npm install @withone/sdk @withone/platform-gmail

Node 18 or later. The client ships prebuilt for Linux (x64 with glibc or musl, arm64 with glibc), macOS (x64 and arm64) and Windows (x64), and your package manager installs only the one for your machine.

Quick start

  1. Create a secret key in the One dashboard and export it as ONE_SECRET.
  2. Connect an account in the dashboard and copy its connection key.
  3. Run an action on that connection:
import { One } from '@withone/sdk'
import * as gmail from '@withone/platform-gmail'

const one = One.fromEnv()

const response = await one
  .connection(process.env.ONE_CONNECTION_KEY!)
  .run(gmail.sendUsersDraftEmail({ userId: 'me', id: 'r-1234567890' }))

console.log(response.status, response.data)

What the client does

  • Typed actions. Each action takes one object with exactly the fields it needs, and required ones are required in the type. The client sends each field to the path, query, headers or body. When the same name appears in two places, the field takes that place as a prefix (pathId and bodyId) and the request still sends the original key.
  • Credentials. new One(secret) takes a secret key, One.withAccessToken(token) acts on a user's OAuth grant and reaches only what that user consented to, and One.fromEnv() reads ONE_SECRET or ONE_ACCESS_TOKEN, plus an optional ONE_BASE_URL.
  • Connections. one.connection(key) runs every call on that connected account.

A client built from an access token reaches the user's own connections. Choosing an organization or project for it is not available from Node yet.

Escape hatches

When an action's typed fields are not enough, chain overrides on it before running it:

await one.connection(key).run(
  gmail
    .createUsersDraft({ userId: 'me', message })
    .mergeBody({ fieldTheSchemaOmits: 1 })
    .mergeQuery({ debug: true })
    .mergeHeaders({ 'X-Trace': 'abc' })
    .removeQuery('page')
)

rawBody(bytes) sends a non-JSON payload instead of the typed body.

Platforms

Every platform One supports is listed on withone.ai/knowledge, with its actions and how each behaves. Its package is @withone/platform-<name> on npm.

The same client is on crates.io as withone.

License

MIT

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 @withone/sdk

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

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Frame 2085668439 (1)
Group 1261154229