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.
npx skills add AuroraProudmoore/java-audit-skill --skill java-audit-skillgit clone --depth 1 https://github.com/AuroraProudmoore/java-audit-skillWrote 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.
[](https://agentmods.dev/skills/auroraproudmoore/java-audit-skill/java-audit-skill)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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.
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:规则沉淀(可选,在报告后执行)
What ships with it
25 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- assets/README.md 445 B
- examples/README.md 925 B
- examples/vulnerable-springboot/src/main/java/com/example/controller/OrderController.java 530 B
- examples/vulnerable-springboot/src/main/java/com/example/controller/TemplateController.java 864 B
- examples/vulnerable-springboot/src/main/java/com/example/controller/UserController.java 668 B
- examples/vulnerable-springboot/src/main/java/com/example/util/JsonUtil.java 437 B
- references/business-scenario-tags.md 9.1 KB
- references/cve-offline-lookup.md 5.3 KB
- references/dktss-scoring.md 5.3 KB
- references/logic-vulnerability-cot.md 14 KB
- references/report-quick-ref.md 4.8 KB
- references/report-template.md 30 KB
- references/security-checklist.md 39 KB
- references/vulnerability-conditions.md 40 KB
- scripts/audit.py 15 KB runs code
- scripts/coverage-check.ps1 3.3 KB runs code
- scripts/coverage-check.sh 4.9 KB runs code
- scripts/frontend_audit.py 26 KB runs code
- scripts/java_audit.py 46 KB runs code
- scripts/layer1-scan.ps1 3.4 KB runs code
- scripts/layer1-scan.sh 8.4 KB runs code
- scripts/quality-checker.ps1 16 KB runs code
- scripts/quality-checker.sh 9.9 KB runs code
- scripts/tier-classify.ps1 2.6 KB runs code
- scripts/tier-classify.sh 4.8 KB runs code
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.
- 2mo ago First seen · 2,111 lines · 184 tokens per session scan A 5f8a7b62e84f
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.
Other skills, from other repositories
critical-review
Radical-honesty architectural review — questions code, methodology, design, and operational fitness.
security-audit
Security audit expert for OWASP Top 10, CVE analysis, code review, and penetration testing methodology.
edgeone skill scanner
A local static scanner that checks agent-skill files for security risks before they are installed or used. Static analysis examines files without running them.
otto-pr-review-loop
Run Polly and OCR on a PR until all findings settle.
meta-codereview-current-diff
Read the current uncommitted diff, run three independent reviewers (safety + tests-coverage + style) in parallel, then arbitrate a single BLOCK / BLOCKWITHOVERRIDE / PASSWITHNOTES verdict. Use before commit when you want a multi-perspective second-opinion instead of a single-reviewer agent loop.
prs-awaiting-maintainer
List open pull requests where the ball is in the maintainer's court: CI is green and the PR is ready for a maintainer to review, re-review, or merge. Use when the user wants to see PRs awaiting maintainer action.