Skip to content

Proposal: Security audit pattern for AI agent tools (MCP servers) #2837

Description

Security audit for AI agent tools

As AI agents (using OpenAI function calling or MCP) increasingly call third-party tools that execute arbitrary code, the ecosystem needs a trust layer.

We built Sentinel — a 3-layer security audit pipeline that has certified 11,115+ MCP servers with signed SHA-256 certificates.

What Sentinel does

  • L1.5: 6 metadata checks (AUTH, prompt injection, CORS, OAuth, rate limiting)
  • L1.6: Static analysis (18 Semgrep rules + 18 secret patterns + OSV API)
  • L2: Docker sandbox with active MCP probing (adversarial inputs: path traversal, SSRF, SQL injection, command injection)

Results

Proposal for OpenAI Cookbook

Could we contribute a cookbook example showing how to:

  1. Verify a tool security certificate before calling it
  2. Implement the 3-layer audit pattern for custom tools
  3. Use signed certificates for agent tool trust

This would be relevant for any OpenAI agent that uses MCP or external tools.

Source: https://github.com/edgarfloresguerra2011-a11y/marketnow
Transparency: https://marketnow.site/sentinel-transparency

Would the OpenAI community be interested in a security pattern cookbook?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions