本文へスキップ
Skillpedia
セキュリティ25k · #10063

security-architect

できること

このスキルは、C++の領域について、コードを変えずに提案を伴う高レベルのセキュリティレビューをAIに行わせます。セキュリティの改善を計画したいエンジニア向けです。

使う場面

  • ✓C++のコンポーネントや領域のセキュリティ設計のレビューをしたいとき。
  • ✓リスクとともに、実践的なセキュリティの改善を短く一覧にしたいとき。
  • ✓所有権や寿命の問題を起こしうるインターフェースを知りたいとき。

スキルのリンク

https://github.com/chromium/chromium/blob/main/agents/skills/security-architect/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/chromium/chromium/blob/main/agents/skills/security-architect/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

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:
    1. Avoid handling it in the browser process at all.
    2. Rewrite the handling to be safe (by doing it in Rust).
    3. 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

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル