scan_jar_security
Scan local jar, zip, or class files for supply-chain security risks. Detects suspicious classes related to network activity, file access, process execution, and obfuscated code to help audit dependencies before adding to a build.
Instructions
Run jar.tools' static security scan on a local .jar/.zip or .class file. Returns structured findings — suspicious-class counts by category (network activity, file access, process execution, hard-to-review/obfuscated code) plus decompiler-anomaly signals. Useful for auditing a dependency before adding it to a build, or investigating a suspicious plugin/mod. Static analysis only — the file is never executed. Free for .jar/.zip up to 64MB and .class up to 5MB; pass a Pro license_key to raise the JAR size cap to 256MB.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to a local .jar, .zip, or .class file to scan. | |
| license_key | No | Optional jar.tools Pro license key, raises the .jar size cap from 64MB to 256MB. Falls back to the JARTOOLS_LICENSE_KEY environment variable if not provided. |