Choosing AI agent security Skills: seven tools and an OWASP playbook for one reporting feature
Follow a report from download to scheduled delivery to see which Skill can answer your release question, what evidence to ask for, and where each review stops.
Suppose you're about to let customers download their own reports. An engineer asks, “Can someone at Company A download Company B's report?” A reviewer has another question. “We check permissions on the download page. Do we check them when the morning job emails the report?” The release lead remembers that a third-party package generates the spreadsheet. Does the version going out today have a known vulnerability?
An AI assistant can help with all three questions, but each calls for different evidence. Assistants such as Codex and Claude Code that can read files and use tools are often called agents. A Skill gives an agent instructions for a job, sometimes with programs it can run. When choosing one, I ask, what would I need to see before signing off? For the first question, I need the code that associates a report with a company. For the second, I need the scheduled job before and after the change. For the third, I need an installed version number.
This guide draws on Karakuri's Traditional Chinese entries as of November 19, 2026, checked against the maintainers' GitHub READMEs and Skill instructions. The reporting service is fictional. The comparisons describe documented capabilities, without a hands-on ranking. Each linked entry includes the original sources. Karakuri Skills directory
Which decision are you trying to make?
| Decision | Start with | Evidence to ask for |
|---|---|---|
| Can we merge this code that handles customer data? | Sentry security-review | Where the input comes from and which checks the code and framework already perform |
| Are callers still protected after a shared function changed? | Trail of Bits differential-review | Affected features and missing tests across the two revisions |
| Do our other services use the same unsafe pattern? | Trail of Bits semgrep | Rules used, matching locations, and scans that actually finished |
| Which dependencies should we update before release? | Trail of Bits supply-chain-risk-auditor | Advisories for installed versions and who still maintains the packages |
| What remains unchecked across the reporting service? | Cloudflare security-audit | Access paths reviewed, findings supported by evidence, and missing facts |
| Should the team install a third-party Skill? | Sentry skill-scanner | Its stated purpose, its scripts' actual behavior, and required permissions |
| Can an AI reviewer run safely in GitHub Actions? | Trail of Bits agentic-actions-auditor | Who triggers it, whose words it reads, and what it can change |
| Where do we start if the assistant itself is the product? | OWASP Secure Agent Playbook | Agent permissions, defenses to test, or risks where agents hand off work |
Reviewing code with Sentry or reviewing a change with Trail of Bits
Sentry security-review — can the user really control this value?
A line in the download handler sets the filename sent to the customer. Does the server generate it in a fixed format, or can the customer supply it? If customers choose a report, has earlier code already restricted the choice to their own company? Sentry lets the agent read the project for context while keeping formal findings within the files or changes you selected. Its guidance depends on the code involved. It considers authentication, authorization, framework protections, and places where external text might be executed as instructions. A page that executes text supplied by a customer, for example, may expose users to cross-site scripting. Karakuri’s Sentry security-review guide
I'd use it when someone reviewing a pull request (PR) asks for evidence that a user can influence a value. Only sufficiently supported issues are reported as vulnerabilities. Inputs with uncertain origins are flagged separately. Your team must supply business rules such as “two subsidiaries in the same group must still have separate data.” Sentry has specific guidance for Python and JavaScript/TypeScript. For other languages, involve someone who knows the framework's protections. Review scope and limits
Trail of Bits differential-review — who else relied on that check?
Imagine moving an access check from report generation to the web download handler. Every web test might pass. The morning mail job never clicks the download button. What checks its access now? This Skill compares two revisions, reads Git history, identifies other callers, and checks their test coverage. For a large change it prioritizes areas such as authorization. Its Markdown report records the reasoning and the parts left unreviewed. Karakuri’s differential-review guide
I'd choose Sentry to find the origin of a value and its checks. I'd choose differential-review to find the callers that depended on a check we moved. Give it a baseline revision and readable history. A snippet of the new code alone can't show what changed. When to use a differential review
Routine checks for code patterns and dependency versions
Trail of Bits semgrep — does the pattern occur elsewhere?
After fixing a data-handling mistake in one service, the team wants to find similar code elsewhere. The Semgrep engine matches rules against code structure. The Skill identifies project languages, selects candidate rules, and shows you the scope, engine, and mode. You can choose the full ruleset or start with higher-impact, higher-confidence issues. Once you confirm the plan, it runs the Semgrep command-line tool. Karakuri’s semgrep guide
Read scans.json first. It distinguishes completed, failed, and skipped scans. Zero findings means something different if the frontend rules never downloaded. Use the SARIF report to locate individual matches. You'll need the Semgrep CLI and, for the Pro features this workflow uses to trace data across files, a license. Someone familiar with company policy still has to explain whether managers may read a subsidiary's reports. Scan outputs and engine limits
Trail of Bits supply-chain-risk-auditor — did we ship the fixed version?
A spreadsheet package's homepage says a vulnerability has been fixed. Which version is in your release? This Skill reads npm, PyPI, or Go dependency information and compares identifiable versions with advisories, including packages installed indirectly. For direct dependencies it also checks for an archived upstream repository, concentrated npm publishing rights, and declared install scripts. Publisher concentration is a reason to look more closely. By itself it establishes no malicious behavior. Karakuri’s supply-chain-risk-auditor guide
Ask which file records the project's versions. The Skill reads npm’s package-lock.json and npm-shrinkwrap.json, Python’s uv.lock, and go.mod for Go 1.17 or later. It cannot read locked versions from pnpm-lock.yaml, yarn.lock, or poetry.lock. It may fall back to a declared version or the latest release. Before prioritizing updates, check the version assessed against the one deployed and identify packages for which evidence was insufficient. Version support and interpretation
Cloudflare security-audit — which route still needs checking before launch?
The same report can arrive via the web page, a scheduled email, or a download link. Even after all related PRs pass review, someone signing off on the service needs to know who checks each route and which answers depend on production settings. Cloudflare’s full audit maps the architecture and places where identity or authority changes hands, called trust boundaries. It records coverage and assigns independent agents to verify suspected issues and the evidence ultimately used. A guided mode accommodates narrower questions. Karakuri’s Cloudflare security-audit guide
Look for three labels. confirmed means evidence supports the finding. rejected means evidence overturned it. needs_validation describes a missing fact and leaves severity open. For example, the deployment owner may need to confirm whether opening a production download link always requires authentication. A full audit needs independent subagents and Node.js. If the code under review will be built or run, it needs an operating-system sandbox. Weigh that setup and review time when the decision concerns a single PR. Report states and runtime requirements
Who reviews the permissions of an AI acting for the team?
Sentry skill-scanner — should we install someone else’s Skill?
A colleague shares a Skill that promises to write a user manual for your reports. Which files does it need to read? Why would its helper script contact an external site? Before installation, skill-scanner can review the whole folder. Its Python scanner, which requires uv, inventories URLs and other indicators in JSON. The agent then reads SKILL.md, supporting material, and scripts to compare the promised job with actual behavior. Karakuri’s Sentry skill-scanner guide
A URL may be a reference at the end of a manual or the destination of a file transfer. Read the surrounding code to tell. Repeat the review after an update. Even if the Skill keeps its name, an added script or permission may change the team's decision. What the package review can tell you
Trail of Bits agentic-actions-auditor — whose words reach the reviewer, and what can it change?
A GitHub Actions workflow can ask AI to review an incoming PR. Some assistants can only read and comment, while others can change project files. A mistaken judgment has different consequences in each case. This Skill reads workflow definitions, traces triggers and PR or issue text into the agent's instructions, and checks available tools, credential permissions, and runtime restrictions. It follows one level of referenced reusable workflows or composite actions. Karakuri’s agentic-actions-auditor guide
A continuous integration (CI) maintainer should be able to answer two questions after reading the report. Who can supply that text? What can the agent that reads it change? The answers help decide where read access suffices and where a write needs separate approval. Record deeper workflow references for follow-up. Reviewing configuration maps permissions. Observing how the agent responds requires a runtime test. Analysis coverage
OWASP Secure Agent Playbook — what if customers use the assistant directly?
If customers can say “export last quarter's report,” the assistant itself is under review. OWASP splits that work into Skills with procedures and reporting formats. These four belong to the same ai-security-skills plugin. Karakuri’s OWASP guide and the four original Skills
| When to choose it | Skill | What to check in the reporting assistant |
|---|---|---|
| Connecting a tool server | mcp-server-review | Model Context Protocol (MCP) connects agents to external tools. Check server authentication, advertised capabilities, actual access, and returned fields. Does “look up reports” only read? Does it return unnecessary data? |
| Setting one agent's authority | agent-security-audit | Inventory tools, files, credentials, network destinations, and input sources. Can the assistant that prepares the report also email it? Where should a human approve? |
| Designing handoffs between agents | multi-agentic-threat-model | Trace data, identity, and authority through the seven layers of CSA MAESTRO. If separate agents query, generate, and email the report, who checks the recipient's company? |
| Checking defenses when agents read external text | prompt-injection-test | An agent may mistake document text for instructions and stray from its authorized task. The Skill uses Arcanum's classification to plan authorized tests and record input channels covered and observed responses. |
While designing handoffs, I'd start with threat modeling so we can still change where checks happen. If an MCP server is ready to connect, I'd first check what its tools can access and return. Once a controlled test environment is ready, compare observed behavior against the design. Karakuri documents plugin installation for Claude Code. Codex teams can consult the procedures and should verify plugin compatibility separately. Platforms and limits
Try the reports on a problem your team already fixed
If two Skills seem suitable, give them the same resolved issue. For the scheduled mail job, supply the revisions before and after the fix and state the rule: “Each company may receive only its own reports.” Then read the two reports with three questions in mind.
- Can an engineer find the evidence? The report should identify the job's entry point, the shared code it calls, and where access is checked. An engineer should be able to trace each claim.
- Does the release lead know what's missing? If the job account's production settings determine which reports it can read, does the report identify that gap and the person who can resolve it?
- Can you decide what to do next? A maintainer should know which test to add, permission to adjust, or deployment setting to check, and be able to estimate the work for the next release.
If today's decision is whether the morning email still checks access, a differential review that identifies the affected feature and missing test may be enough. For service-wide sign-off, it makes sense to document coverage route by route and get independent verification. The person approving release should be able to name the evidence behind the decision and who owns each unanswered question.