Claude Code, Plugin
legalant
18-agent AI system for Indian legal work — Claude Code plugin
Compatibility: Not stated.
Grade D
Two or more Medium findings, or a High finding. Only try it in a sandbox.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
Rescanned at commit b22bff12c4ab, unchanged since the check below.
INSTALL_REMOTE_SCRIPT SECRETS_PATH_CREDENTIAL
Why this grade
- INSTALL_REMOTE_SCRIPT Medium
Fetches a script from the network and runs it (a pipe to a shell, or an install hook with a URL).
CLAUDE.md, line 41
curl -fsSL https://raw.githubusercontent.com/ishwarjha/legalant/main/install-legalant.sh | bash -s -- all - SECRETS_PATH_CREDENTIAL Medium
Mentions a credential store path (~/.ssh, id_rsa, .npmrc, .aws/credentials, credentials.json, .netrc).
.env.example, line 2
GOOGLE_CREDENTIALS_PATH=./google-credentials.json
Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.
If you think this grade is wrong, email [email protected] with the entry link and your evidence. We aim to acknowledge within two working days and decide within seven. If we confirm an error, we aim to correct it within 24 hours of confirming it. These are aims, not guarantees.
Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.
What was checked
Plain notes from the hygiene checks.
Permissions
Pass
No shell or command call was found in the code. This check does not read permissions an entry declares. A permission line to run shell commands, write or edit files and fetch web content was found in this repository, and it may apply to this entry.
Install and update
Serious
install fetches a script from the network. The docs document an installer that pipes a download into a shell. README documents an installer that pipes a download into a shell.
INSTALL_REMOTE_SCRIPT INSTALL_DOCUMENTED_INSTALLER
CLAUDE.md, line 41
curl -fsSL https://raw.githubusercontent.com/ishwarjha/legalant/main/install-legalant.sh | bash -s -- all
README.md, line 138
curl -fsSL https://raw.githubusercontent.com/ishwarjha/legalant/main/install-legalant.sh | bash
README.md, line 140
curl -fsSL https://raw.githubusercontent.com/ishwarjha/legalant/main/install-legalant.sh | bash -s -- all
Show more
README.md, line 142
curl -fsSL https://raw.githubusercontent.com/ishwarjha/legalant/main/install-legalant.sh | bash -s -- inhouse transactions
install-legalant.sh, line 3
# Usage: curl -fsSL https://raw.githubusercontent.com/ishwarjha/legalant/main/install-legalant.sh | bash
install-legalant.sh, line 5
# curl -fsSL https://raw.githubusercontent.com/ishwarjha/legalant/main/install-legalant.sh | bash -s -- inhouse transactions
install-legalant.sh, line 6
# curl -fsSL https://raw.githubusercontent.com/ishwarjha/legalant/main/install-legalant.sh | bash -s -- all
install-legalant.sh, line 59
warn "For everything: curl -fsSL $RAW_BASE/install-legalant.sh | bash -s -- all"
Network
Concern
can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST
install-legalant.sh, line 40
if ! command -v curl &>/dev/null; then
install-legalant.sh, line 41
fail "curl is required but not installed. Install it and try again."
install-legalant.sh, line 44
ok "curl found"
Show more
install-legalant.sh, line 75
if curl -fsSL "$RAW_BASE/$src" -o "$dst" 2>/dev/null; then
legalant/mcp-servers/rbi-scraper/index.js, line 66
const { data } = await http.get(path);
legalant/mcp-servers/rbi-scraper/index.js, line 154
const { data } = await http.get(url, { responseType: "arraybuffer" });
legalant/mcp-servers/rbi-scraper/index.js, line 173
const { data } = await http.get(url);
legalant/mcp-servers/sebi-scraper/index.js, line 69
const { data } = await http.get(url);
Secrets
Concern
reads a credential or environment file.
SECRETS_PATH_CREDENTIAL SECRETS_PATH_DOTENV
.env.example, line 2
GOOGLE_CREDENTIALS_PATH=./google-credentials.json
.gitignore, line 14
# Environment
.gitignore, line 15
.env
Show more
.gitignore, line 17
!.env.example
CLAUDE.md, line 144
## .env / Integrations
README.md, line 272
Two paid integrations slot in when you're ready. The Indian Kanoon API adds structured judgment analysis and bulk search. The Finanvo MCA V3 API automates CIN and DIN lookups. Both
legalant/agents/legal-research-agent.md, line 55
> **Phase 2 upgrade note:** When `KANOON_API_TOKEN` is added to `.env`, replace these `web_search` + `web_fetch` calls with direct Indian Kanoon API calls for structured analysis a
legalant/agents/legal-research-agent.md, line 413
| Capability | Phase 1 | Phase 2 (when KANOON_API_TOKEN in .env) |
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Pass
No encoded or minified payload found.
Licence
Pass
A licence file is present (LICENSE).
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit b22bff12c4ab. install fetches a script from the network. The docs document an installer that pipes a download into a shell. README documents an installer that pipes a download into a shell. can reach a host that is not written as a fixed address. reads a credential or environment file.
Date and source
Date checked:
github.com
Commit graded: b22bff12c4abc8e72056e722df813375400b1ec1
This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.