OpenTrustBench

mcp
Guvenlik Denetimi
Basarisiz
Health Uyari
  • License — License: Apache-2.0
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 6 GitHub stars
Code Basarisiz
  • exec() — Shell command execution in examples/vulnerable-mcp-server/server.ts
  • fs.rmSync — Destructive file system operation in examples/vulnerable-mcp-server/server.ts
  • Hardcoded secret — Potential hardcoded credential in examples/vulnerable-mcp-server/server.ts
Permissions Gecti
  • Permissions — No dangerous permissions requested

Bu listing icin henuz AI raporu yok.

SUMMARY

Trust & security scanner for AI agents and MCP servers — OWASP-mapped findings, Trust Cards (A–F grades), SARIF + CI gate. Free CLI, zero telemetry.

README.md

OpenTrustBench Grade A — opentrustbench CLI self-scan
Self-scan of packages/cli at HEAD: A (90/100), 0 findings, minimal scope. Reproduce: node packages/cli/dist/index.js scan packages/cli --quiet
Trust & Security for AI Agents & MCP Servers

OpenTrustBench

npm version License OWASP Agentic AI 8 OWASP-mapped rules

Scan your AI agent or MCP server for vulnerabilities.
Get a verifiable Trust Card with a public grade badge.


What is OpenTrustBench?

OpenTrustBench is a trust and security verification platform for autonomous AI agents and MCP (Model Context Protocol) servers. It scans your codebase for vulnerabilities, maps findings to OWASP Agentic AI Top 10 and OWASP LLM Top 10 2025, generates a verifiable Trust Card with a letter grade, and provides a shareable badge for your README.

Zero data retention. Everything runs locally on your machine. No telemetry. No account required.

Quick Start

# Scan a local folder, MCP server, or Agent Skill
npx @opentrustbench/cli scan ./my-mcp-server

# Scan a GitHub repository
npx @opentrustbench/cli scan https://github.com/owner/repo

# Scan an npm package
npx @opentrustbench/cli scan some-npm-package --npm

# Fail CI when findings meet a severity threshold
npx @opentrustbench/cli scan ./my-mcp-server --fail-on high

# Run the OWASP Agentic Top 10 Adversarial Attack Suite
npx @opentrustbench/cli attack ./my-mcp-server

# Evaluate workflow reliability
npx @opentrustbench/cli eval ./tests/workflow.yaml

Install

Channel Command Status
npm npm install -g @opentrustbench/cli v0.1.3 live (package)
npx npx @opentrustbench/cli scan . No install needed
PyPI pip install opentrustbench v0.1.3 live (package) — requires Node 18+ and the npm CLI engine
Homebrew brew tap eulogik/opentrustbench && brew install opentrustbench v0.1.3 live (tap)
Docker docker run --rm -v $(pwd):/workspace eulogik/opentrustbench scan . v0.1.3 + latest live (Hub)
VS Code code --install-extension eulogik.opentrustbench v0.1.3 live (Marketplace)
GitHub Action - uses: eulogik/[email protected] (repo) v0.1.3 live (Marketplace)
Source git clone https://github.com/eulogik/OpenTrustBench.git && cd OpenTrustBench && npm install Always current

What You Get

Output Description
Trust Card Machine-readable credential (opentrustbench/trust-card/v1) with grade, score, findings, and permissions
SARIF Report Industry-standard format for GitHub Security tab integration
Markdown Report Human-readable audit report for compliance and review
Grade Badge Shareable SVG badge linking to a public report page (example, registry)

Grade Badge

Embed your trust score in your README:

[![OpenTrustBench](https://www.opentrustbench.com/r/self-packages-cli.svg)](https://www.opentrustbench.com/r/self-packages-cli.html)

This tells buyers, auditors, and AI hosts that your agent has been verified.

How It Works

  1. Scan — Point opentrustbench at a local directory, GitHub repo, or npm package
  2. Grade — Receive a Trust Card with a letter grade (A–F) and security score (0–100)
  3. Share — Embed your badge and link to the detailed report

Features

  • 8 detection rules across shell injection, secret leaks, prompt injection, tool exploitation, and more
  • OWASP mapping — Every finding tagged to OWASP Agentic Top 10 (ASI01–ASI10) and LLM Top 10 2025 (LLM01–LLM10)
  • Permission manifest — Automatic extraction and scoping of agent permissions
  • Dependency auditnpm audit integration for lockfile-based vulnerability detection
  • SARIF output — Native GitHub Code Scanning integration
  • CI integration--fail-on severity gate for pipeline enforcement
  • GitHub Action — Drop-in composite action for workflows
  • GitHub URL detection — Scan any public repo by URL
  • Compliance helpers — Permission manifests and audit trails to attach to an EU AI Act review (evidence input, not a certification)

What the scanner is (and isn't)

  • 8-rule static suite, OWASP-mapped (Agentic ASI01–ASI10, LLM LLM01–LLM10). Regex-based today — no AST yet.
  • attack is static-heuristic: it re-analyzes scan findings + permissions. No payloads execute.
  • eval is simulation mode: suites are parsed and validated; nothing runs, costs/durations stay 0.
  • Not a certification. The Trust Card is a CI-grade credential, not a pentest or legal verdict.

Expert reviews

Need a human pass over your results? Request a review — manual result triage plus a remediation plan, scoped per target. The CLI stays the product and is free forever.

Tier Price What You Get
CLI Free Unlimited local scans, Trust Card, badge, OWASP findings, SARIF, CI gate
Expert review Scoped per target Everything in CLI + manual triage, remediation plan, debrief call
Enterprise Custom Everything above + custom rules, evidence helpers, priority support

Monorepo Structure

packages/
  core/     — Detection engines, OWASP rules, trust scoring, attack analysis
  cli/      — Terminal CLI with SARIF export and badge generation
  action/   — GitHub Action for CI/CD pipelines
web/        — Landing page and interactive demo
badges/     — Shareable grade badge SVGs
examples/   — Vulnerable and secure test fixtures
scripts/    — Verification and demo scripts

Build & Test

npm install          # installs + builds via prepare
npm test             # build + 28 unit tests
node scripts/verify-demos.mjs  # end-to-end smoke checks

Standards

  • OWASP Agentic AI Top 10 (ASI01–ASI10) — Published December 2025
  • OWASP LLM Top 10 2025 (LLM01–LLM10)
  • EU AI Act Article 50 transparency obligations (enforceable August 2, 2026)
  • SARIF 2.1.0 for GitHub Code Scanning integration

License

Apache 2.0 © 2026 Eulogik


Website · GitHub · npm · PyPI · Homebrew · Eulogik · Contact

Yorumlar (0)

Sonuc bulunamadi