Scan your whole stack
Are you using recvd?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.1.0
recvd was last scanned on 24 Nov 2026 at version 0.1.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.1.0 LATEST | 24 Nov 2026 | No rules fired |
Findings for v0.1.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.1.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
The Recvd API for Python. Standard library only, Python 3.9 or later.
Recvd is a merchant of record: it is the seller on the receipt for your products, on its own checkout. This package reads your products, sales and subscriptions, reports usage, spends credits, checks webhooks, and meters your OpenAI and Anthropic calls. The full guide is at recvd.co/docs.
Recvd is in pilot and is operated by Levraq LLC. It is a software platform, not a bank, a lender or a collection agency. Payments are processed and held by a licensed payment partner.
pip install recvd
Make a key on the Developers page of the Recvd app. Keep it on your server.
import os
from recvd import Recvd
recvd = Recvd(os.environ["RECVD_API_KEY"])
# Find the sale your user just made, by the reference you put on the checkout link.
sales = recvd.sales.list(reference="user_8231")["data"]
# Every sale, page after page.
for sale in recvd.sales.all():
print(sale["id"], sale["status"])
# Report usage. Give your own idempotency_key so the same usage reported twice counts once.
recvd.usage_events.record(subscription_id=subscription_id, meter="output_tokens", quantity=1200, idempotency_key=request_id)
Every request in the API has a method: recvd.products, sales, subscriptions, usage_charges, usage_events, tasks, credits, discount_codes, partners, license_keys, portal, disputes, buyers, stats, events and checkout_links. Changing things needs a key made to write. Answers are plain dicts; recvd.types has their shapes for a type checker.
A write that takes an idempotency key always carries one. Leave it out and the SDK makes one, and uses the same one when it tries the request again. A read, and a write with a key, is tried again after a network failure, a 429 or a 5xx. Any other write is sent once.
from recvd import RecvdError
try:
recvd.credits.use(reference="user_8231", amount=5)
except RecvdError as error:
if error.status == 409:
... # str(error) is what Recvd said: "Not enough credits: 2 left, 5 asked for"
error.status is the HTTP status, and 0 when Recvd could not be reached (RecvdConnectionError).
from recvd import verify_webhook
# body is the raw request body, exactly as received.
event = verify_webhook(body, request.headers.get("Recvd-Signature"), os.environ["RECVD_WEBHOOK_SECRET"])
if event["type"] == "sale.paid" and not event["test"]:
unlock(event["data"]["sale"]["reference"])
It raises RecvdSignatureError for a wrong signature or an event more than five minutes old.
Wrap the call. The tokens the answer reports are sent to Recvd as usage events, keyed by the answer's own id, so the same answer counted twice counts once.
metered = recvd.meter(
subscription_id=subscription_id, # or reference= / buyer_email= for prepaid credits
meters={"input": "input_tokens", "output": "output_tokens"}, # your product's meters
per=1000, # tokens in one unit; a call is rounded up to whole units
on_error=lambda error, usage: log.warning("usage not counted: %s", error),
)
message = metered(lambda: anthropic.messages.create(model=model, max_tokens=1024, messages=messages))
# Streams too: counted once the stream has been read to its end.
stream = metered(lambda: openai.chat.completions.create(model=model, messages=messages, stream=True, stream_options={"include_usage": True}))
for chunk in stream:
...
# Async clients work the same way.
message = await metered(lambda: async_anthropic.messages.create(model=model, max_tokens=1024, messages=messages))
on_error is told and the answer comes back as it was.with client.messages.stream(...) helper. With OpenAI chat completions a stream reports usage only when you pass stream_options={"include_usage": True}; without it on_error is told that nothing was counted.input is the uncached part for both, and cache_read and cache_write are separate. Cached tokens go to the input meter unless you give them meters of their own.meters, one event is sent for all the tokens together: with prepaid credits and per=1, one credit is one token. To count another way, give units=lambda usage: ....metered.flush() before your process ends, or pass background=False to send it before the answer is handed back.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.