java-audit-skill

java-audit-skill is a skill for Claude Code, Codex from AuroraProudmoore/java-audit-skill. It costs 184 tokens per session (22,915 once invoked), scanned A, original, MIT.

A code-security auditing method for Java, Kotlin, JavaScript, and TypeScript projects, including Spring, React, Vue, and related frameworks. It scans code for common security weaknesses and produces audit findings.

In plain words
What is it for?
Auditing backend and frontend code for problems such as SQL injection, unsafe deserialization, command execution, authentication bypasses, SSRF, XSS, code injection, prototype pollution, and exposed secrets.
Why use it?
It gives an AI a structured way to inspect large codebases, organize findings, and reduce missed issues or unsupported guesses during security reviews.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Auditing backend and frontend code for problems such as SQL injection, unsafe deserialization, command execution, authentication bypasses, SSRF, XSS, code injection, prototype pollution, and exposed secrets.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/auroraproudmoore/java-audit-skill/java-audit-skill
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.

Any agent
npx skills add AuroraProudmoore/java-audit-skill --skill java-audit-skill
Clone the repo
git clone --depth 1 https://github.com/AuroraProudmoore/java-audit-skill

Made for: Claude Code, Codex.

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 java-audit-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/auroraproudmoore/java-audit-skill/java-audit-skill/github.svg)](https://agentmods.dev/skills/auroraproudmoore/java-audit-skill/java-audit-skill)
Your own site
<a href="https://agentmods.dev/skills/auroraproudmoore/java-audit-skill/java-audit-skill"><img src="https://agentmods.dev/badge/skills/auroraproudmoore/java-audit-skill/java-audit-skill/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for java-audit-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/auroraproudmoore/java-audit-skill/java-audit-skill"><img src="https://agentmods.dev/badge/skills/auroraproudmoore/java-audit-skill/java-audit-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 184 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 22,915 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00184 $0.22915
Opus 5.5 $0.00074 $0.09166
Sonnet 5.5 $0.00037 $0.04583
Haiku 4.5 $0.00018 $0.02292

Measured 2mo ago against content hash 5f8a7b62e84f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

java-audit-skill 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 2mo ago.

The scan reads SKILL.md. This mod also ships 11 executable files (scripts/audit.py, scripts/coverage-check.ps1, scripts/coverage-check.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

SKILL.md · 2,111 lines

How it starts

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

AI+Java/前端 代码审计 Skill

本 Skill 将资深审计员的工作方法和质量标准编码成 LLM 可执行的协议,解决裸跑 LLM 覆盖率低、幻觉高、优先级混乱等核心痛点。

支持的语言类型

语言类型 框架支持 主要检查内容
Java/Kotlin Spring、Spring Boot、Struts、Jersey、Dubbo、gRPC 反序列化、SQL注入、命令执行、认证绕过、SSRF、文件操作
JavaScript/TypeScript 原生、Node.js XSS、代码注入、原型污染、敏感信息泄露
React React 16+、Next.js dangerouslySetInnerHTML、href注入、SSR XSS
Vue Vue 2/3、Nuxt.js v-html XSS、模板注入、不安全渲染
混合项目 前后端分离 后端API安全 + 前端XSS/配置安全

脚本架构

⚠️ 重要:脚本已按语言类型拆分,职责清晰

scripts/
├── audit.py              # 通用入口(语言检测 + 路由分发)
├── java_audit.py         # Java/Kotlin 后端审计
└── frontend_audit.py     # JavaScript/React/Vue 前端审计

脚本职责

脚本 职责 包含功能
audit.py 通用入口 语言检测、路由分发、统一参数解析
java_audit.py Java 审计 Java Tier 分类、Java 危险模式、EALOC 计算、覆盖率检查
frontend_audit.py 前端审计 前端 Tier 分类、前端危险模式、依赖检查、配置安全

调用流程

用户执行: python audit.py /path/to/project --scan --tier
                    ↓
              [audit.py]
                    ↓
         语言检测: detect_project_language()
                    ↓
    ┌───────────────┼───────────────┐
    │               │               │
  java          react/vue      mixed
    │               │               │
    ↓               ↓               ↓
[java_audit.py] [frontend_audit.py] [两者都执行]

使用方法

# 自动检测语言并执行审计
python scripts/audit.py /path/to/project --scan --tier

# Java 项目审计(直接调用)
python scripts/java_audit.py /path/to/java-project --scan --tier

# 前端项目审计(直接调用)
python scripts/frontend_audit.py /path/to/frontend-project --language react --scan --tier

核心理念

LLM 有能力,缺纪律。 Skill 不教 LLM "什么是 SQL 注入",而是给它装上资深审计员的工作骨架——定义工作流、分配资源、设置护栏、标准化输出。

6 阶段审计流水线

Phase 0 → Phase 1 → Phase 2 → Phase 2.5 → Phase 3 → Phase 5 → Phase 4(可选)
 代码度量   项目侦察   多层审计   覆盖率门禁  漏洞验证  标准化报告   规则沉淀

每个 Phase 有明确的输入、输出和质量标准,中间结果全量持久化到文件。

⚠️ Phase 编号说明:

  • Phase 0-3:核心审计流程(必须执行)
  • Phase 5:标准化报告(在验证后生成)
  • Phase 4:规则沉淀(可选,在报告后执行)

Read the full file on GitHub · 2,111 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. 2mo ago First seen · 2,111 lines · 184 tokens per session scan A 5f8a7b62e84f

Subscribe to this mod's changes

java-audit-skill is a skill published in the GitHub repository AuroraProudmoore/java-audit-skill (27 stars, last pushed 5mo ago), licensed MIT. It adds 184 tokens to every session and 22,915 once invoked, about $0.0007 per session on Opus 5.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-30.