MCP, MCP server
io.github.charo360/statecli
Give AI agents the ability to remember, replay, and undo their actions.
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 NETWORK_UNNAMED_HOST SECRETS_PATH_DOTENV OBFUSCATION_FILE_OVER_READ_CAP
Why this grade
- PERMISSION_DELETE_FILES Low
Contains a call that can delete files.
python/statecli/client.py, line 486
branch = subprocess.check_output(["git", "rev-parse", "--abbrev-ref", "HEAD"], text=True).strip() - NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
python/statecli/knowledge.py, line 23
with urllib.request.urlopen(req, timeout=8) as resp: - NETWORK_UNNAMED_HOST Low
Calls a fixed host that the description does not name.
python/statecli/knowledge.py, line 23
with urllib.request.urlopen(req, timeout=8) as resp: - SECRETS_PATH_DOTENV Low
Mentions a .env file.
.env.example, line 2
# Copy to .env and fill in values - OBFUSCATION_FILE_OVER_READ_CAP Note
A file was over the read cap and was not fully read.
package-lock.json, line 1
{
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
python/statecli/client.py, line 486
branch = subprocess.check_output(["git", "rev-parse", "--abbrev-ref", "HEAD"], text=True).strip()
python/statecli/client.py, line 487
status = subprocess.check_output(["git", "status", "--short"], text=True).strip()
python/statecli/client.py, line 496
log = subprocess.check_output(
Show more
python/statecli/client.py, line 512
head = subprocess.check_output(["git", "rev-parse", "HEAD"], text=True).strip()
python/statecli/git_integration.py, line 205
result = subprocess.run(
src/statecli.test.ts, line 28
fs.rmSync(testDir, { recursive: true, force: true });
src/storage.test.ts, line 29
fs.rmSync(testDir, { recursive: true, force: true });
src/commands/watch.ts, line 46
fs.unlinkSync(pidFile);
src/commands/watch.ts, line 69
fs.unlinkSync(pidFile);
src/commands/watch.ts, line 73
fs.unlinkSync(pidFile);
src/commands/watch.ts, line 95
fs.unlinkSync(pidFile);
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. can reach html.duckduckgo.com. The description does not name that host.
NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST
python/statecli/knowledge.py, line 23
with urllib.request.urlopen(req, timeout=8) as resp:
python/statecli/knowledge.py, line 56
with urllib.request.urlopen(req, timeout=10) as resp:
src/knowledge-tracker.ts, line 22
const res = await fetch(`https://html.duckduckgo.com/html/?q=${encodeURIComponent(query)}`);
Show more
src/knowledge-tracker.ts, line 54
const res = await fetch(url);
src/telemetry.ts, line 66
const req = https.request(ENDPOINT, {
dashboard/index.html, line 245
fetch('/api/stats').then(r => r.json()),
dashboard/index.html, line 246
fetch('/api/timeline').then(r => r.json()),
dashboard/index.html, line 247
fetch('/api/events?limit=30').then(r => r.json()),
Secrets
Concern
reads a credential or environment file.
SECRETS_PATH_DOTENV
.env.example, line 2
# Copy to .env and fill in values
.gitignore, line 5
*.log
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.
OBFUSCATION_FILE_OVER_READ_CAP
package-lock.json, 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 e6df8f624859. can delete files. can reach a host that is not written as a fixed address. can reach html.duckduckgo.com. The description does not name that host. reads a credential or environment file. a file was over the read cap and was not fully read.
Date and source
Date checked:
github.com
Commit graded: e6df8f6248596daf651ddf2b915068936f8d7568
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.