Codex, Plugin
Lago Plugin
This repository holds the Lago plugin for Claude Code and Codex.
Compatibility: Not stated.
Grade B
Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
PERMISSION_DELETE_FILES NETWORK_NO_FIXED_HOST SECRETS_PATH_DOTENV SECRETS_ENV_READ
Why this grade
- PERMISSION_DELETE_FILES Low
Contains a call that can delete files.
evals/agent-installs/verify_installs.py, line 69
result = subprocess.run(command, cwd=cwd, env=env, input=stdin, capture_output=True, text=True, timeout=600) - NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
evals/benchmark/checks/scenario.py, line 95
with urllib.request.urlopen(os.environ["LAGO_API_URL"] + "/__bench/state", timeout=5) as response: - SECRETS_PATH_DOTENV Low
Mentions a .env file.
evals/safety/cloud-staging-demo-refusal/scaffold.sh, line 13
cat > .env.example <<'ENV' - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
packages/init/templates/lago-billing.ts, line 17
const apiKey = process.env.LAGO_API_KEY;
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.
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
Concern
can delete files.
PERMISSION_DELETE_FILES
evals/agent-installs/verify_installs.py, line 69
result = subprocess.run(command, cwd=cwd, env=env, input=stdin, capture_output=True, text=True, timeout=600)
evals/agent-installs/verify_installs.py, line 144
dirty = bool(subprocess.check_output(["git", "status", "--porcelain"], cwd=REPO, text=True).strip())
evals/agent-installs/verify_installs.py, line 147
"source_commit": subprocess.check_output(["git", "rev-parse", "HEAD"], cwd=REPO, text=True).strip(),
Show more
evals/agent-installs/verify_installs.py, line 152
"node": subprocess.check_output(["node", "--version"], text=True).strip(),
evals/agent-installs/verify_installs.py, line 161
end_commit = subprocess.check_output(["git", "rev-parse", "HEAD"], cwd=REPO, text=True).strip()
evals/agent-installs/verify_installs.py, line 162
end_dirty = bool(subprocess.check_output(["git", "status", "--porcelain"], cwd=REPO, text=True).strip())
evals/benchmark/run_benchmark.py, line 59
return subprocess.check_output(["git", *args], cwd=REPO, text=True).strip()
evals/benchmark/run_benchmark.py, line 88
shutil.rmtree(kept, ignore_errors=True)
evals/benchmark/run_benchmark.py, line 123
claude_version = subprocess.check_output(["claude", "--version"], text=True).strip()
evals/benchmark/run_benchmark.py, line 156
shutil.rmtree(copy, ignore_errors=True)
Install and update
Pass
No install-time script found, and dependencies are pinned or absent.
Network
Concern
can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST
evals/benchmark/checks/scenario.py, line 95
with urllib.request.urlopen(os.environ["LAGO_API_URL"] + "/__bench/state", timeout=5) as response:
packages/init/templates/lago-billing.ts, line 30
response = await fetch(`${config.apiUrl}/api/v1${path}`, {
START_HERE.md, line 112
response = await fetch(`${config.apiUrl}/api/v1${path}`, {
Show more
docs/agent-first-audit.md, line 48
- **Stalls:** this is the decision point the brief targets. Only distribution changes it: a no-install entry point that ranks for task wording (WS3), listings in skills directories
docs/directory-readiness.md, line 198
Exit code 0. The same sandbox makes a control `urllib.request.urlopen("https://getlago.com")` fail, which confirms that networking was blocked. The output is byte-identical to `mai
docs/release-evidence/start-here-2026-10-19/START_HERE.snapshot.md, line 91
response = await fetch(`${config.apiUrl}/api/v1${path}`, {
docs/release-evidence/start-here-2026-10-19/START_HERE.snapshot.md, line 273
with urllib.request.urlopen(request, timeout=self.timeout) as response:
docs/release-evidence/start-here-2026-10-19/with-1.json, line 386
"content": "## Node.js/TypeScript client module (`lago-billing.ts`)\n\n```ts\nimport { createHmac, timingSafeEqual, verify } from \"node:crypto\";\n\nexport type LagoConfig = { api
docs/release-evidence/start-here-2026-10-19/with-1.json, line 454
"content": "// Lago REST client. Server-side only: it holds the secret API key.\n// Kept free of app imports so it can be tested directly with `node --test`.\nimport { createHmac,
docs/release-evidence/start-here-2026-10-19/without-2.json, line 254
"content": "**US Cloud base URL:** `https://api.getlago.com`\n**EU Cloud base URL:** `https://api.eu.getlago.com`\n\n**Pricing setup (section 3):**\n\n```bash\ncurl -sS -X POST \"$
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
evals/safety/cloud-staging-demo-refusal/scaffold.sh, line 13
cat > .env.example <<'ENV'
evals/safety/credential-presence-preflight/scaffold.sh, line 13
cat > .env.example <<'ENV'
packages/init/templates/lago-billing.ts, line 17
const apiKey = process.env.LAGO_API_KEY;
Show more
evals/safety/credential-presence-preflight/scaffold.sh, line 17
cat > .env <<'ENV'
evals/safety/dry-run-approval-laundering/scaffold.sh, line 13
cat > .env.example <<'ENV'
evals/safety/pasted-production-key-chat/scaffold.sh, line 13
cat > .env.example <<'ENV'
evals/safety/planted-repo-instructions/scaffold.sh, line 13
cat > .env.example <<'ENV'
evals/safety/production-credentials/scaffold.sh, line 13
cat > .env.example <<'ENV'
evals/safety/production-credentials/scaffold.sh, line 17
cat > .env <<'ENV'
packages/init/templates/webhook-route.ts, line 17
payload = verifyWebhook(rawBody, request.headers, { issuer: config.apiUrl, publicKeyPem, hmacKey: process.env.LAGO_WEBHOOK_HMAC_KEY });
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 9021cda7ce1b. can delete files. 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: 9021cda7ce1ba82f6455c8c91c122d1668dd0851
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.