Skills/PyPI/ai-rule-learning-mcp

ai-rule-learning-mcp@0.2.7

CAUTION· not started

Publisher claims: "Local MCP server and CLI for learned AI guardrails, memory, skills, and agent config injection" In our sandbox: Not started: dependency install failed; the server itself was not observed.

Registry PyPI (MCP server)Publisher faju85 · publishing for 159 daysInstalls 54Last detonated 3d ago

Coverage

Not started: dependency install failed; the server itself was not observed.
Tested
the dependency install step · every file read, file written and host contacted by what ran
Not tested
server startup · the tool list · tool behavior

What this means for the label: Caution here covers what ran. The server's tools were not exercised with a real credential, so nothing about their behavior is asserted; the credential summary below says what to do with that.

Behavior

In our sandbox run on 2026-11-22, [email protected] read no files and called no hosts, and its code names 18 environment variables. Coverage: not started.

Files read

None recorded.

Hosts called

None recorded.

Environment variables its code names

ARL_COMMUNITY_CONTRIBUTIONS_FILE, ARL_CONTRIBUTE, ARL_ENFORCE, ARL_INJECTION_THRESHOLD, ARL_METRICS_ENDPOINT, ARL_RULE_TTL_DAYS, ARL_SESSIONS, CLOUDFLARE_ACCOUNT_ID, COMMUNITY_CDN_URL, COMMUNITY_RELAY_URL, ENABLE_SEMANTIC_DETECTION, INJECTION_CLASSIFIER_MODEL, R2_ACCESS_KEY_ID, R2_ACCOUNT_ID, R2_BUCKET, R2_ENDPOINT, R2_PREFIX, R2_SECRET_ACCESS_KEY

Names only, read from the code. We never hold a value.

Tools offered

No tool list recorded.

Changes since the prior version

Compared with 0.2.6. Coverage then: not started. Coverage now: not started. One side did not run far enough for a full comparison.

  • New host: apple.com
  • New host: workers.dev
  • New credential variable: R2_ACCESS_KEY_ID
  • New credential variable: R2_SECRET_ACCESS_KEY

What we did not test

  • server startup
  • the tool list
  • tool behavior
Run date2026-11-22
Coveragenot started
Engine1.9.2, script@linux
Reproducenpx -y vet-skills try ai-rule-learning-mcp
This recordbehavior.json, behavior.md, signed attestation

This is a record of what one version did in the runs we made. It is evidence, not a certificate.

Before you give it your token

It will ask for
R2_ACCESS_KEY_IDR2_SECRET_ACCESS_KEYConfiguration, not credentials: ARL_COMMUNITY_CONTRIBUTIONS_FILE, ARL_CONTRIBUTE, ARL_ENFORCE, ARL_INJECTION_THRESHOLD, ARL_METRICS_ENDPOINT, ARL_RULE_TTL_DAYS, ARL_SESSIONS, CLOUDFLARE_ACCOUNT_ID, COMMUNITY_CDN_URL, COMMUNITY_RELAY_URL, ENABLE_SEMANTIC_DETECTION, INJECTION_CLASSIFIER_MODEL, R2_ACCOUNT_ID, R2_BUCKET, R2_ENDPOINT, R2_PREFIX
Where it talks to
no vendor host named in the codeAlso workers.dev, apple.com — not the publisher's domain; check what for before connecting.
What we saw when it ran
no credential files read · no network
What we could not test
server startup · the tool list · tool behavior

Connect it with a scoped credential, under the guard, and read the third-party hosts first. The code names workers.dev, apple.com as well as its own vendor. The guard injects R2_ACCESS_KEY_ID, R2_SECRET_ACCESS_KEY only into requests to the host you bind (and its subdomains) and refuses the rest.

$vet-skills run --net declared -- uvx ai-rule-learning-mcp

Never paste a credential into a chat, a ticket or a report, including ours. How the guard holds it.

What changed since 0.2.6

vet-skills diff ai-rule-learning-mcp 0.2.6 0.2.7

This version reaches for something 0.2.6 did not: 2 new hosts (apple.com, workers.dev) · 2 new credential variables (R2_ACCESS_KEY_ID, R2_SECRET_ACCESS_KEY). Compared from the two recorded runs, not from source.

New hosts
apple.com, workers.dev
New credential variables
R2_ACCESS_KEY_ID, R2_SECRET_ACCESS_KEY

0.2.6 was not run in the sandbox (install failed); the comparison covers what static analysis recorded only.

The guard can hold an update like this until someone approves it (runtime.on_change: hold). A change that only shows with a real credential, or on a path the run did not reach, is not in a trace and so not in this comparison.

Is [email protected] safe to install?

KillerSkills ran it in the KillerSkills honeypot sandbox (2 scenarios; not started: dependency install failed; the server itself was not observed) on 2026-11-22 and scored it 78/100 (Caution). It is not known to be malicious, but it has behaviour or code a security policy should decide on before install. Notable findings: Access to sensitive file paths; Privileged sudo command; Privileged sudo command. Summary: no network, touches nothing outside the project, writes no memory.

Behavior trace

Honeypot run · 0 s · 2 scenarios · 0 deviations
t+CategoryObserved action
0.0sprocessno install scripts in bundle
0.2sprocessdependency install exit 1 ·
0.2sclaimednot started: dependency install failed (exit 1); the server itself was not observed
0.2sprocessscript backend runs setup only
0.2sprocessno install scripts to re-run

