Skills/PyPI/moodle-obsidian-mcp

moodle-obsidian-mcp@0.8.5

CAUTION· not started

Publisher claims: "MCP server for Moodle with server-side prompt-injection defenses, SSO login and Obsidian vault sync" Observed in sandbox: no network, touches nothing outside the project, writes no memory.

Registry PyPI (MCP server)Publisher carlosandreferreira · publishing for 16 daysInstalls 755Last detonated 27 min 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.

Before you give it your token

It will ask for
MOODLE_TOKENConfiguration, not credentials: MOODLE_MCP_CONFIG_DIR, MOODLE_MCP_LOG_LEVEL, MOODLE_URL
Where it talks to
no vendor host named in the codeAlso uab.pt, utad.pt, evil.example — 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 uab.pt, utad.pt, evil.example as well as its own vendor. The guard injects MOODLE_TOKEN only into requests to the host you bind (and its subdomains) and refuses the rest.

$vet-skills run --net declared -- uvx moodle-obsidian-mcp

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

What changed since 0.8.2

vet-skills diff moodle-obsidian-mcp 0.8.2 0.8.5

In the sandbox, this version reached for nothing 0.8.2 did not. Compared from the two recorded runs, not from source.

0.8.2 was not run in the sandbox (static only); 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-24 and scored it 75/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; Access to sensitive file paths; Access to sensitive file paths. Summary: no network, touches nothing outside the project, writes no memory.

Behavior trace

Honeypot run · 1 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

HIGH
Access to sensitive file pathsmoodle_mcp/config.py:189 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesreturn Path(__file__).resolve().parent.parent / ".env"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsmoodle_mcp/config.py:245 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files"""Lê o `.env` legado sem depender do python-dotenv.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsmoodle_mcp/config.py:188 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files"""Caminho do `.env` legado, ao lado do código."""Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsmoodle_mcp/config.py:9 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files4. O `.env` legado ao lado do código — lido para retrocompatibilidade e migradoFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsmoodle_mcp/config.py:300 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system fileslogger.debug("'%s' veio do .env legado; será migrado na próxima escrita.", key)Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsmoodle_mcp/vault.py:80 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesFicar dentro do Vault protege `~/.ssh` e afins, mas o Vault tem as suasFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Python subprocess execution detectedmoodle_mcp/handler.py:253 · Python subprocess execution detectedresult = subprocess.run(argv, capture_output=True, text=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
HIGH
Access to sensitive file pathsmoodle_mcp/vault.py:36 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filespoderia de outra forma dirigir uma escrita para `~/.ssh/authorized_keys` ouFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
References a credential file in the home directorymoodle_mcp/server.py:1415 · References a credential file in the home directoryseria um canal de exfiltração (p.ex. `~/.ssh/id_rsa`). Coloca o e-fólio noFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST03
HIGH
Access to sensitive file pathspyproject.toml:76 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files".env.example",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Python subprocess execution detectedmoodle_mcp/schedule.py:47 · Python subprocess execution detectedreturn subprocess.run(argv, check=True, capture_output=True, text=True, timeout=60)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
HIGH
Access to sensitive file pathsmoodle_mcp/server.py:1415 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesseria um canal de exfiltração (p.ex. `~/.ssh/id_rsa`). Coloca o e-fólio noFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Python subprocess execution detectedmoodle_mcp/token_catcher.py:119 · Python subprocess execution detectedos.execve(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedmoodle_mcp/handler.py:284 · Python subprocess execution detectedresult = subprocess.run([osacompile, "-o", str(bundle), str(source)], capture_output=True, text=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedmoodle_mcp/handler.py:301 · Python subprocess execution detectedreg = subprocess.run([lsregister, "-f", str(bundle)], capture_output=True, text=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
HIGH
Access to sensitive file pathsmoodle_mcp/server.py:495 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files"O token foi gravado, mas outro definido no ambiente ou no .env legado tem precedência "Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Bidirectional text override characters detectedtests/test_prompt_injection.py:62 · Bidirectional text override characters detected — may hide content directiontext = "Até​ breve‮" + SMUGGLED + "\U000e0101fim"Fix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.
AST07
MEDIUM
Access to sensitive file pathstests/test_robustness.py:27 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system fileslegacy = tmp_path / ".env"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Hidden zero-width characters detectedtests/test_prompt_injection.py:62 · Hidden zero-width characters detected — may conceal contenttext = "Até​ breve‮" + SMUGGLED + "\U000e0101fim"Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.
AST07
MEDIUM
File permission modification commandtests/test_robustness.py:84 · File permission modification command — agent changes file ownership/permissionsassert any("chmod 600" in w and "credentials.json" in w for w in warnings)Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
Python subprocess execution detectedtests/test_catcher.py:89 · Python subprocess execution detectedproc = subprocess.Popen(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Hidden zero-width characters detectedtests/test_prompt_injection.py:70 · Hidden zero-width characters detected — may conceal contentexpected = text.replace("‍", "") # o ZWJ é Cf e sai; o resto fica igualFix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.
AST07
MEDIUM
Access to sensitive file pathstests/conftest.py:5 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesteste o importar. O `.env` legado do repositório é desligado para que um tokenFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Python subprocess execution detectedtests/test_catcher.py:79 · Python subprocess execution detectedout = subprocess.run([sys.executable, "-I", "-c", code], capture_output=True, text=True, check=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
File permission modification commandmoodle_mcp/config.py:663 · File permission modification command — agent changes file ownership/permissionswarnings.append(f"{path} é legível por outros utilizadores: chmod 600 '{path}'")Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
Access to sensitive file pathstests/test_resources.py:79 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesdata["dashboard"] = "../../etc/passwd"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Hidden zero-width characters detectedtests/test_prompt_injection.py:67 · Hidden zero-width characters detected — may conceal content"text", ["a < b e c > d", "Avaliação contínua — ½ das notas, 10 m² 👩‍🎓", "plain ascii", ""]Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.
AST07
MEDIUM
URL with embedded credentialstests/test_token_safety.py:52 · URL with embedded credentials — may be phishing or credential leaking"https://user:[email protected]/webservice/pluginfile.php/1/a.pdf",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST07
MEDIUM
Hidden zero-width characters detectedtests/test_prompt_injection.py:19 · Hidden zero-width characters detected — may conceal content"<!-- instrução escondida --> Até breve​" + SMUGGLED + "</p>"Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.
AST07
MEDIUM
Access to sensitive file pathstests/test_robustness.py:79 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system fileslegacy = tmp_path / ".env"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Access to sensitive file pathstests/test_token_safety.py:60 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files"file:///etc/passwd",Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
URL with embedded credentialstests/test_token_safety.py:222 · URL with embedded credentials — may be phishing or credential leaking["http://moodle.novo.example", "ftp://x.example", "https://user:[email protected]", "https://x.example/?a=1"],Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST07

Cost to the agent

Instructions loaded
≈65 tok
1 file · 47 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

Not checked against OSV yet; the weekly check has not reached this version.

What would make this Verified

5 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%
  1. Unclaimed publisher≈ +8 on the totalClaim carlosandreferreira: 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. References a credential file in the home directory≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
  4. Python subprocess execution detected≈ +2 on the totalBuild commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
  5. Bidirectional text override characters detected≈ +2 on the totalReplace encoded or assembled strings with plain literals and remove undeclared network calls.
  6. Hidden zero-width characters detected≈ +2 on the totalKeep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.
Publish a new version to PyPI, then queue it here. Not your skill? Claim the handle to get verdict changes by email.Claim carlosandreferreiraPropose a patch to the maintainer