Pre-execution security guardrails for your agent execution loops

已关闭
#5,408 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
15/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
活跃
技术栈
fastapi, python

调研方向

The issue proposes an opt-in pre-execution security hook for agent execution loops but names no files, tests, or integration points. Start by reading the repository’s agent execution and tool invocation entry points to assess where a hook could fit. Done would require an agreed scope and integration plan; the issue does not specify expected behavior or tests.

由索引模型根据 Issue 内容生成。

描述

enhancement

Hey team 👋

When autonomous AI agents execute shell commands or code loops, prompt injections and hallucinations can accidentally run destructive commands (e.g., rm -rf, environment secret exfiltration, or unauthorized process spawns).

We built a lightweight, pre-execution security engine in Python & FastAPI that intercepts command strings at the execution boundary and blocks threats in ~1.3ms to 3ms before they hit the terminal.

🛡️ Key Features:
  • Sub-3ms Overhead: Zero noticeable delay in agent execution loops.
  • 48/48 Integration Tests: Benchmark-verified on live terminal agent workflows.
  • Zero-Network Privacy Option: Runs 100% offline via local Python import or through a hosted API endpoint.

Would you be open to an opt-in pre-execution security hook for your repo, or trying a free test API key for your core maintainer team this week?

主要语言
Python
星标
30.4k
派生
4.9k
平均合并
16 小时 32 分钟
30 天内合并 PR
85

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

openai/openai-agents-python 的其他 Issue

查看 openai/openai-agents-python 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。