Grades are a hygiene check, not a security guarantee.

MCP, MCP server

io.github.apolocine/mosta-net

One schema, 11 transports, 13 databases, multi-tenant auth — out of the box. Schema-driven multi-protocol API server for the @mostajs ecosystem.

Compatibility: Not stated.

Grade B

Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.

Graded by PlugVetRubric v2

Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.

PERMISSION_DELETE_FILES NETWORK_NO_FIXED_HOST SECRETS_PATH_DOTENV

Why this grade

  • PERMISSION_DELETE_FILES Low

    Contains a call that can delete files.

    src/server.ts, line 1182 try { fs.unlinkSync('schemas.json'); } catch {}

  • NETWORK_NO_FIXED_HOST Low

    Makes a network call whose host is not written as a fixed address.

    src/server.ts, line 2727 const res=await fetch(BASE+'/api/projects');

  • SECRETS_PATH_DOTENV Low

    Mentions a .env file.

    start-net.sh, line 7 # Config: loaded from .env.local

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

    src/server.ts, line 1182

    try { fs.unlinkSync('schemas.json'); } catch {}

  • 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.

    NETWORK_NO_FIXED_HOST

    src/server.ts, line 2727

    const res=await fetch(BASE+'/api/projects');

    src/server.ts, line 2800

    const res=await fetch(BASE+'/api/projects');

    src/server.ts, line 2834

    const res=await fetch(BASE+'/api/projects');

    Show more

    src/server.ts, line 2918

    const res=await fetch(BASE+'/api/test-connection',{method:'POST',headers:{'Content-Type':'application/json'},body:JSON.stringify({dialect,uri})});

    src/server.ts, line 2931

    const res=await fetch(BASE+'/api/create-database',{method:'POST',headers:{'Content-Type':'application/json'},body:JSON.stringify({dialect,uri})});

    src/server.ts, line 2979

    const res=await fetch(url,{method,headers:{'Content-Type':'application/json'},body:JSON.stringify(body)});

    src/server.ts, line 3000

    const res=await fetch(BASE+'/api/projects');

    src/server.ts, line 3034

    const res=await fetch(BASE+'/api/projects/'+name+'?'+params.toString(),{method:'DELETE'});

  • Secrets

    Concern

    reads a credential or environment file.

    SECRETS_PATH_DOTENV

    start-net.sh, line 7

    # Config: loaded from .env.local

    start-net.sh, line 12

    # Load .env.local if present

    start-net.sh, line 13

    if [ -f .env.local ]; then

    Show more

    start-net.sh, line 15

    source .env.local

    src/cli.ts, line 38

    console.log(` Add to .env.local:`);

    src/cli.ts, line 55

    console.log(` Set MOSTA_NET_{TRANSPORT}_ENABLED=true in .env.local`);

    src/server.ts, line 55

    * 1. Load config from .env.local (MOSTA_NET_*)

    src/server.ts, line 900

    // Write .env.local

  • Agent instructions

    Pass

    No instruction to ignore earlier instructions or to hide a step.

  • Obfuscation

    Pass

    No encoded or minified payload found.

  • 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 2ba356932332. can delete files. can reach a host that is not written as a fixed address. reads a credential or environment file.

Date and source

Date checked:

View source

github.com

Commit graded: 2ba356932332a4d8da603fbe9da8670eba913d50

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.

Read how this letter is chosen