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

@96astro/api

Latest version: v0.3.6

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: 96astro-solutions
10 Versions
1.5K Downloads

Scan summary

@96astro/api was last scanned on 29 Nov 2026 at version 0.3.6. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 10 versions; the latest 3 were published within 5 days (25–29 Nov 2026).
  • Findings: No rules fired in version 0.3.6.
  • Downloads: 1,503 downloads.

Versions

10 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.3.6 LATEST 29 Nov 2026 No rules fired
0.3.5 26 Nov 2026 No rules fired
0.3.4 25 Nov 2026 No rules fired
0.3.3 21 Nov 2026 Not shown
0.3.2 21 Nov 2026 Not shown

No rules fired in 0.3.6

Findings

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

README

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

@96astro/api

The official TypeScript / JavaScript client for the 96Astro API: Vedic and Western astrology, panchang, matching, reports and AI readings over one JSON API.

  • Typed methods for every capability, generated from the OpenAPI document
  • Retries with backoff on 429 / 503 (honouring Retry-After), automatic idempotency keys so a retry is never charged twice
  • Typed ApiError with code, field, retryable and requestId; rate-limit headers on every response
  • PDF job helpers (createPdfJob, waitForJob, downloadFile, renderPdf) and webhook signature verification
  • Zero runtime dependencies (uses fetch), ESM and CommonJS, Node.js 18+

Not on npm yet. Publishing is in progress; until then npm install @96astro/api will not find the package. Contact support for a pre-release build, or build it from this repository (see Development).

Install

npm install @96astro/api

Quickstart

import { Astro96Client } from "@96astro/api";

const astro = new Astro96Client({ apiKey: process.env.ASTRO_API_KEY }); // sk_test_... or sk_live_...

const { data, meta, rateLimit } = await astro.vedicCharts.planetPositions({
  datetime: "1990-10-18T14:30:00",
  timezone: "Asia/Kolkata",
  latitude: 28.6139,
  longitude: 77.209,
});
console.log(data.ascendant.sign, meta.credits_used, rateLimit?.remaining);

POST /v1/{family}/{capability} is client.family.capability() in camelCase: astro.panchang.dailyPanchang(...), astro.doshasYogas.manglikDosha(...). Each call resolves to { data, meta, status, requestId, rateLimit, replayed, idempotencyKey, headers }.

Request types come from the request schemas. Response types come from each endpoint's published schema: a hand-written contract for the main endpoints (x-schema-source: authored), and for almost all others a schema measured from several real answers (sampled: a required field was in every answer). A few have only the schema inferred from one example (example), a guide to the shape. An answer to an input none of the samples covered can still differ, so check optional fields.

Keys belong on a server. The client refuses to start in a browser unless you pass dangerouslyAllowBrowser: true.

Errors
import { ApiError, ConnectionError } from "@96astro/api";

try {
  await astro.vedicCharts.planetPositions(input);
} catch (err) {
  if (err instanceof ApiError) console.error(err.status, err.code, err.field, err.retryable, err.requestId);
  else if (err instanceof ConnectionError) console.error("network", err.timedOut);
  else throw err;
}
Retries and idempotency

429 rate_limited and 503 are retried after Retry-After (up to maxRetryDelayMs, default 30 s). Other retryable errors and network failures are retried only when the call has an idempotency key, which every POST gets automatically (autoIdempotency: true) and keeps across retries. quota_exhausted is never retried. Pass your own key to retry across processes:

import { idempotencyKey } from "@96astro/api";
await astro.reports.reportCareer(input, { idempotencyKey: storedKey ?? idempotencyKey() });

Client options: apiKey, baseUrl, auth ("bearer" or "x-api-key"), timeoutMs (60 000), maxRetries (2), maxRetryDelayMs, autoIdempotency, headers, fetch. Per call: idempotencyKey, timeoutMs, maxRetries, signal, headers.

PDF reports
const { job, pdf } = await astro.renderPdf({ capability: "report-career", input, branding: { brand_name: "Shree Jyotish Kendra" } });
// or step by step: createPdfJob -> waitForJob -> downloadFile
Webhooks
import { verifyWebhook } from "@96astro/api";
const event = await verifyWebhook({ rawBody, headers, secret: process.env.ASTRO_WEBHOOK_SECRET! });

Full guide: https://96astroapi.com/docs/sdks

Not wrapped yet: AI streaming (stream: true / Accept: text/event-stream), the /v1/conversations routes and .ics calendar export. These clients always ask for JSON; call those routes over plain HTTP (see https://96astroapi.com/docs/ai-streaming-and-chat). Everything else, including the image options (image_format, image_theme, image_delivery), works through the typed inputs.

Name your app (optional)

Optional: tell the API which app is calling, so you can see where your keys are used (the dashboard's Where your keys are used) and spot a leaked key.

const astro = new Astro96Client({ apiKey, appInfo: { name: "Acme Shop", version: "2.1.0", url: "https://shop.acme.com" } });

The name is required (printable ASCII, at most 60 characters, no / or parentheses); the version (at most 40) and the url (http(s), at most 120) are optional. It is sent as the X-Astro-App header, never with your key; the API keeps the name, the version and only the host of the url. The User-Agent also carries the platform (plt/node, plt/linux...). An invalid value is refused when the client is created.

Development

The typed methods in src/generated/ are written by tools/sdk/generate.mjs from packages/registry/openapi/v1.openapi.json; never edit them by hand.

node ../../tools/sdk/generate.mjs   # regenerate after the OpenAPI document changes
pnpm test                           # unit tests (mocked fetch) + drift test (generated == checked in)
pnpm typecheck
pnpm build                          # dist/esm + dist/cjs
Publishing
  1. Set the package name in package.json if it should differ from @96astro/api, bump version (and SDK_VERSION in src/core.ts), and add a license field and LICENSE file.
  2. npm login with an account that owns the @96astro scope.
  3. npm publish (runs prepublishOnly: drift check, build, tests). publishConfig.access is public.

Audio reports

Any report can come back as a spoken MP3 in 26 languages, as a background job. Poll it as you would a PDF job. See Audio reports.

const job = await client.createAudioJob({
  capability: "report-career",
  input: { datetime: "1990-10-18T14:30:00", timezone: "Asia/Kolkata", latitude: 28.6139, longitude: 77.209 },
  language: "hi",
  minutes: 5,
});

Palm and face readings are ordinary calls that take a photo as base64: see Palm and face readings.

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 @96astro/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

Vulnerability Insights

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

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

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Microsoft's Official agent framework Hijacked
AI & VibeSec

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

Frame 2085668439 (1)
Group 1261154229