跳到主要内容

如何防止代码注释、README 或工具输出对 Claude Code 进行 Prompt Injection?

Agent 工程化与运行环境中级工具调用

题目​

如何防止代码注释、README 或工具输出对 Claude Code 进行 Prompt Injection?

参考答案​