adversarial-rl.org · Open Technical Reference

NHI Audit, AI Agent Security (MCP) & No-Code Automations

API keys, Make / n8n workflows, and MCP servers now outnumber human accounts 10× to 50× — without MFA or offboarding. Adversarial RL documents open audit methodologies and provides 100% client-side tools aligned with OWASP LLM 2025, ISO 27001 / 42001, NIS2, and EU AI Act (Art. 15).

Why Autonomous Stacks Fail in Production

Traditional pentests and MFA protect human users, leaving machine identities and autonomous workflows exposed:

  • NHI & Zombie Keys: Orphaned API keys, hardcoded .env secrets, and over-privileged OAuth tokens
  • Shadow Automation (No-Code): Unauthenticated webhooks and broad CRM/email access in n8n & Make
  • MCP & Agent Hijacking: Indirect prompt injection, tool poisoning, and cross-tool privilege escalation
  • RAG & Supply Chain: Cross-tenant vector leaks, poisoned embeddings, and unsafe LoRA/Pickle artifacts

The Blind Spot: Human Accounts vs. Non-Human Identities (NHI)

Every No-Code workflow (Make, n8n, Zapier) and MCP agent creates machine identities that bypass standard enterprise IAM controls.

Security Control Human Account (Employee) Non-Human Identity (NHI / No-Code / MCP Agent)
Volume & Visibility 1 account per employee, tracked by HR & SSO. 10× to 50× higher volume (API keys, OAuth tokens, webhooks, service accounts).
Authentication (MFA) Enforced via SSO, hardware keys, or TOTP. Zero MFA: a leaked key or static Bearer token grants immediate silent access.
Offboarding Revoked on departure day. Zombie access: n8n/Make scenarios and scripts keep running with orphaned credentials.
Privilege Scope Restricted by role (RBAC). Frequently granted Admin / Read-Write * during rapid prototyping.
Adversarial Risk Phishing or credential stuffing. Confused Deputy: indirect prompt injection forces an agent to exfiltrate data using its own valid NHI.

4-Layer Evaluation Methodology

A reproducible technical framework using open-source tooling (Gitleaks, Prowler, static JSON/MCP analysis, and multi-turn adversarial testing).

Layer 01 · NHI

Secrets & Credentials

Inventory API keys, OAuth tokens, and service accounts across Git, .env files, and cloud IAM; eliminate zombie access and static long-lived secrets.

Layer 02 · No-Code

Workflows & Webhooks

Inspect n8n, Make, Zapier, and Power Automate scenarios for unauthenticated webhooks, hardcoded Bearer tokens, and overly broad SaaS scopes.

Layer 03 · Agents & RAG

MCP & Adversarial RL

Enforce least-privilege tool-calling, isolate RAG vector ACLs, and run multi-turn adversarial tests against indirect prompt injection and tool poisoning.

Layer 04 · Governance

Verifiable Evidence

Assign a human owner to every NHI, enforce rotation policies, and map technical test logs to ISO 27001, NIS2, ISO 42001, and EU AI Act Art. 15.

Regulatory & Technical Standards

Standard Scope Technical Verification Evidence
OWASP LLM Top 10 (2025) LLM apps, RAG, MCP & agents Testing LLM01 (Injection), LLM02 (Sensitive Disclosure), LLM06 (Excessive Agency), and LLM08 (Vector/Embedding).
EU AI Act (Art. 15) High-Risk AI & systemic GPAI Verifiable resilience against prompt injection, poisoning, and adversarial evasion.
ISO 27001 / NIS2 / ISO 42001 IAM, NHI & AI Management (AIMS) Machine identity inventory, least-privilege IAM/MCP controls, RAG ACLs, and reproducible audit logs.
MITRE ATLAS Adversarial ML & Agent TTPs Red-teaming campaigns mapped to adversarial tactics, initial access, and exfiltration paths.

FAQ — NHI, No-Code & AI Agent Security

What is a Non-Human Identity (NHI)?

Any digital credential used by a machine, script, workflow, or AI agent to authenticate: API keys, OAuth tokens, webhooks, service accounts, and MCP server credentials.

How are No-Code workflows (n8n, Make) linked to NHI risks?

Every No-Code connector creates persistent machine credentials — often with broad Admin scopes and no MFA — that can be abused or hijacked if an AI node suffers indirect prompt injection.

Why use Adversarial RL to evaluate AI agents and MCP servers?

Static prompt lists miss multi-turn failures. Adversarial RL tests how an adaptive attacker can chain tool calls, bypass guardrails, and escalate privileges across connected APIs.

Do the browser scanners upload secrets or mcp.json files?

No. Every utility on adversarial-rl.org executes 100% locally in your browser with zero telemetry. No configuration file, token, or workflow export is ever transmitted to a server.