Skip to content
Back to search

jar-analyzer-claude

Claude Code plugin for Java JAR security audit — 基于 jar-analyzer 的 Claude Code 安全审计插件,构建数据库,AI 深入分析

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/jar-analyzer--jar-analyzer-claude/badge.svg)](/listings/jar-analyzer--jar-analyzer-claude)

HTML

<a href="/listings/jar-analyzer--jar-analyzer-claude"><img src="/api/listings/jar-analyzer--jar-analyzer-claude/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

一行命令添加插件市场:

/plugin marketplace add https://github.com/jar-analyzer/jar-analyzer-claude

添加完成后,在插件市场中选择 **`jar-analyzer-plugin`** 进行安装。

> ⚠️ 插件内置了打包好的 `jar-analyzer-engine`,文件较大,下载可能需要一些时间,请耐心等待。

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

.claude-plugin/marketplace.json · Manifest · 32 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. {
  2. "name": "jar-analyzer-marketplace",
  3. "owner": {
  4. "name": "4ra1n",
  5. "url": "https://github.com/4ra1n"
  6. },
  7. "metadata": {
  8. "description": "marketplace for jar-analyzer project",
  9. "version": "1.0.0"
  10. },
  11. "plugins": [
  12. {
  13. "name": "jar-analyzer-plugin",
  14. "description": "jar-analyzer project for java vulnerability analysis",
  15. "version": "1.0.0",
  16. "author": {
  17. "name": "4ra1n",
  18. "email": "emyiqing@gmail.com",
  19. "url": "https://github.com/4ra1n"
  20. },
  21. "homepage": "https://github.com/jar-analyzer/jar-analyzer-claude",
  22. "tags": [
  23. "jar-analyzer",
  24. "class",
  25. "jar",
  26. "security",
  27. "code-audit"
  28. ],
  29. "source": "./plugins/jar-analyzer-plugin"
  30. }
  31. ]
  32. }
README.md · README · 60 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. # jar-analyzer-claude
  2. > 基于 [jar-analyzer](https://github.com/jar-analyzer/jar-analyzer) 的 Claude Code 插件,用于 Java JAR/WAR 包**静态分析与安全审计**。
  3. ## ✨ 功能特性
  4. - 🗄️ **构建分析数据库** — 从 JAR/WAR/Class 文件构建 SQLite 数据库,提取类信息、方法调用关系、继承关系等
  5. - 🔍 **安全审计分析** — 检测 RCE、SQL 注入、SSRF、反序列化等常见漏洞模式
  6. - 🔗 **方法调用链追踪** — 从危险 sink 回溯到 HTTP 入口,验证漏洞可达性
  7. - 📝 **反编译验证** — 内置 FernFlower 反编译器,快速查看可疑代码
  8. - 🌱 **Spring 组件分析** — 自动识别 Controller、Mapping、拦截器等组件
  9. - 🔑 **敏感信息检测** — 搜索硬编码密码、密钥、JNDI 地址等
  10. ## 📦 安装
  11. 一行命令添加插件市场:
  12. ```shell
  13. /plugin marketplace add https://github.com/jar-analyzer/jar-analyzer-claude
  14. ```
  15. 添加完成后,在插件市场中选择 **`jar-analyzer-plugin`** 进行安装。
  16. > ⚠️ 插件内置了打包好的 `jar-analyzer-engine`,文件较大,下载可能需要一些时间,请耐心等待。
  17. ![安装插件](img/004.png)
  18. ## 🚀 使用方法
  19. ### 第一步:构建数据库
  20. 使用 `/build-db` 命令,指定需要审计分析的 JAR/WAR 文件,构建分析数据库。
  21. > 💡 **建议在空目录中执行**,分析完成后当前目录下会生成 `jar-analyzer-temp` 临时目录和 `jar-analyzer.db` 数据库文件。
  22. ![构建数据库](img/001.png)
  23. ### 第二步:执行安全分析
  24. 使用 `/do-analyze` 命令,对数据库执行安全审计查询(优先使用 `sqlite3` 命令,其次回退到 `python` 脚本)。
  25. ![执行分析](img/002.png)
  26. ### 第三步:查看审计报告
  27. 分析完成后,自动生成详细的安全审计报告,坐等结果即可。
  28. ![审计报告](img/003.png)
  29. ## 🛠️ 环境要求
  30. | 依赖 | 版本 | 用途 |
  31. |:-----|:-----|:-----|
  32. | Java | 8+ | 运行分析引擎和反编译 |
  33. | Python | 3+(可选) | 执行 SQL 查询脚本(作为 `sqlite3` 的备选方案) |
  34. ## 🙏 致谢
  35. - [jar-analyzer](https://github.com/jar-analyzer/jar-analyzer) — 4ra1n

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.