security-architect
What it does
This skill guides your AI through a high-level security review of a C++ area, with suggestions rather than code changes. It is for engineers who want to plan security improvements.
When to use it
- ✓When you want a security architecture review of a C++ component or area.
- ✓When you need a short list of practical security improvements with their risks.
- ✓When you want to know which interfaces may cause ownership or lifetime problems.
Skill link
https://github.com/chromium/chromium/blob/main/agents/skills/security-architect/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Can you review the security design of this C++ component and suggest up to five improvements?”
5 new skills a week. 1 minute to read.
How it works
The AI reads the target area and writes a report with at most five suggestions. Each one includes how to build it, its impact on users of the code, and its risks. It does not change any code.
Technical content (original SKILL.md)
Original text by the author, straight from 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.
FAQ
Does this skill change my code?
No. The skill only writes a report with suggestions and does not make code changes.
Does it work for other languages?
The skill says it is only useful for C++ code. Other languages need a different approach.
What kinds of problems does it look for?
It looks mainly for unclear ownership of objects, risky interfaces, and places where less trusted code can control more trusted code.
Details
Original description by the author
Skill for assessing security architecture and suggesting improvements. - This skill is only useful for C++ code.
repo: chromium/chromium
Popularity
- GitHub stars
- 25k
- Ranking position
- #10063
- License
- BSD-3-Clause
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
fuzzing
25kHelps your agent write fuzz tests that feed many random inputs into code to find crashes and bugs in C++ code.
gn-deps-debugging
25kHelps your agent fix build errors caused by missing or wrong dependencies in GN build files, without adding broad, unneeded ones.
java-memory-leaks
25kHelps your agent find and fix Java memory leaks in Android apps by reading leak reports from LeakCanary.
jni-type-conversion
25kHelps your agent replace manual Java-to-C++ conversion code with simpler @JniType annotations in Android code.
Similar skills
reverse-engineer-anything
422kHelps your agent look inside shipped apps and packages to explain features, compare versions, or guide a rebuild, using the REA tool.
1password
394kHelps your agent set up the 1Password CLI, sign in, and read or inject secrets without printing their values into chat.
healthcheck
394kHelps your agent audit the computer or server that runs OpenClaw for security risks, such as SSH, firewall, updates, and backups, then suggest safe fixes.