api-relay-audit

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

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

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

目录结构

当前层级: tree/master/

  • 📁 .github/
    • 📁 voice-samples/
      • 📄 pr-reply-sample.md 1.6 KB
      • 📄 pr-review-sample.md 1.8 KB
    • 📁 workflows/
      • 📄 claude-issue-triage.yml 2.8 KB
      • 📄 claude-pr-review.yml 2.7 KB
      • 📄 pages.yml 633 B
  • 📁 api_relay_audit/
    • 📁 web3/
      • 📄 __init__.py 988 B
      • 📄 injection_probes.py 12.7 KB
    • 📄 __init__.py 94 B
    • 📄 client.py 36.7 KB
    • 📄 context.py 4.3 KB
    • 📄 error_leakage.py 20.6 KB
    • 📄 identity_patterns.py 14.3 KB
    • 📄 reporter.py 3.5 KB
    • 📄 stream_integrity.py 15.7 KB
    • 📄 tool_substitution.py 5.3 KB
    • 📄 transparent_log.py 2.9 KB
  • 📁 deploy/
    • 📄 deploy-nas.sh 2.7 KB
  • 📁 docs/
    • 📄 channel-fingerprint-design-memo.md 5.2 KB
    • 📄 codex-review.md 14.4 KB
    • 📄 comparison-api-relay-audit-vs-hvoy-vs-cctest.md 14.2 KB
    • 📄 python-code-explanation-zh.md 39.0 KB
  • 📁 scripts/
    • 📄 audit.py 54.5 KB
    • 📄 context-test.py 1.8 KB
    • 📄 extract-data.py 8.5 KB
    • 📄 verify_signature_schema.py 9.3 KB
  • 📁 tests/
    • 📄 __init__.py 0 B
    • 📄 test_clean_summary_flags.py 12.8 KB
    • 📄 test_client.py 19.3 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 4.6 KB
    • 📄 test_error_leakage.py 37.5 KB
    • 📄 test_fail_open_step_wrapper.py 13.2 KB
    • 📄 test_identity_patterns.py 24.4 KB
    • 📄 test_refusal_detector.py 18.5 KB
    • 📄 test_reporter.py 6.1 KB
    • 📄 test_stream_integrity.py 12.4 KB
    • 📄 test_tool_substitution.py 14.4 KB
    • 📄 test_transparent_log.py 12.7 KB
    • 📄 test_web3_injection.py 16.3 KB
  • 📁 web/
    • 📄 data-example.json 5.1 KB
    • 📄 index.html 73.1 KB
  • 📄 .gitignore 325 B
  • 📄 audit.py 109.2 KB
  • 📄 CLAUDE.md 9.5 KB
  • 📄 FOR_JOHN.md 40.6 KB
  • 📄 LICENSE 1.1 KB
  • 📄 README.md 26.8 KB
  • 📄 requirements.txt 14 B
  • 📄 ROADMAP.md 16.2 KB
  • 📄 SKILL.md 15.9 KB

SKILL.md

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

请先登录后评论。

评论加载中...