The maintainer has not written a description at the source.
Repo RootDeveloperDS/AgentShield, read from GitHub 1 min ago. RootDeveloperDS has not joined Take My Repo.
RootDeveloperDS/AgentShield is a public repo on GitHub by RootDeveloperDS. It declares the MIT license on GitHub. It is written mainly in TypeScript, has 0 stars and last changed on 2026-11-09. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read from GitHub on 2026-11-24.
In the maintainer's words. Shown from GitHub; Take My Repo does not keep a copy.
Verify the agent. Validate the intent. Secure the payment.
AgentShield is a deterministic security proxy and verification gateway for autonomous AI-to-AI payments. Before any payment is authorized or executed via payment processors (such as PayPal), AgentShield cryptographically verifies agent identity via Ed25519 public keys, validates signed canonical intents, enforces deterministic policy limits, prevents replay attacks, and writes an immutable audit trail.
[ AI Buyer Agent ] [ Autonomous Seller Agent ]
โ โฒ
โ 1. Signs Intent with Ed25519 โ
โผ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโ
โ AGENTSHIELD PROXY GATEWAY โ
โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ Agent Registry โ โ Replay & Expiry Guard โ โ
โ โ (Ed25519 Key Status) โ โ (Nonces, Timestamps, Skew) โ โ
โ โโโโโโโโโโโโฌโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโ โ
โ โ โ โ
โ โผ โผ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ Deterministic Policy Engine โ โ
โ โ โข Integer minor units (cents) โข Permitted recipient checks โ โ
โ โ โข Per-transaction limits โข Rolling daily spending caps โ โ
โ โ โข Blocked risk flags โข Human buyer approval gating โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โผ โผ โ
โ [ Audit & State Machine ] [ Part 2: PayPal Adapter ]
โ (PostgreSQL / Prisma DB) โข Orders API v2 โ
โ โข Buyer Approval SDK โ
โ โข Server-side Capture โ
โ โข Webhook Verification โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโ
โ
โผ
[ PayPal Sandbox API ]
DENY.2500).agentshield/
โโโ backend/ # Express 5 + TypeScript + Prisma ORM
โ โโโ prisma/
โ โ โโโ migrations/ # SQL migration history
โ โ โโโ schema.prisma # Database schema (Agent, PaymentIntent, AuditEvent, WebhookEvent)
โ โโโ src/
โ โ โโโ config.ts # Environment configuration & PayPal readiness checks
โ โ โโโ db.ts # Shared Prisma client instance
โ โ โโโ paypal.ts # PayPal OAuth token, Orders API v2, and capture service
โ โ โโโ policy.ts # โญ Deterministic policy engine
โ โ โโโ server.ts # REST API endpoints & route handlers
โ โ โโโ crypto/intent.ts # Ed25519 key generation, canonicalization, and signing
โ โโโ tests/ # Automated Vitest test suite
โ
โโโ frontend/ # Next.js 15 (App Router) + React 19 + TypeScript
โ โโโ src/app/
โ โโโ layout.tsx # Root layout and theme
โ โโโ page.tsx # Security dashboard & transaction viewer
โ โโโ globals.css # Dashboard styling
โ
โโโ docs/ # Industry-grade developer documentation
โ โโโ README.md # Documentation Hub & Navigation
โ โโโ getting-started.md # 60-second mental model & quickstart tutorial
โ โโโ architecture.md # System architecture & transaction state machine
โ โโโ security-model.md # Ed25519 identity, challenge-response, threat matrix
โ โโโ api.md # Complete REST API specification
โ โโโ paypal-sandbox-setup.md # PayPal Developer Sandbox setup guide
โ
โโโ docker-compose.yml # Local PostgreSQL service definition
โโโ package.json # Root monorepo workspace configuration
โโโ requirements.txt # Dependency checklist & runtime boundaries
โโโ DESIGN.md # Foundational system architecture & threat model
You can launch the entire stack (PostgreSQL + Backend API + Frontend Dashboard + Browser) with a single command or double-click:
start-all.batnpm start
.\start-all.bat / powershell scripts\start-all.ps1)This script automatically:
.env, backend/.env, frontend/.env.local).http://localhost:3000 in your default web browser.powershell -File scripts/start-docker.ps1
(Or manually: docker compose up -d postgres followed by npm run prisma:migrate)
npm run dev:backend
npm run dev:frontend
http://localhost:4000/healthhttp://localhost:3000npm test
npm run demo:ai
AgentShield features an autonomous AI buyer agent powered by Groq (openai/gpt-oss-20b) that converts high-level objectives into cryptographically signed payment intents:
http://localhost:3000/agent-live to watch the live 5-stage execution pipeline (Groq Reasoning โ Ed25519 Handshake โ RFC 8032 Canonical Signing โ Zero-Trust Policy Firewall โ PayPal Sandbox Settlement).npm run demo:ai to execute both the $25.00 Legitimate Procurement and the $600.00 Adversarial Prompt Injection Attack directly in your terminal.| Method | Endpoint | Description |
|---|---|---|
GET |
/health |
API operational status and PayPal configuration status |
GET |
/api/agents |
List registered agents and public keys |
POST |
/api/agents |
Register an agent and public key ({ id, name, publicKey }) |
POST |
/api/intents/verify |
Verify Ed25519 signature, check replay, and evaluate policy |
GET |
/api/approvals |
List transactions requiring human buyer approval |
POST |
/api/approvals/:intentId |
Approve or reject a flagged transaction ({ approved: boolean }) |
GET |
/api/transactions |
Query persisted transaction records and statuses |
POST |
/api/paypal/orders |
Create PayPal Orders v2 order for verified intent |
POST |
/api/paypal/orders/:id/capture |
Capture approved PayPal order on the server |
GET |
/api/audit |
Fetch immutable audit trail events |
GET |
/api/agent/status |
Groq model and PayPal configuration readiness status |
POST |
/api/agent/run-autonomous-demo |
Execute end-to-end autonomous buyer agent simulation |
When signing an intent, agents canonicalize the payload with deterministic key ordering:
{
"agentId": "agent_buyer_01",
"intent": {
"intentId": "intent-2026-001",
"agentId": "agent_buyer_01",
"recipient": "agent_cloud_compute_02",
"service": "gpu_cluster_provision_1hr",
"amountMinor": 2500,
"currency": "USD",
"createdAt": "2026-10-25T12:00:00.000Z",
"expiresAt": "2026-10-25T12:05:00.000Z",
"nonce": "nonce_7f8a9c2b4e6d"
},
"signatureBase64": "MEUCIQD...="
}| Threat | Security Control | Implementation |
|---|---|---|
| Agent Impersonation | Ed25519 Key Cryptography | Public key registered in DB; intent signature validated against active key. |
| Tampered Intent | Canonical Field Serialization | Amount, recipient, service, timestamps, and nonce are cryptographically bound. |
| Replay Attacks | Nonce Uniqueness & Expiry | Unique constraint on nonce + expiresAt validation fails duplicate replays. |
| Runaway Agent Spend | Deterministic Policy Engine | Strict per-transaction limits and rolling daily spending caps. |
| Prompt Injection / Rogue Goals | Blocked Risk Flags | Reject intents containing risk flags (e.g. PROMPT_INJECTION_SUSPECTED). |
| Unauthorized High-Value Spend | Human Approval Threshold | Transactions exceeding threshold require human review before payment. |
| Payment Misdirection | Recipient Allowlisting | Rejects unapproved recipient accounts before order creation. |
| Double Capture / Race Conditions | Transaction State Machine | Enforces linear transitions (READY_FOR_PAYMENT -> ORDER_CREATED -> COMPLETED). |
RootDeveloperDS/AgentShield is a public repo on GitHub by RootDeveloperDS. Its maker has not written a description.
It declares the MIT license on GitHub.
Its maker tagged it for macOS, Windows and Linux, or as Docker or cross-platform. That is declared by the maker; Take My Repo has not tested it.
Open "Take it" on its page: Take My Repo writes an install plan for your machine and hands it to your AI agent (Claude Code, Codex or Cursor), which asks you before each step. Take My Repo has not tested it on any machine.
Its last change on GitHub was on 2026-11-09. GitHub counts 0 open issues and pull requests. Take My Repo does not judge from that whether it is maintained.
Nobody has reviewed it on Take My Repo yet, which says nothing about its quality.
Take My Repo cannot say: it does not audit code and has not run AgentShield. What is known comes from GitHub. It declares the MIT license on GitHub. Its last change was on 2026-11-09. It has 0 stars, which measure popularity, not safety. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read the source before you run it. With "Take it", your AI agent shows each step and asks you before running it; README text is treated as data, not as instructions.
This page is also available as structured data, with the same sources and dates.
/api/v1/resources/gh/RootDeveloperDS/AgentShieldTake My Repo has not tested this on your machine. Requirements come from the project's own documentation.