Scan your whole stack
Are you using getricky?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.1.38
getricky was last scanned on 23 Nov 2026 at version 0.1.38. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.1.38 LATEST | 23 Nov 2026 | No rules fired |
| 0.1.33 | 13 Nov 2026 | No rules fired |
| 0.1.32 | 12 Nov 2026 | No rules fired |
| 0.1.31 | 12 Nov 2026 | Not shown |
| 0.1.30 | 12 Nov 2026 | Not shown |
Findings for v0.1.38. 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.1.38; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
The official TypeScript and JavaScript client for the Ricky REST API: contacts, conversations, messages, templates and webhooks of one organization.
Node.js 18 or later, ES modules or CommonJS, with types included. No runtime dependencies: it uses the built-in fetch.
npm install getricky
Create a key in Ricky under Settings → API and keep it on your server. new Ricky() reads it from RICKY_API_KEY when you pass none.
import { Ricky } from 'getricky';
const ricky = new Ricky(); // or new Ricky('rky_live_…')
// The channels the organization can send from.
const { data: channels } = await ricky.listChannels();
const whatsapp = channels.find((channel) => channel.type === 'whatsapp');
// Send an approved WhatsApp template to a phone number. Ricky finds or creates
// the contact and its conversation, and answers with the send it queued.
let { data: send } = await ricky.startConversation({
body: {
channel_id: whatsapp!.id,
phone: '+50760001234',
template: {
id: '1234567890',
components: [{ type: 'body', parameters: [{ type: 'text', text: 'Ana' }] }],
},
},
headers: { 'Idempotency-Key': 'order-10482-ready' },
});
// Follow it until the provider accepts it.
while (send.status === 'queued') {
await new Promise((resolve) => setTimeout(resolve, 2000));
({ data: send } = await ricky.getSend({ path: { send_id: send.id } }));
}
console.log(send.status, send.failure_reason);
Every operation of the API is a method named after its operationId (listContacts, sendMessage, …). Each takes one object with the parts the operation uses, { path, query, body, headers }, and resolves to the response body as the API sends it: { data } for one resource and { data, next_cursor } for a list. Every request and response is typed, and every schema is exported as a type (Contact, Conversation, SendMessage, …).
paginate walks every page of a list operation and yields its items; .pages() yields whole pages:
for await (const contact of ricky.paginate(ricky.listContacts, { query: { tag_id } })) {
console.log(contact.id, contact.first_name);
}
for await (const page of ricky
.paginate(ricky.listMessages, { path: { conversation_id } })
.pages()) {
console.log(page.data.length);
}
A failed request rejects with RickyError, carrying the API's code, the HTTP status, the param that caused it when known, and the requestId to quote to support. A request that never got an answer rejects with RickyConnectionError.
import { RickyError } from 'getricky';
try {
await ricky.sendMessage({
path: { conversation_id },
body: { type: 'text', text: 'Hola' },
});
} catch (error) {
if (error instanceof RickyError && error.code === 'outside_messaging_window') {
// Send an approved template instead.
} else {
throw error;
}
}
Writes that accept an Idempotency-Key get a random one unless you pass headers: { 'Idempotency-Key': … }. Pass your own, derived from your data, to make a retry from your side safe too: the same key and body replay the first response instead of repeating the write.
Reads, and writes that carry a key, are retried twice on connection errors, 429 and 5xx, waiting as Retry-After says or backing off exponentially. Change it with new Ricky(key, { maxRetries }). A write the API may have applied before failing answers request_processing on retry: read the resource before trying again.
verifyWebhook checks the X-Ricky-Signature and X-Ricky-Timestamp headers against the raw body, rejects deliveries more than five minutes old, and returns the event. With Express:
import express from 'express';
import { verifyWebhook, WebhookVerificationError } from 'getricky';
const app = express();
app.post('/ricky/webhooks', express.raw({ type: 'application/json' }), (req, res) => {
let event;
try {
event = verifyWebhook(req.body, req.headers, process.env.RICKY_WEBHOOK_SECRET!);
} catch (error) {
if (error instanceof WebhookVerificationError) return res.sendStatus(401);
throw error;
}
if (event.type === 'message.received') {
// Queue the work; deduplicate by event.id.
}
res.sendStatus(204);
});
In a framework built on the Fetch API (Next.js route handlers, Hono), pass await request.text() and request.headers.
Answer within 10 seconds. Deliveries can repeat, so deduplicate by event.id. New event types ship without a new API version: handle the ones you know and ignore the rest.
new Ricky('rky_live_…', {
baseUrl: 'https://getricky.ai/api/v1',
maxRetries: 2,
fetch: globalThis.fetch, // any fetch implementation
});
Cancel a request by passing signal from an AbortController with its options.
MIT
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.