api-relay-audit

分类: 测试与安全 | 上传者: toby-bridgestoby-bridges | 下载: 0 | 版本: v1.0(最新)

审核第三方 AI API 中继/代理服务是否存在安全风险。检测隐藏提示注入、提示泄漏、指令覆盖、身份劫持(中国市场替代)、越狱漏洞、上下文截断、工具调用包替换(AC-1.a)、错误响应头泄漏(AC-2相邻)、SSE级流完整性异常(AC-1流)。使用时:“测试中继”、“审核 API”、“审核中继”、“检测注入”、“中继安全”、“API 中继审核”、“此中继安全吗”、“是否注入提示”、“测试代理 API”、“检查 API 密钥”、“中转安全站”、“测试中转站”、“中转站审核”。

更新日志: Source: GitHub https://github.com/toby-bridges/api-relay-audit

目录结构

当前层级: tree/master/

  • 📁 api_relay_audit/
    • 📁 web3/
      • 📄 __init__.py 988 B
      • 📄 injection_probes.py 12.3 KB
    • 📄 __init__.py 94 B
    • 📄 client.py 29.8 KB
    • 📄 context.py 4.3 KB
    • 📄 error_leakage.py 20.6 KB
    • 📄 identity_patterns.py 9.5 KB
    • 📄 reporter.py 3.5 KB
    • 📄 stream_integrity.py 15.7 KB
    • 📄 tool_substitution.py 5.3 KB
  • 📁 deploy/
    • 📄 deploy-nas.sh 2.7 KB
  • 📁 docs/
    • 📄 codex-review.md 14.4 KB
    • 📄 python-code-explanation-zh.md 39.0 KB
  • 📁 scripts/
    • 📄 audit.py 40.8 KB
    • 📄 context-test.py 1.8 KB
    • 📄 extract-data.py 8.5 KB
  • 📁 tests/
    • 📄 __init__.py 0 B
    • 📄 test_client.py 15.6 KB
    • 📄 test_client_raw_request.py 4.0 KB
    • 📄 test_client_stream.py 24.3 KB
    • 📄 test_context.py 11.3 KB
    • 📄 test_dual_distribution_parity.py 1.7 KB
    • 📄 test_error_leakage.py 37.5 KB
    • 📄 test_identity_patterns.py 14.8 KB
    • 📄 test_reporter.py 6.1 KB
    • 📄 test_stream_integrity.py 12.4 KB
    • 📄 test_tool_substitution.py 14.4 KB
    • 📄 test_web3_injection.py 13.7 KB
  • 📁 web/
    • 📄 data-example.json 5.1 KB
    • 📄 index.html 16.6 KB
  • 📄 .gitignore 238 B
  • 📄 audit.py 96.3 KB
  • 📄 CLAUDE.md 7.2 KB
  • 📄 FOR_JOHN.md 36.6 KB
  • 📄 LICENSE 1.1 KB
  • 📄 README.md 10.5 KB
  • 📄 requirements.txt 14 B
  • 📄 SKILL.md 15.2 KB

SKILL.md

登录后下载/点赞/收藏 ❤ 152 | ★ 0
评论 0

请先登录后评论。

评论加载中...