Scan your whole stack
From OX Research Newsroom
Latest version: v1.0.1
Grant · Human-in-the-loop approvals was last scanned on 27 Nov 2026 at version 1.0.1. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 1.0.1 LATEST | 27 Nov 2026 | No rules fired |
| 1.0.0 | 27 Nov 2026 | No rules fired |
Findings for v1.0.1. 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 1.0.1; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Consent infrastructure for AI agents.
When an agent acts on someone’s behalf — sends a message, refunds an order, writes a record, publishes content, spends budget — Grant appears with one quiet question:
Allow this, or not?
The human gets one link. The agent gets a signed permission. Grant keeps the audit trail.
This is a new product with its own brand, repository, database, and deployment. It is not a feature of AgentGrid or TraceLock.
People do not install HTTPS. They encounter it exactly when trust matters.
Grant works the same way, but the primary integration is invisible:
No agent code change is required for gateway users. The Python SDK exists for agents that want explicit control.
Every approval link is an invitation to understand the product. No cold outreach required.
The hosted service lives at https://grant-approve.vercel.app. The approval popup uses plain language ("Who's asking", "Expires — In 29m (9:21 AM international time)") and keeps account creation and sign-in inside the popup itself. Public pages are indexed through public/robots.txt and public/sitemap.xml; private approval, workspace, and ops paths are not.
cd Grant
pip install -e .
python -c "import grant; print(grant.__version__)"
grantctl doctor --url https://grant-approve.vercel.app
Grant is not published to PyPI; install it from this repository.
from grant import Grant, GrantDenied
grant = Grant("https://grant-approve.vercel.app", workspace="support")
ask = grant.request(
agent="support-agent",
action="refund_order",
summary="Refund order ord_42 for $48.00",
scope={"order_id": "ord_42", "amount": 48},
ttl_minutes=30,
)
print(ask.message) # put this where your agent normally talks to the human
try:
permission = grant.wait(ask.id, timeout=300)
print(permission.policy, permission.signature)
except GrantDenied:
print("The human said no. Do not run the action.")
The approval URL is a capability link. No account is required to approve.
| Path | What it is |
|---|---|
main.py |
FastAPI service: approval pages, gateway proxy, HTTP API, stats, health checks |
grant/ |
Python SDK with no third-party imports, plus local proxy daemon |
grant/cli.py |
grantctl gateway, proxy, request, status, and verify commands |
grant/db.py |
Neon Postgres primary adapter with a dev-only SQLite fallback; production refuses ephemeral storage |
grant/telemetry.py |
Privacy-preserving login/pop-up telemetry and live reach metrics |
grant/login_library.py |
Read-only login/reach library: users, logins, pop-ups, computers, sanitized history |
grant/assets/grant-inject.js |
Injectable browser interceptor for fetch/XHR and risky clicks |
grant/policies/oauth_scopes.json |
Zero-custody OAuth scope → gateway rule templates |
migrations/001_neon_schema.sql |
Durable Neon schema, applied automatically when DATABASE_URL is set |
grant/emailer.py |
Resend / SMTP / dev-console magic-link delivery with no third-party SDK |
scripts/verify_cashfree.py |
Checkout, simulated webhook, and tier-activation verification CLI |
tests/ |
Launch tests covering consent, gateway, popup, magic receipt, A2A, browser inject, identity, API keys, gates, billing, telemetry, login library, and policy flows |
docs/GATEWAY.md |
MCP gateway, local proxy, and OAuth policy templates |
docs/ |
Quickstart, framework examples, deployment, brand system |
vercel.json |
Vercel function configuration |
Grant covers four interception choke points: (1) the MCP/API tool gateway, (2) the outbound HTTP/local proxy with a 460×640 approval pop-up and validated postMessage handshake, (3) the injectable browser script that pauses fetch/XHR and risky DOM clicks, and (4) the agent-to-agent message bus gate. OAuth scope templates map provider scopes to per-action rules without token custody, and the approval card itself is the discovery surface: the persistent “● Protected by Grant · Zero-custody consent infrastructure” watermark sits on every card, and the post-approval Magic Receipt offers a passwordless dashboard link alongside the builder CTA.
| Method | Path | Purpose |
|---|---|---|
POST |
/v1/requests |
Create an approval request |
GET |
/v1/requests/{id} |
Read status and signed permission |
GET |
/v1/permissions/{agent} |
List active permissions |
POST |
/v1/permissions/verify |
Verify a signed permission |
POST |
/v1/gateways |
Register a zero-code MCP/HTTP gateway |
GET |
/g/http/{token}/{path} |
Approval-gated HTTP reverse proxy |
POST |
/g/mcp/{token} |
Approval-gated MCP JSON-RPC proxy |
GET |
/stats |
Public, readable activity totals (cached 60 seconds) |
GET |
/stats.json |
Aggregate usage + live reach metrics only |
GET |
/login-history |
Token-gated login/pop-up history space |
GET |
/login-history.json |
Token-gated login/reach library report |
POST |
/v1/a2a/gate |
Hold an agent-to-agent handoff until a human signs it |
GET |
/openapi.json, /api/openapi.json |
OpenAPI 3.1 contract (public CORS) |
POST / GET |
/api/mcp |
MCP JSON-RPC (initialize, tools/list, tools/call); browser GET setup card |
POST |
/v1/gate/webhook |
Webhook approval gate with rules-first decisions and signed callbacks |
GET |
/receipt/{req_id} |
Public signed receipt page |
POST |
/v1/auth/otp, /v1/auth/otp/verify |
Email OTP sign-in alongside magic links |
POST |
/api/webhooks/cashfree |
Alias of /v1/billing/webhook (same Cashfree signature) |
GET |
/manifest.webmanifest, /sw.js, /icons/icon-{192,512}.svg |
PWA assets |
GET |
/approve/{req_id}, /signup, /account |
Checkpoint, sign-up, and standalone account app |
GET |
/v1/policies/oauth-scopes |
Zero-custody OAuth scope templates |
GET |
/grant-popup.js |
Single-source pop-up postMessage handshake |
GET |
/grant-inject.js |
Injectable browser interceptor (fetch, XHR, risky clicks) |
GET |
/health/live |
Process check |
GET |
/health/ready |
Database and signing check |
Example request:
curl -X POST https://grant-approve.vercel.app/v1/requests \
-H "Content-Type: application/json" \
-d '{
"agent": "support-agent",
"action": "refund_order",
"summary": "Refund order ord_42 for $48.00",
"scope": {"order_id": "ord_42", "amount": 48},
"workspace": "support",
"ttl_minutes": 30
}'
The response includes approval_url and a ready-to-send message.
No SDK is required for these surfaces, and they send permissive CORS headers:
GET /openapi.json and GET /api/openapi.json publish the OpenAPI 3.1 contract.POST /api/mcp accepts JSON-RPC initialize, tools/list, and tools/call; GET /api/mcp shows a browser setup card with the same URLs.POST /v1/gate/webhook evaluates matching auto-approve rules first, then falls back to a human checkpoint. Decisions are delivered as signed HMAC callbacks with at most 2 retries (GRANT_CALLBACK_MAX_RETRIES).GET /receipt/{req_id} is a public signed receipt page; no sign-in required.Without an Authorization header these integration endpoints run in demo mode: 20 requests/hour per hashed IP (GRANT_DEMO_LIMIT_PER_HOUR). A valid Authorization: Bearer gr_live_… key is exempt from the demo limiter. Raw IPs and callback secrets are never exposed in public docs or logs.
grantctl request \
--agent support-agent \
--action refund_order \
--summary "Refund ord_42" \
--scope '{"order_id":"ord_42"}' \
--url https://grant-approve.vercel.app
grantctl status req_abc123 --url https://grant-approve.vercel.app
grantctl permissions support-agent --url https://grant-approve.vercel.app
grantctl doctor --url https://grant-approve.vercel.app
grantctl gateway \
--name "Payments API" \
--upstream https://api.example.com \
--workspace support \
--paths "/transfer,/payment,/refund" \
--body-keys "amount,recipient" \
--url https://grant-approve.vercel.app
Point the agent at the returned http_url or mcp_url. Sensitive calls pause for approval; routine calls pass through.
For local or computer-use agents:
grantctl proxy \
--upstream https://api.example.com \
--port 8787 \
--open \
--url https://grant-approve.vercel.app
Then point the local agent at http://127.0.0.1:8787/.
For browser/web agents, load the injectable script on the page the agent operates in:
<script src="https://grant-approve.vercel.app/grant-inject.js"
data-grant-url="https://grant-approve.vercel.app"
data-agent="web-agent"
data-workspace="public"
data-sensitive-paths="stripe.com,googleapis.com"
data-risky-clicks="send,pay,delete,transfer,publish"></script>
It pauses matching fetch/XHR calls and high-risk clicks, opens the 460×640 hosted card, and resolves on a validated postMessage or a signed status poll. It never reads host-page credentials. For multi-agent systems, grant.a2a_gate(sender=..., receiver=..., task=..., payload=...) or POST /v1/a2a/gate holds the handoff until a human decides. The public request and A2A endpoints allow cross-origin calls with Access-Control-Allow-Origin: *; no credentials are accepted. See docs/GATEWAY.md.
Every approval card carries the persistent watermark ● Protected by Grant · Zero-custody consent infrastructure, and every UI screen shows “Grant never sees your credentials or payment details. It only records what you allowed.” Once a human chooses Continue (approve once), Always allow, or an auto-approve rule, the card becomes a receipt:
Approved. Receipt req_... recorded. — a signed receipt, never a blank close screen.Want to see every AI agent you've authorized—or revoke Always allow anytime? → Open Your Free Grant Dashboard →.Building AI agents? Protect your own users' actions in 2 minutes. → Get Your Free API Key → (starts at /start?from=receipt, then the workspace dashboard mints a real gr_live_… key after a one-time email sign-in).A signed, HttpOnly grant_dashboard cookie silently creates or reuses a workspace on approval, so the dashboard link is one click with no password form and no email capture. Billing email stays optional and is only used to match Cashfree payments. The receipt remains visible until the person chooses a path. The standalone public receipt lives at /receipt/{req_id}.
What the probe observed on connect. Fields the probe did not learn are not shown — never guessed.
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.
This server advertises the tools below. A tool list is an inventory of what the server can do — it is not a finding, and it is not part of the score.
Create one scoped human checkpoint. Returns a private approval URL; Grant never receives credentials or payment details.
Read the public status and signed receipt of one Grant request.
Create one scoped human checkpoint. Returns a private approval URL; Grant never receives credentials or payment details.
Read the public status and signed receipt of one Grant request.
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.