Ask HN:您如何在生產環境中強制執行 AI 代理工具調用的權限?

Hacker News·

此 Hacker News 討論旨在探討開發者如何在生產環境中實施和強制執行 AI 代理工具調用的安全權限,並解決繞過、身份管理和故障模式等挑戰。

Image

My question: in a real production environment, what’s your enforcement point that the agent cannot bypass?
Like, what actually guarantees the tool call isn’t executed unless it passes policy?

Some specific things I’m curious about:

Are you enforcing permissions inside each tool wrapper, at a gateway/proxy, or via centralized policy service?

How do you handle identity + authorization when agents act on behalf of users?

Do you log decisions separately from execution logs (so you can answer “why was this allowed?” later)?

How do you roll out enforcement safely (audit-only/shadow mode -> enforcement)?

What failure modes hurt most like policy bugs, agent hallucinations, prompt injection, or tool misuse?

Would love to hear how people are doing this in practice (platform/security/infra teams especially)

Image

Hacker News

相關文章

  1. Ask HN:您如何在生產環境中授權 AI 代理的行動?

    3 個月前

  2. Ask HN:如何在生產環境中防止 AI 代理失控?

    3 個月前

  3. Show HN:使用AI代理進行生產環境測試

    3 個月前

  4. Ask HN:您在使用 AI 代理進行編碼時的設置和流程是什麼?

    4 個月前

  5. 如何確保AI程式碼代理的安全?

    4 個月前