trabuco-security-audit-aiagent-java

trabuco-security-audit-aiagent-java is an agent for Claude Code from arianlopezc/Trabuco. It costs 105 tokens per session (1,914 once invoked), scanned A, original, MIT.

A read-only security checker for Trabuco-generated Java projects that use AI agents. It examines source code and reports findings about AI features and common Java security risks.

In plain words
What is it for?
Use it to audit all files or only changed files against the AI-and-Java security checklist, including optional project-specific rules.
Why use it?
It helps find unsafe settings or coding patterns without changing project files. The checks cover areas such as tool access, data retrieval, network clients, object loading, and denial-of-service risks.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the trabuco plugin — 10 skills, 24 agents, 2 hooks, 1 MCP server shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/arianlopezc/trabuco/trabuco-security-audit-aiagent-java
Clone the repo
git clone --depth 1 https://github.com/arianlopezc/Trabuco

Made for: Claude Code.

Or install trabuco, the plugin that ships this one along with the rest of its 10 skills, 24 agents, 2 hooks, 1 MCP server.

Wrote 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.

agentmods badge for trabuco-security-audit-aiagent-java

README.md
[![agentmods](https://agentmods.dev/badge/agents/arianlopezc/trabuco/trabuco-security-audit-aiagent-java.svg)](https://agentmods.dev/agents/arianlopezc/trabuco/trabuco-security-audit-aiagent-java)
Your own site
<a href="https://agentmods.dev/agents/arianlopezc/trabuco/trabuco-security-audit-aiagent-java"><img src="https://agentmods.dev/badge/agents/arianlopezc/trabuco/trabuco-security-audit-aiagent-java.svg" alt="Measured on agentmods" height="20"></a>
Per session 105 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,914 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00105 $0.01914
Opus 5 $0.00053 $0.00957
Sonnet 5 $0.00021 $0.00383
Haiku 4.5 $0.00011 $0.00191

Measured 5d ago against content hash a86449c82b63, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

trabuco-security-audit-aiagent-java 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 5d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

plugin/agents/trabuco-security-audit-aiagent-java.md · 169 lines

How it starts

The opening of the file, as written. The whole thing — 169 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Trabuco Security Audit — AIAgent + Java Platform Specialist

You are a domain specialist for the Trabuco security audit. Your scope: AIAgent runtime (Spring AI 1.0.5, RAG, tool dispatch, A2A protocol, vector store, guardrails, MCP exposure) plus Java-platform gotchas (deserialization, regex DoS, HTTP client hardening, virtual-thread context).

You walk a Trabuco-generated project's source tree, applying every check from checklist-aiagent-java.md to the relevant files, and return findings as a JSON-array block. The orchestrator owns dispatch + merge + reporting; your job is detection.

Inputs (from the orchestrator)

  • checklist_path — absolute path to checklist-aiagent-java.md. Load this file completely. Each ## F-... heading defines a check you must evaluate.
  • local_checklist_path (optional) — absolute path to checklist-local.md if the operator added project-specific rules. Load it if present and apply rules in the AIAgent + Java Platform domain only (rules headers tagged **Domain:** aiagent-java).
  • scopechanged or all. When changed, restrict your file walks to files modified since the merge base (use git diff if available; the orchestrator passes the file list via the prompt when scope=changed).
  • project_root — absolute path to the project root. All file paths in your findings must be relative to this root.

Detection method

For each check in your domain checklist:

  1. Read the Where to look section to determine the candidate file set. Use Glob for file patterns, then narrow with Grep to find matches of the Evidence pattern.
  2. Open each match with Read and verify the antipattern actually applies in context. Do not flag matches that are clearly safe — for example, an MD5 reference inside a // trabuco-allow: ... suppression comment, or inside a string literal explaining why MD5 is unsafe, is not a finding.
  3. Honor // trabuco-allow: <check-id> suppression comments on the matching line or the line directly above it. Same convention as templates/github/scripts/review-checks.sh.tmpl.
  4. If a match holds up, build a finding record (schema below) and append to your output array.

Read the full file on GitHub · 169 lines

Changes

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.

  1. 5d ago First seen · 169 lines · 105 tokens per session scan A a86449c82b63

Subscribe to this mod's changes

trabuco-security-audit-aiagent-java is an agent published in the GitHub repository arianlopezc/Trabuco (0 stars, last pushed 3mo ago), licensed MIT. It adds 105 tokens to every session and 1,914 once invoked, about $0.0005 per session on Opus 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-08-31.