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

recvd

Latest version: v0.1.0

Overview

Last scanned
24 Nov 2026
Published
24 Nov 2026
PyPI package Publisher: uplinkswitch
1 Versions

Scan summary

recvd was last scanned on 24 Nov 2026 at version 0.1.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: First and only release on 24 Nov 2026.
  • Findings: No rules fired in version 0.1.0.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.0 LATEST 24 Nov 2026 No rules fired

No rules fired in 0.1.0

Findings

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.

README

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

recvd

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

Use

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.

Errors

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).

Webhooks

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.

Metering OpenAI and Anthropic calls

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))
  • Only the counts and the answer's id are sent. No prompt, no answer and no model name leave your server.
  • Nothing here can fail your model call. If Recvd refuses the usage or cannot be reached, on_error is told and the answer comes back as it was.
  • It reads OpenAI chat completions and responses, and Anthropic messages, streamed or not, and the 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.
  • OpenAI counts cached tokens inside its input figure and Anthropic counts them beside it. Here 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.
  • Without 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: ....
  • The report is sent on a thread, so the answer does not wait for it. Call metered.flush() before your process ends, or pass background=False to send it before the answer is handed back.

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).

  • pypi-releases recvd

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

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

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229