Scan your whole stack
From OX Research Newsroom
Are you using @nouter/platform?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.3.0
@nouter/platform was last scanned on 29 Nov 2026 at version 0.3.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.3.0 LATEST | 29 Nov 2026 | No rules fired |
| 0.2.0 | 29 Nov 2026 | No rules fired |
| 0.1.0 | 26 Nov 2026 | No rules fired |
| 0.0.0-stage | 26 Nov 2026 | Not shown |
Findings for v0.3.0. 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.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
@nouter/platform composes the official Anthropic TypeScript SDK with the
typed extensions of the Nouter platform. It does not reimplement Managed
Agents resources, pagination, streaming, errors, or request behavior.
Repository: https://github.com/Nouter-ai/platform
pnpm add @nouter/platform
import { NouterPlatform } from "@nouter/platform";
const client = new NouterPlatform({
apiKey: process.env.NOUTER_PLATFORM_API_KEY,
baseURL: process.env.NOUTER_PLATFORM_BASE_URL,
});
// The exact @anthropic-ai/sdk Managed Agents resource tree.
const agents = await client.beta.agents.list({ limit: 20 });
// Nouter platform extensions stay in their own namespace.
const modelCards = await client.platform.modelCards.list();
client.anthropic // the real @anthropic-ai/sdk client
client.beta // the same object as client.anthropic.beta
client.platform // typed /v1/oma/* extensions
client.beta is an identity alias, not a wrapper. Official SDK types, cursor
pages, SSE streams, retries, request options, and error classes therefore pass
through unchanged.
client.platform keeps the official retries on GET, but sends every POST
with maxRetries: 0: no /v1/oma route honors Idempotency-Key, so a retried
create, rotate or erasure could apply twice. Pass maxRetries in the request
options to opt in explicitly.
client.beta keeps the official retries for every method, POST included. The
pinned @anthropic-ai/sdk (1.13.0) marks idempotencyKey as no-effect and has
no idempotencyHeader, so the SDK does not send Idempotency-Key: a retried
sessions.create, deployments.run, agents.create or environments.create
can create a duplicate. The server's idempotency middleware on sessions and the
deployment run only helps when the header is sent.
All official @anthropic-ai/sdk client options are accepted. The SDK has no
default API host: it uses baseURL or, failing that, the
NOUTER_PLATFORM_BASE_URL environment variable, and throws a clear error when
neither is set.
new NouterPlatform({
apiKey: "np_...",
baseURL: "https://api.example.test",
activeTenantId: "tn_...",
});
baseUrl and bearer remain deprecated migration aliases for baseURL and
authToken. Browser callers must explicitly use the official
dangerouslyAllowBrowser option and should only do so with an appropriate
cookie/token security model.
Agent extensions stay on the official resource under the optional _oma
namespace and are strongly typed on create, update, Agent responses, and
version-pinned Session snapshots. Unknown root fields are rejected; the
platform-specific fields belong under _oma, while model-provider options
belong under model.provider_options (or _oma.aux_model.provider_options).
client.platform also exposes the platform extensions that live on /v1:
// Profiles of the people who talk to the agent (beta user-profiles-2026-08-18).
const profile = await client.platform.userProfiles.upsert({
external_id: "user-42",
relationship: "external",
});
await client.platform.userProfiles.list({ include_archived: true });
const usage = await client.platform.usage.list({ days: "7", group_by: ["day", "model"] });
const csv = await client.platform.usage.export({ days: "30" });
await client.platform.usageLimits.get({ agent_id: "agent_..." });
await client.platform.usageLimits.consumption({ page: "..." });
const limits = await client.platform.rateLimits.list();
await client.platform.settings.set({ org_day_limit_micros: "30000000" });
// The person-level delete of stage 2b (beta privacy-erasure-2026-11-19).
const erasure = await client.platform.privacyErasure.create({ request_id: "crm-42" });
await client.platform.privacyErasure.retrieveByRequestId("crm-42");
// API keys with scopes, expiry and an optional agent binding (D-5), plus the presets the
// console offers. The SDK copies the presets; a test keeps them equal to the server's.
import { KEY_PRESETS } from "@nouter/platform";
const key = await client.platform.apiKeys.create({
name: "acme backend",
scopes: KEY_PRESETS.backend,
expires_at: "2027-05-30T14:05:27.000Z",
});
await client.platform.apiKeys.rotate(key.id, { grace_period_seconds: 0 });
await client.platform.apiKeys.disable(key.id);
await client.platform.auditEvents.list({ action: "api_key.rotated" });
const me = await client.platform.me.get(); // role and effective scopes
userProfiles.*, including delete, send anthropic-beta: user-profiles-2026-08-18;
privacyErasure.* sends anthropic-beta: privacy-erasure-2026-11-19.
The API has two error envelopes. The SDK turns both into one PlatformApiError with
status, type, message, errorCode, retryable and requestId:
ApiError, on /v1 and on the v1 family of /v1/oma:
{ "type": "error", "error": { "type", "message", "retryable", "details" }, "request_id" }.
errorCode comes from error.details.error_code.text family of /v1/oma:
{ "error": "text", "error_code"?, "request_id" }. The error text becomes message
and the optional error_code becomes errorCode.The family is detected from the body shape, so a new route does not need a client update.
A status of 0 means the request got no HTTP response at all (connection refused, DNS
failure or timeout); those errors are retryable: true.
The Managed Agents resources keep the @anthropic-ai/sdk error classes, and so do
platform.models, platform.harnesses, platform.evals and the raw platform.request;
userProfiles, usage, usageLimits, rateLimits, settings, modelCards,
privacyErasure, apiKeys, auditEvents and me translate.
import { PlatformApiError } from "@nouter/platform";
try {
await client.platform.userProfiles.list();
} catch (error) {
if (error instanceof PlatformApiError && error.errorCode === "rate_limited") {
// error.retryable, error.requestId
}
}
client.platform.modelCards manages the tenant-scoped provider routing,
encrypted credential, and Pi model metadata. List and retrieve responses never
return the credential, only its preview.
await client.platform.modelCards.create({
model_id: "private-model",
provider: "my-provider",
model: "org/model-1",
base_url: "https://llm.example.test/v1",
api_key: process.env.PRIVATE_LLM_KEY!,
});
Extensions without a typed resource can use the guarded escape hatch. It
accepts only /v1/oma/* paths and still runs through the official transport:
const stats = await client.platform.request<{ agents: number }>({
method: "get",
path: "/v1/oma/stats",
});
Apache-2.0. See LICENSE and NOTICE.
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.