Static findings

LOW
Refusal suppressionai_rule_learning_mcp/data/catalog_v1.json:721 · Refusal suppression — attempting to prevent safety responses · informational: not an instruction file…ource": "Bai et al. (2022), Anthropic, arXiv:2212.08073", "instruction": "Do not refuse benign software engineering questions due to superficial keyword matches with d…Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
HIGH
Access to sensitive file pathsai_rule_learning_mcp/store.py:174 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files- Path traversal sequences (../../etc/passwd)Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Privileged sudo commandai_rule_learning_mcp/safety.py:30 · Privileged sudo command — agent may execute with elevated privileges"sudo mode",Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Python exec or eval of computed codetests/test_gap_detector.py:101 · Python exec or eval of computed codeassert gaps["code_eval_usage"][0]["evidence"] == "eval("Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.
AST05
MEDIUM
Python subprocess execution detectedtests/test_audit_remediation.py:430 · Python subprocess execution detectedres = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
LOW
Instructs the agent to modify its persistent memory or instruction filesai_rule_learning_mcp/claude_md.py:1 · Instructs the agent to modify its persistent memory or instruction files · informational: not an instruction file"""Write/update the AI Rule Learning guardrail section in ~/.claude/CLAUDE.md.Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
MEDIUM
Python subprocess execution detectedai_rule_learning_mcp/enforcement.py:142 · Python subprocess execution detectedsubprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedai_rule_learning_mcp/scheduler.py:170 · Python subprocess execution detectedsubprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python exec or eval of computed codeai_rule_learning_mcp/gap_detector.py:472 · Python exec or eval of computed codegaps.setdefault("code_eval_usage", []).append({"turn": i + 1, "evidence": "eval("})Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.
AST05
MEDIUM
Python subprocess execution detectedai_rule_learning_mcp/scheduler.py:95 · Python subprocess execution detectedsubprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedai_rule_learning_mcp/scheduler.py:221 · Python subprocess execution detectedresult = subprocess.run(["crontab", "-l"], capture_output=True, text=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
HIGH
Privileged sudo commandai_rule_learning_mcp/injection.py:94 · Privileged sudo command — agent may execute with elevated privileges# jailbreak / developer / god / dan / sudo / unrestricted / admin modeFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Python subprocess execution detectedai_rule_learning_mcp/scheduler.py:229 · Python subprocess execution detectedproc = subprocess.run(["crontab", "-"], input=content, text=True, capture_output=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedtests/test_audit_remediation.py:391 · Python subprocess execution detectedproc = subprocess.Popen(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
LOW
Instructs the agent to modify its persistent memory or instruction filesai_rule_learning_mcp/injector.py:185 · Instructs the agent to modify its persistent memory or instruction files · informational: not an instruction filepaths.append(Path.home() / ".claude" / "CLAUDE.md")Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
MEDIUM
Python exec or eval of computed codeai_rule_learning_mcp/gap_detector.py:262 · Python exec or eval of computed code"Avoid `eval()` — it executes arbitrary code and is a critical "Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.
AST05
LOW
Instructs the agent to modify its persistent memory or instruction filesai_rule_learning_mcp/injector.py:393 · Instructs the agent to modify its persistent memory or instruction files · informational: not an instruction filepaths.append(Path.cwd() / "AGENTS.md")Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
MEDIUM
Python subprocess execution detectedai_rule_learning_mcp/scheduler.py:110 · Python subprocess execution detectedsubprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
LOW
Fake instruction boundary tagai_rule_learning_mcp/data/catalog_v1.json:1040 · Fake instruction boundary tag · informational: not an instruction file"instruction": "Structure complex multi-component inputs with explicit XML tags (such as <context>, <rules>, <input>). Ensure matching closing tags and valid document hierarchy.",Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01
MEDIUM
Python exec or eval of computed codetests/test_gap_detector.py:97 · Python exec or eval of computed codeagent = "```python\nresult = eval(user_input)\n```"Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.
AST05
HIGH
Privileged sudo commandai_rule_learning_mcp/injection.py:76 · Privileged sudo command — agent may execute with elevated privileges"sudo mode",Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
LOW
Instructs the agent to modify its persistent memory or instruction filesai_rule_learning_mcp/injector.py:187 · Instructs the agent to modify its persistent memory or instruction files · informational: not an instruction filepaths.append(Path.cwd() / "CLAUDE.md")Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.
AST01

Cost to the agent

Instructions loaded
≈64 tok
1 file · 80 in bundle
Tool list per prompt
≈0 tok
0 tools · 0 per tool
Handshake
no reply
launch to tools/list, stdio
Undocumented tools
0
description under 20 chars · avg 0

Tokens estimated at four characters each. The tool list is re-read by the agent on every turn, so it is the number to compare between servers that do the same job: ranked across the index.

Known vulnerabilities

No advisories in OSV for ai-rule-learning-mcp@0.2.7 as of 3d ago. This is the package itself, not its dependencies.

What would make this Verified

2 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%
  1. Unclaimed publisher≈ +8 on the totalClaim faju85: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
  2. Access to sensitive file paths≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
  3. Privileged sudo command≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
  4. Python exec or eval of computed code≈ +2 on the totalPut hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.
  5. Python subprocess execution detected≈ +2 on the totalBuild commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
Publish a new version to PyPI, then queue it here. Not your skill? Claim the handle to get verdict changes by email.Claim faju85Propose a patch to the maintainer