Borrowing it
Nothing to install: this file belongs to boshi-xixixi/TraeSkill. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/boshi-xixixi/TraeSkill/main/.trae/Skills/07_Security_Specialist/SKILL.mdgit clone --depth 1 https://github.com/boshi-xixixi/TraeSkillWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/boshi-xixixi/traeskill/07_security_specialist)<a href="https://agentmods.dev/skills/boshi-xixixi/traeskill/07_security_specialist"><img src="https://agentmods.dev/badge/skills/boshi-xixixi/traeskill/07_security_specialist/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/boshi-xixixi/traeskill/07_security_specialist"><img src="https://agentmods.dev/badge/skills/boshi-xixixi/traeskill/07_security_specialist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00119 | $0.04696 |
| Opus 5.5 | $0.00048 | $0.01878 |
| Sonnet 5.5 | $0.00024 | $0.00939 |
| Haiku 4.5 | $0.00012 | $0.00470 |
Grade A, and why
Security Specialist scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 598 lines — stays where its author put it; the contents beside it link to each section on GitHub.
⚠️ 性能提示: 此 Skill 包含完整的安全审计流程和无障碍安全指南。日常开发可只关注 OWASP Top 10 和快速安全检查清单。
Security Specialist Skills
🤖 智能体与 MCP 增强 (Agent & MCP Enhancements)
本 Skill 支持并推荐配合特定的智能体角色和 MCP 工具使用,以获得最佳效果。
推荐智能体角色
- Security Auditor: 详见 AGENTS.md。
- 该角色具备"零信任"和"攻击者视角",能够主动发现潜在风险。
- 启用后,AI 将强制执行 OWASP 安全检查清单。
推荐 MCP 工具
- Git MCP: 用于扫描历史提交中的敏感信息泄露。
- Filesystem MCP: 用于检查文件权限和
.gitignore配置。
提供全方位的安全保障,确保应用符合安全标准与法规。
包含的技能模块
1. 安全需求提取 (Security Requirements)
- 核心价值: 在设计阶段识别安全风险。
- 关键技术: 威胁建模, STRIDE 分析, 安全用户故事.
- 使用场景: 新功能安全评审、架构设计。
2. 认证实现模式 (Authentication)
- 核心价值: 实现安全可靠的用户身份验证。
- 关键技术: JWT, OAuth2, OIDC, Session 管理.
- 使用场景: 登录注册系统开发、第三方登录集成。
3. GDPR 数据处理 (GDPR Compliance)
- 核心价值: 确保数据处理符合 GDPR 等隐私法规。
- 关键技术: 数据最小化, 被遗忘权实现, 数据加密.
- 使用场景: 出海应用开发、隐私合规审计。
4. 无障碍安全设计 (Accessibility Security)
- 核心价值: 确保残障用户的安全使用体验。
- 关键技术: 安全焦点管理, ARIA 安全使用, 验证码无障碍设计.
- 使用场景: 无障碍网站安全审计、屏幕阅读器安全。
如何使用
- 登录设计: "请参考认证实现模式,帮我设计一个安全的 JWT 登录流程。"
- 合规检查: "请检查我的数据库字段设计是否符合 GDPR 要求。"
- 无障碍安全: "请检查我的登录表单是否对屏幕阅读器用户安全且可访问。"
无障碍安全设计 (Accessibility Security)
为什么无障碍与安全相关?
无障碍设计不仅仅是可用性要求,也涉及安全层面:
| 安全问题 | 无障碍风险 | 安全影响 |
|---|---|---|
| 验证码绕过 | 视觉验证码无法被屏幕阅读器访问 | 可能迫使视障用户使用不安全的替代方案 |
| 焦点管理 | 模态框焦点泄漏 | 敏感信息可能被意外暴露 |
| ARIA 滥用 | aria-hidden 滥用 | 隐藏敏感内容被屏幕阅读器读取 |
| 输入验证 | 错误提示不清晰 | 用户可能重复提交导致安全问题 |
1. 验证码无障碍设计
问题
传统验证码(CAPTCHA)对视障用户构成严重障碍:
- 视觉谜题无法被屏幕阅读器识别
- 音频验证码可能泄露信息
- 复杂的验证码增加认知负担
解决方案
<!-- ❌ 不合规:纯视觉验证码 -->
<div class="captcha">
<img src="/captcha.png" alt="验证码图片" />
<input type="text" placeholder="请输入验证码" />
</div>
<!-- ✅ 合规:提供多种验证方式 -->
<div class="captcha" role="group" aria-labelledby="captcha-label">
<span id="captcha-label" class="sr-only">安全验证</span>
<!-- 首选:隐形验证码 -->
<div data-captcha="invisible"></div>
<!-- 备选:音频验证码 -->
<button type="button" aria-describedby="audio-desc">
播放音频验证码
<span id="audio-desc" class="sr-only">
如有视觉障碍,请点击此处获取音频验证码
</span>
</button>
<label for="captcha-input" class="sr-only">请输入您听到的字符</label>
<input type="text" id="captcha-input" autocomplete="off" />
</div>
What ships with it
5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 8d ago First seen · 598 lines · 119 tokens per session scan A 7c66f38e025b
Security Specialist is a skill published in the GitHub repository boshi-xixixi/TraeSkill (288 stars, last pushed 9d ago), licensed MIT. It adds 119 tokens to every session and 4,696 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-22.
Security Specialist compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| Security Specialistboshi-xixixi/TraeSkill | Skill | 288 | 9d ago | MIT | A | 119 | Claude Code, Codex |
| code-reviewLion-1209/Lion-Skills | Skill | 5 | 5mo ago | MIT | A | 23 | Claude Code |
| chinese-code-reviewjnMetaCode/superpowers-zh | Skill | 8.6k | 14d ago | MIT | A | 62 | Claude Code |
| receiving-code-reviewjnMetaCode/superpowers-zh | Skill | 8.6k | 14d ago | MIT | A | 50 | Claude Code |
| requesting-code-reviewjnMetaCode/superpowers-zh | Skill | 8.6k | 14d ago | MIT | A | 24 | Claude Code |
| criticism-self-criticismHughYau/qiushi-skill | Skill | 4.0k | 2d ago | MIT | A | 197 | Claude Code |
| preflightRune-kit/rune | Skill | 96 | 2d ago | MIT | A | 46 | Claude Code |