security-architect
できること
このスキルは、C++の領域について、コードを変えずに提案を伴う高レベルのセキュリティレビューをAIに行わせます。セキュリティの改善を計画したいエンジニア向けです。
使う場面
- ✓C++のコンポーネントや領域のセキュリティ設計のレビューをしたいとき。
- ✓リスクとともに、実践的なセキュリティの改善を短く一覧にしたいとき。
- ✓所有権や寿命の問題を起こしうるインターフェースを知りたいとき。
スキルのリンク
https://github.com/chromium/chromium/blob/main/agents/skills/security-architect/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“このC++コンポーネントのセキュリティ設計をレビューして、最大5つの改善を提案してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
AIは対象の領域を読み、最大5つの提案を含むレポートを書きます。各提案には、作り方、そのコードの利用者への影響、リスクが含まれます。コードは変更しません。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
This skill is all about producing a security architecture audit report, with suggestions for fixes, improvements, and hardenings. Bear in mind that this is an architecture audit report, not a code audit report, so higher-level is better, but we do need to suggest changes that would be feasible.
Writing A Good Report
Lay out at most five improvements you can see to make to the security of the target area. Interface and implementation improvements are both good. For each improvement, give:
- A sketch of how to implement it
- Your assessment of how much impact it would have (if any) on clients of any interfaces you're changing
- Any risks or downsides you see to doing it
Don't make any actual code changes - you're just writing a report.
Interface guidance
- Many security problems are caused by lifetime misunderstandings at interfaces so interfaces should prioritize clean transfer of ownership and simple ownership models.
- Interfaces should use spans in preference to (pointer, length) pairs.
- Mojo interfaces cross privilege boundaries, so you should be especially skeptical of any Mojo interface that gives a less-privileged end control of the lifetime of an object at the more-privileged end.
- Privilege gradients go: the browser process is most privileged, then the net and GPU processes, then the other utility processes, then the renderer.
Implementation guidance
- Try hard to obey the Rule of Two: untrusted data may not be handled in unsafe
ways in the browser process. In priority order:
- Avoid handling it in the browser process at all.
- Rewrite the handling to be safe (by doing it in Rust).
- Do the handling in a sandboxed helper process that the browser IPCs to.
よくある質問
このスキルはコードを変更しますか?
いいえ。このスキルは提案を含むレポートを書くだけで、コードの変更はしません。
他の言語にも使えますか?
このスキルは、C++のコードにのみ有用だと説明しています。他の言語には別のアプローチが必要です。
どのような問題を探しますか?
主に、オブジェクトの所有権が不明確な箇所、危険なインターフェース、信頼度の低いコードが信頼度の高いコードを制御できる箇所を探します。
詳細
作者による元の説明
Skill for assessing security architecture and suggesting improvements. - This skill is only useful for C++ code.
repo: chromium/chromium
人気
- GitHubのスター
- 25k
- ランキング
- #10063
- ライセンス
- BSD-3-Clause
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
fuzzing
25kエージェントが、多くのランダムな入力をコードに与えてクラッシュやバグを見つけるファジングテストを、C++のコードで書けるよう支援します。
gn-deps-debugging
25kエージェントが、GNのビルドファイルにある依存関係の不足や誤りによるビルドエラーを、広すぎる不要な依存関係を追加せずに直せるよう支援します。
java-memory-leaks
25kエージェントが、LeakCanaryのリークレポートを読んで、Androidアプリの Javaのメモリリークを見つけ、修正できるよう支援します。
jni-type-conversion
25kエージェントが、Androidのコードで、手作業によるJavaからC++への変換のコードを、より簡単な@JniTypeアノテーションに置き換えられるよう支援します。
似ているスキル
reverse-engineer-anything
422kREAツールを使って、出荷済みのアプリやパッケージの中身を調べ、機能の説明、版の比較、再構築の手順をエージェントが支援します。
1password
394k1Password CLIをセットアップし、サインインして、秘密情報の値を会話に表示せずに読み取ったり注入したりするようエージェントを支援します。
healthcheck
394kOpenClawを動かすコンピューターやサーバーを、SSH、ファイアウォール、更新、バックアップなどのセキュリティリスクについて監査し、安全な修正案を提案するようエージェントを支援します。