MCP, MCP server
AgentLens
🔍 AgentLens Open-source observability for AI agents — with a tamper-evident audit trail Every event SHA-256 hash-chained & cryptographically verifiable — built for EU AI Act Article 12
Compatibility: Not stated.
Grade C
One Medium finding. Read the findings before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
NETWORK_HOST_FROM_INPUT
Why this grade
- NETWORK_HOST_FROM_INPUT Medium
A file takes a URL or endpoint as input and has no fixed host list.
demo/aha.sh, line 39
curl -fs "${BASE}/api/stats" >/dev/null 2>&1 && break
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
Pass
No shell or command execution found, and no extra permission was declared.
Install and update
Pass
No install-time script found, and dependencies are pinned or absent.
Network
Serious
accepts a host from input, with no fixed list in this file.
NETWORK_HOST_FROM_INPUT
demo/aha.sh, line 39
curl -fs "${BASE}/api/stats" >/dev/null 2>&1 && break
demo/aha.sh, line 49
curl -fs -X POST "${BASE}/api/events" -H 'Content-Type: application/json' -d @- >/dev/null <<JSON
demo/aha.sh, line 72
verify() { curl -fs "${BASE}/api/audit/verify?sessionId=${SESSION}"; }
Show more
packages/cli/src/commands/diagnose.ts, line 65
const res = await fetch(`${baseUrl}/api/sessions/${values.session}/diagnose${qs}`, {
packages/cli/src/commands/diagnose.ts, line 76
const res = await fetch(`${baseUrl}/api/agents/${agentId}/diagnose${qs}`, {
packages/cli/src/commands/eval-gate.ts, line 87
const res = await fetch(`${base.replace(/\/$/, '')}${path}`, {
packages/cli/src/commands/migrate.ts, line 193
const response = await fetch(`${cloudUrl}/api/export`, {
packages/cli/src/commands/migrate.ts, line 318
const response = await fetch(`${cloudUrl}/api/import`, {
packages/cli/src/commands/migrate.ts, line 350
const response = await fetch(`${cloudUrl}/api/export/counts`, {
packages/cli/src/commands/tail.ts, line 60
response = await fetch(sseUrl, {
packages/dashboard/src/api/core.ts, line 39
const res = await fetch(`${BASE}${path}`, {
Dockerfile, line 38
CMD node -e "fetch('http://localhost:3400/api/stats').then(r => { if (!r.ok) process.exit(1) }).catch(() => process.exit(1))"
deploy/docker/docker-compose.hardened.yml, line 98
test: ["CMD", "node", "-e", "fetch('http://localhost:3000/api/stats').then(r => { if (!r.ok) process.exit(1) }).catch(() => process.exit(1))"]
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
packages/cli/src/commands/eval-gate.ts, line 127
const apiKey = process.env['AGENTLENS_API_KEY'] ?? cfg.apiKey;
.env.example, line 2
# Copy to .env and edit as needed: cp .env.example .env
.gitignore, line 26
# Environment
Show more
.gitignore, line 27
.env
.gitignore, line 28
.env.local
CONTRIBUTING.md, line 35
cp .env.example .env
CONTRIBUTING.md, line 36
# Edit .env with your settings - defaults work for local development
README.md, line 97
cp .env.example .env
deploy/docker/docker-compose.hardened.yml, line 4
# Requires .env file with: JWT_SECRET, ADMIN_API_KEY, POSTGRES_PASSWORD
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Note
a file was over the read cap and was not fully read. the file cap was reached before every file was read.
OBFUSCATION_FILE_OVER_READ_CAP OBFUSCATION_FILE_CAP_REACHED
pnpm-lock.yaml, line 1
lockfileVersion: '9.0'
packages/dashboard/src/pages/Users.tsx, line 1
/**
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 78fe5eb3bbcc. accepts a host from input, with no fixed list in this file. reads a credential or environment file. a file was over the read cap and was not fully read. the file cap was reached before every file was read.
Date and source
Date checked:
github.com
Commit graded: 78fe5eb3bbcc84f0f08f645bf4edd60c4ceef5f1
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.