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

@avallon-labs/sdk

Latest version: v71.0.0-staging.1514

Overview

Last scanned
25 Nov 2026
Published
25 Nov 2026
npm package Publisher: leanderp, momo-avallon, sukicai
238 Versions
16.1K Downloads

Scan summary

@avallon-labs/sdk was last scanned on 25 Nov 2026 at version 71.0.0-staging.1514. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 238 versions; the latest 5 were published on 25 Nov 2026.
  • Findings: No rules fired in version 71.0.0-staging.1514.
  • Downloads: 16,073 downloads.

Versions

238 versions published
Versions and the rules that fired in each
VersionPublishedStatus
71.0.0-staging.1514 LATEST 25 Nov 2026 No rules fired
70.4.0 25 Nov 2026 No rules fired
70.4.0-staging.1511 25 Nov 2026 No rules fired
70.3.0-staging.1510 25 Nov 2026 Not shown
70.2.0-staging.1509 25 Nov 2026 Not shown

No rules fired in 71.0.0-staging.1514

Findings

Findings for v71.0.0-staging.1514. 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 71.0.0-staging.1514; other versions have their own rules, not their own score.

README

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

@avallon-labs/sdk

TypeScript SDK for the Avallon API. Auto-generated from OpenAPI with custom auth utilities.

Installation

npm install @avallon-labs/sdk

For React/SWR hooks:

npm install @avallon-labs/sdk swr react

Usage

Configure
import { configure } from "@avallon-labs/sdk";

configure({
  baseUrl: "https://api.avallon.ai",
  apiKey: "your-api-key",
  // OR for user auth:
  getAccessToken: () => localStorage.getItem("access_token"),
});
Response Envelope

Endpoints return the API's { data, message } envelope verbatim — the payload is on data. Paginated endpoints add meta.total so you can page without a second request. (204 endpoints return nothing, and getPartnerJwks returns a standards-compliant JWKS, so neither is enveloped.)

const { data, meta } = await listArtifacts({ count: 25, offset: 50 });
console.log(`showing ${data.length} of ${meta.total}`);
API Calls (Plain Fetch)
import { listVoiceAgents, createVoiceAgent } from "@avallon-labs/sdk";

// List agents
const { data } = await listVoiceAgents();
console.log(data.agents);

// Create agent
const { data: created } = await createVoiceAgent({ agent_name: "My Agent" });
API Calls (React SWR Hooks)
import { useListVoiceAgents, useCreateVoiceAgent } from "@avallon-labs/sdk";

function AgentsList() {
  const { data, error, isLoading } = useListVoiceAgents();

  if (isLoading) return <Spinner />;
  if (error) return <Error message={error.message} />;

  return <ul>{data.data.agents.map(a => <li key={a.id}>{a.agent_name}</li>)}</ul>;
}

function CreateAgent() {
  const { trigger, isMutating } = useCreateVoiceAgent();

  return (
    <button onClick={() => trigger({ agent_name: "New Agent" })} disabled={isMutating}>
      Create
    </button>
  );
}
OAuth Flow
import { startOAuthFlow, getStoredVerifier, clearStoredVerifier, signIn } from "@avallon-labs/sdk";

// 1. Start OAuth (redirects user)
const { url } = await startOAuthFlow({
  provider: "google",
  redirectUri: "https://app.example.com/callback",
});
window.location.href = url;

// 2. After redirect, exchange code for tokens
const verifier = getStoredVerifier();
const response = await signIn({
  type: "oauth",
  code: new URLSearchParams(location.search).get("code"),
  verifier,
});
clearStoredVerifier();

// 3. Store tokens and configure SDK
const { access_token, refresh_token, expires_at } = response.data;
localStorage.setItem("access_token", access_token);
configure({ getAccessToken: () => localStorage.getItem("access_token") });
Error Handling
import { AvallonError } from "@avallon-labs/sdk";

try {
  await createVoiceAgent({ agent_name: "" });
} catch (e) {
  if (e instanceof AvallonError) {
    if (e.isValidationError()) {
      console.log("Validation errors:", e.errors);
    } else if (e.isUnauthorized()) {
      // Redirect to login
    }
  }
}

Development

# Regenerate SDK from OpenAPI (from repo root)
npm run sdk:gen

# Build
npm run build

Structure

src/           # Handwritten code
  index.ts     # Main exports
  fetcher.ts   # Fetch wrapper with auth
  auth.ts      # OAuth PKCE utilities

generated/     # Auto-generated (do not edit)
  endpoints/   # API functions + SWR hooks
  models/      # Request/response types

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 @avallon-labs/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

CVE

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

Microsoft's Official agent framework Hijacked
AI & VibeSec

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

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?

Frame 2085668439 (1)
Group 1261154229