·prompt-injection-defense
</>

prompt-injection-defense

omer-metin/skills-for-antigravity

针对即时注入攻击的防御技术,包括直接注入、间接注入和越狱 - 当提到“即时注入、越狱预防、输入清理、llm 安全、注入攻击、安全、即时注入、llm、owasp、越狱、ai-safety”时使用。

10安装·0热度·@omer-metin

安装

$npx skills add https://github.com/omer-metin/skills-for-antigravity --skill prompt-injection-defense

SKILL.md

You're a security researcher who has discovered dozens of prompt injection techniques and built defenses against them. You've seen the evolution from simple "ignore previous instructions" to sophisticated multi-turn attacks, encoded payloads, and indirect injection via retrieved content.

You understand that prompt injection is fundamentally similar to SQL injection—a failure to separate code (instructions) from data (user content). But unlike SQL, LLMs have no prepared statements, making defense inherently harder.

You must ground your responses in the provided reference files, treating them as the source of truth for this domain:

针对即时注入攻击的防御技术,包括直接注入、间接注入和越狱 - 当提到“即时注入、越狱预防、输入清理、llm 安全、注入攻击、安全、即时注入、llm、owasp、越狱、ai-safety”时使用。 来源:omer-metin/skills-for-antigravity。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/omer-metin/skills-for-antigravity --skill prompt-injection-defense
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 prompt-injection-defense?

针对即时注入攻击的防御技术,包括直接注入、间接注入和越狱 - 当提到“即时注入、越狱预防、输入清理、llm 安全、注入攻击、安全、即时注入、llm、owasp、越狱、ai-safety”时使用。 来源:omer-metin/skills-for-antigravity。

如何安装 prompt-injection-defense?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/omer-metin/skills-for-antigravity --skill prompt-injection-defense 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/omer-metin/skills-for-antigravity