·xss-prevention
!

xss-prevention

aj-geddes/useful-ai-prompts

通过输入清理、输出编码和内容安全策略防止跨站脚本 (XSS) 攻击。在 Web 应用程序中处理用户生成的内容时使用。

65安装·0热度·@aj-geddes

安装

$npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill xss-prevention

SKILL.md

Implement comprehensive Cross-Site Scripting (XSS) prevention using input sanitization, output encoding, CSP headers, and secure coding practices.

通过输入清理、输出编码和内容安全策略防止跨站脚本 (XSS) 攻击。在 Web 应用程序中处理用户生成的内容时使用。 来源:aj-geddes/useful-ai-prompts。

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

安全认证,代码可靠安全 一键安装,配置简单 兼容 Claude Code、Cursor 等工具

查看原文

可引用信息

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

安装命令
npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill xss-prevention
分类
!安全工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 xss-prevention?

通过输入清理、输出编码和内容安全策略防止跨站脚本 (XSS) 攻击。在 Web 应用程序中处理用户生成的内容时使用。 来源:aj-geddes/useful-ai-prompts。

如何安装 xss-prevention?

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

这个 Skill 的源码在哪?

https://github.com/aj-geddes/useful-ai-prompts