Scan your whole stack
Are you using pawabase?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.13.0
pawabase was last scanned on 24 Nov 2026 at version 0.13.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.13.0 LATEST | 24 Nov 2026 | No rules fired |
| 0.12.0 | 20 Nov 2026 | No rules fired |
| 0.11.0 | 20 Nov 2026 | No rules fired |
| 0.10.3 | 15 Nov 2026 | Not shown |
| 0.10.2 | 15 Nov 2026 | Not shown |
Findings for v0.13.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.13.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
The Python client SDK for Pawabase: records, auth, storage, flows, realtime, user administration
and environment management, for apps, scripts and servers. Blocking and asyncio clients with the same methods.
pip install pawabase # httpx only
pip install "pawabase[realtime]" # + websockets, for live channels
from pawabase import Pawabase
pb = Pawabase(
"https://api.example.com", # your gateway
"pb_pk_…", # a key of the project
project="01JC4…", # the project's id (Studio → Overview → Connect)
environment="production", # optional: its name in the project; left out, the project's default
) # AsyncPawabase for asyncio: the same methods, awaited
A publishable key (pb_pk_…) is what an app holds: policies decide what it can do, and a signed-in user's token goes on top. A secret key
(pb_sk_…) belongs on servers only: it bypasses policies and unlocks pb.admin and pb.manage.
A key can reach several environments of its project. pb.with_environment("staging") is a client for another one with the same
project and key, and its own session (a person signs in to one environment). Close it when you are done.
posts = pb.from_("posts")
page = posts.eq("status", "live").gte("views", 10).order("-created_at").select("id", "title").expand("author").per_page(20).execute()
page.data, page.total, page.has_next
for post in posts.eq("status", "live").iterate(): # every row, page after page
...
posts.where(status="live", views={"gte": 10}).all() # a list
posts.eq("slug", "hello").single() # NotFoundError if none
posts.eq("status", "draft").count()
row = posts.create(title="Hello")
posts.get(row["id"], expand=["author"])
posts.update(row["id"], title="Hello, world") # PATCH
posts.delete(row["id"])
posts.create_many(rows) # failures are collected, not raised
Operators: eq neq gt gte lt lte like ilike in_ not_in is_ is_not. The server applies one filter per field; a second filter on a field raises QueryError
before anything is sent, instead of silently dropping one. eq(col, None) and eq(col, True) become is, because eq.false matches true rows on the server.
pb.auth.sign_up(email="ada@example.com", password="…", name="Ada")
result = pb.auth.sign_in_with_password(email="ada@example.com", password="…")
if result.status == "mfa_required":
result = result.verify(input("Code: "))
pb.auth.get_user(); pb.auth.update_user(name="Ada L.")
pb.auth.sign_out() # scope="global" signs out everywhere
The session is kept in memory (pass session_store=FileSessionStore("~/.myapp/session.json") to stay signed in between runs), its token goes on every
request, and an expiring or rejected token is renewed with the refresh token. Also: magic links, social sign-in (oauth_url, exchange_code), email
verification, password reset, linked identities, pb.auth.mfa (authenticator app, emailed codes, recovery codes), pb.auth.sessions, pb.auth.devices,
pb.auth.api_keys (keys a user makes for themselves), pb.auth.machine and pb.as_machine(...) (a service or AI agent signing in with its client id and key), and pb.auth.orgs (organizations, members, invitations, teams, roles and permissions, email domains, security, activity, joinable / join).
Bachs payments. With the Bachs integration installed (Studio → Integrations), pb.bachs.payments.create(amount="5000.00", currency="NGN", success_url=...) starts a payment and answers checkout_url and reference; get, list and wait_for read what Pawabase recorded after it asked Bachs. Every create carries an Idempotency-Key, so a retry never starts a second payment.
Connecting a product to Pawabase. For a product other people connect to their own organization, pawabase.cloud has OAuth (your registered app) and Cloud (one connection). OAuth.authorize(scopes=[...]) gives the address, state and PKCE verifier; OAuth.callback(url, state=..., code_verifier=...) checks the return and trades the code; OAuth.token_source(tokens, on_refresh=save) keeps tokens fresh, one refresh at a time. Cloud(token=...) then has projects (create, wait_until_running, pause, keys, install_app), organizations, marketplace and studio(ref) for everything Studio can do inside a project. AsyncOAuth and AsyncCloud are the same awaited.
Bot protection. On a server, pb.captcha.verify(pass_, action="contact") checks the pass a form received. In an app with a publishable key, pb.captcha.protect("signin")["pass"] earns one; protected auth calls take it as captcha_token=.
More ways in: guest sessions (sign_in_anonymously(), then upgrade_anonymous(email=…, password=…) keeps what the guest made), emailed codes
(send_email_code(email=…) then verify_email_code(email=…, code=…)), and passkeys (pb.auth.passkeys: register_options / register_verify and
authenticate_options / authenticate_verify carry the WebAuthn ceremony; the device does the signing). issue_token("billing") trades the session for
a short-lived token for another service, and jwks() returns the public keys a server checks such tokens with.
A web server acts as the visiting user without sharing a connection's credentials:
with pb.as_user(request_token) as user_client: # same connection pool, this user's token
user_client.from_("orders").execute()
avatars = pb.storage.from_("avatars")
avatars.upload("ada.png", open("ada.png", "rb"), content_type="image/png")
data = avatars.download("ada.png")
avatars.list(prefix="2026/"); list(avatars.list_all())
avatars.public_url("ada.png") # public buckets: no key needed
avatars.transform_url("ada.png", width=200, height=200, fit="cover", format="webp")
avatars.create_signed_url("report.pdf", expires_in=600) # a temporary link anyone can read
avatars.create_signed_upload_url("in/x.png", max_bytes=1_000_000) # a browser uploads straight to storage
avatars.create_share_link("report.pdf", expires_in=3600) # for people with no account (secret key)
pb.flows.invoke("welcome", email="ada@example.com")
pb.routes.post("orders/42/pay", method="card")
async with AsyncPawabase(url, key, project=project) as pb:
room = pb.realtime.channel("chat:lobby", presence={"name": "Ada"})
room.on("message", lambda m: print(m["payload"]))
await room.subscribe()
await room.send("message", {"text": "hello"})
async for change in pb.realtime.channel("resource:posts"): # live record changes, as you may read them
print(change["event"], change["payload"]["record"])
pb.realtime.status is idle, connecting, open, reconnecting or closed, and pb.realtime.on_status_change(handler) tells you when it
changes. If the server takes a channel away (its rule changed, or an administrator removed you), room.on_closed(handler) is called with the
reason and the channel is not rejoined by itself.
Publishing, presence and history also work over plain HTTP on the blocking client: pb.realtime.publish(...), .presence(channel), .history(channel).
Without a socket: pb.realtime.sse(["chat:lobby"]) listens over Server-Sent Events (a generator on the sync client, an async generator on the async one), and
pb.realtime.publish(...) sends. Channel rules and dashboards are managed with pb.manage.realtime_channels and pb.manage.dashboards.
admin = Pawabase(url, "pb_sk_…", project=project, environment="production")
admin.admin.users.create(email="ada@example.com", password="…", roles=["editor"])
admin.admin.users.update(user_id, disabled=True)
admin.admin.orgs.add_member("acme", email="ada@example.com", role="admin")
# What a person did (sign-ins, account changes and requests), and data requests about them
admin.admin.users.activity(user_id) # per-day counts by kind, plus a summary
admin.admin.users.timeline(user_id, type="account", limit=20) # newest first; pass next_before as before=
admin.admin.users.export_data(user_id) # everything the auth service holds about them (JSON)
admin.admin.users.erase_data(user_id, confirm="ada@example.com") # final: deletes them and clears what could identify them
admin.admin.privacy.requests() # the exports and erasures handled so far
admin.manage.secrets.set("STRIPE_KEY", "sk_live_…")
admin.manage.agents.run("support", "How do I reset a password?")
admin.manage.jobs.replay(job="send_mail", since_minutes=60, dry_run=True)
admin.manage.observability.logs(q="timeout", minutes=15)
admin.manage.backups.snapshot("before-launch")
admin.manage.environment("staging").flows.list() # the same API for another environment the key may manage
pb.admin administers the people who sign in to your application: users, roles, orgs, invitations, sessions, api_keys, machines, devices, insight
(events, statistics, identity backup, hosted pages). pb.manage is the environment's management plane, in these families:
| Family | Services |
|---|---|
| Data | resources, schema, policies, schemas, routes, database |
| Agents | agents, agent_runs, knowledge_bases, connections |
| Automation | flows, schedules, subscriptions, events, webhooks, inbound_hooks, jobs |
| Files and mail | buckets, cache, mail, mail_templates |
| Access | keys, secrets, domains |
| Observe | observability, alarms, status_page, health (service health, plan usage, audit) |
| Lifecycle | environments (previews, promote, blueprints), versions (side-by-side API versions), backups (backups, snapshots, restore) |
Definitions (flows, policies, webhooks…) share list, get_one, create, replace and remove.
Both are scoped to the client's environment; a key manages only its own.
Every failure raises PawabaseError (.status_code, .code, .message, .details, .request_id) or a subclass: AuthenticationError (401), ForbiddenError
(403), QuotaExceededError (403, the plan's limit: details has limit, allowed, used), NotFoundError, ConflictError (409), ValidationError (400/422),
RateLimitedError, ServerError, NetworkError. Reads are retried on connection errors and 502/503/504; a 429 waits as the gateway asks.
BSD 3-Clause licensed.
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.