Agent Session Reader MCP Server

agent-session-reader PyPI v0.4.2

Published by pro-target — no publish provenance and no vendor-owned scope, so the publisher could not be verified. The repository link below is self-declared.

Trust grade
F
57/100
Last scanned
Trust
F · 57/100
How safe the published surface and source look. Deterministic; every point is auditable.
Capability
High
Blast radius if it went rogue — what the server’s tools could reach. Independent of trust.
Coverage
Source
How much the scan could actually inspect. Shallow coverage is stated, never hidden.
F Why this grade 100 − 42.8 = 57/100

Every server starts at 100. These are the exact deductions the deterministic engine applied — each one reproducible, none of it an opinion or an LLM's guess:

PointsWhat was foundCategory
−40.7 Hardcoded GitHub token in server code ×4 MTC-SRC-008 exfiltration
−2.1 Package has no source repository MTC-SUP-011 supply-chain

Grade capped: 4 confirmed high findings → grade capped at D. A hard gate overrides the point total — no amount of clean surface buys back a confirmed catastrophe.

Capability observations and info notes are shown under Findings but never scored. Open any row's finding below for the file, line and evidence behind the deduction.

Findings 7

high Hardcoded GitHub token in server code (tests/test_get_body_tool_call.py)MTC-SRC-008

A live-looking GitHub token is hardcoded in `tests/test_get_body_tool_call.py:144`. Secrets in source ship to everyone who installs the package and are a direct credential leak.

Evidence: GitHub token: ghp_…(redacted)

Fix: Remove the secret, rotate it, and load credentials from the environment or a secret store.

Location: server tests/test_get_body_tool_call.py

high Hardcoded Slack token in server code (tests/test_redact.py)MTC-SRC-008

A live-looking Slack token is hardcoded in `tests/test_redact.py:47`. Secrets in source ship to everyone who installs the package and are a direct credential leak.

Evidence: Slack token: xoxb…(redacted)

Fix: Remove the secret, rotate it, and load credentials from the environment or a secret store.

Location: server tests/test_redact.py

high Hardcoded GitHub token in server code (tests/test_tool_resolution.py)MTC-SRC-008

A live-looking GitHub token is hardcoded in `tests/test_tool_resolution.py:384`. Secrets in source ship to everyone who installs the package and are a direct credential leak.

Evidence: GitHub token: ghp_…(redacted)

Fix: Remove the secret, rotate it, and load credentials from the environment or a secret store.

Location: server tests/test_tool_resolution.py

high Hardcoded GitHub token in server code (tests/test_user_refs.py)MTC-SRC-008

A live-looking GitHub token is hardcoded in `tests/test_user_refs.py:575`. Secrets in source ship to everyone who installs the package and are a direct credential leak.

Evidence: GitHub token: ghp_…(redacted)

Fix: Remove the secret, rotate it, and load credentials from the environment or a secret store.

Location: server tests/test_user_refs.py

high Shell/command execution in server code (src/ai_r/legacy_compat.py)MTC-SRC-002

In the server's implementation (`src/ai_r/legacy_compat.py:80`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: subprocess.run(

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server src/ai_r/legacy_compat.py

high Shell/command execution in server code (tests/test_cli.py)MTC-SRC-002

In the server's implementation (`tests/test_cli.py:54`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: subprocess.run(

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server tests/test_cli.py

low Package has no source repositoryMTC-SUP-011

"agent-session-reader" declares no repository URL, so its published artifact cannot be compared against reviewable source.

Fix: Prefer packages that link to public, reviewable source.

Location: package agent-session-reader

What this scan could not see

Versions

Scan history per published version. The engine is deterministic — the same version always yields the same score, so a changed score means the package itself changed.

VersionScoreFindingsEngineScanned
v0.4.2 latest F 57/100 7 1.5.0 2026-07-23

Embed this score

Show this server's live Trust Score in your README, docs or website. The badge is served straight from the registry and updates automatically after every rescan — no API key needed. It links back to this page, so anyone who sees the grade can also read the findings behind it instead of taking a number on faith.

MCP Trust Score: F · 57/100
Markdown (GitHub README)
[![MCP Trust Score](https://mcptrustchecker.com/registry/agent-session-reader/badge.svg)](https://mcptrustchecker.com/registry/agent-session-reader)
HTML
<a href="https://mcptrustchecker.com/registry/agent-session-reader"><img src="https://mcptrustchecker.com/registry/agent-session-reader/badge.svg" alt="MCP Trust Score" height="20"></a>
Prefer shields.io styling? Point it at https://mcptrustchecker.com/registry/agent-session-reader/badge.json via https://img.shields.io/endpoint?url=…

Verify this score yourself

The score above is reproducible: the same package version always yields the same result. Run it locally or over the free API — no account, no LLM, fully deterministic.

npx mcptrustchecker scan agent-session-reader --online --registry pypi

Use the free API → How scoring works

More in Analytics & Monitoring