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

Grant · Human-in-the-loop approvals

Latest version: v1.0.1

Overview

Last scanned
27 Nov 2026
Published
27 Nov 2026
MCP server Transport: Streamable HTTP Publisher: TheoCComputationsmain
0 Stars
0 Forks
2 Versions
Python Repo language

Scan summary

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.

  • Releases: 2 versions, all published on 27 Nov 2026.
  • Findings: No rules fired in version 1.0.1.
  • MCP server: Runs over Streamable HTTP. It does not require authentication. It uses MCP protocol version 2025-06-18. Exposes 4 tools.

Versions

2 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.0.1 LATEST 27 Nov 2026 No rules fired
1.0.0 27 Nov 2026 No rules fired

No rules fired in 1.0.1

Findings

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.

README

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

Grant

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.


The idea

People do not install HTTPS. They encounter it exactly when trust matters.

Grant works the same way, but the primary integration is invisible:

  1. An MCP client or agent sends a tool call.
  2. Its URL points at Grant Gateway instead of the upstream tool server.
  3. Grant matches the call against policy and pauses it.
  4. The human gets one approval page: Approve once, Always allow, or Reject.
  5. Grant releases the original call and returns the normal upstream response.

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.


Quickstart

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.


What ships in this repository

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.


HTTP API

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.


Zero-wrapper integrations

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.


CLI

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

Zero-code gateway

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.


Magic Receipt

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.
  • Path A: Want to see every AI agent you've authorized—or revoke Always allow anytime? → Open Your Free Grant Dashboard →.
  • Path B: 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}.


Checkpoint, signup, and the installed account

Live check

What the probe observed on connect. Fields the probe did not learn are not shown — never guessed.

Reachable
YES
Transport
HTTP
Authentication
NONE — OPEN
MCP protocol
2025-06-18
Server
grant 0.1.0
Tools advertised
4

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.

Capabilities

4 tools advertised

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.

grant.request_approval

Create one scoped human checkpoint. Returns a private approval URL; Grant never receives credentials or payment details.

Params agent_name tool_name summary scope workspace callback_url callback_secret

grant.get_request

Read the public status and signed receipt of one Grant request.

Params request_id

request_human_approval

Create one scoped human checkpoint. Returns a private approval URL; Grant never receives credentials or payment details.

Params agent_name tool_name summary scope workspace callback_url callback_secret

check_approval_status

Read the public status and signed receipt of one Grant request.

Params request_id

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

  • MCP Registry io.github.TheoCComputationsmain/grant-consent

References

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

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229