Grades are a hygiene check, not a security guarantee.

MCP, MCP server

Mcp Nest

A NestJS module to effortlessly create Model Context Protocol (MCP) servers for exposing AI tools, resources, and prompts.

Compatibility: Not stated.

Grade C

One Medium finding. Read the findings before installing.

Graded by PlugVetRubric v2

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

Rescanned at commit 5811269672b5.

INSTALL_LIFECYCLE_HOOK

Why this grade

  • INSTALL_LIFECYCLE_HOOK Medium

    A package install hook (preinstall, install, postinstall or prepare) runs a script.

    package.json, line 16 prepare

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

    Pass

    No shell or command execution found, and no extra permission was declared.

  • Install and update

    Concern

    runs a script at install time.

    INSTALL_LIFECYCLE_HOOK

    package.json, line 16

    prepare

  • Network

    Concern

    can reach a host that is not written as a fixed address.

    NETWORK_NO_FIXED_HOST

    e2e/built-in-authorization-server-cimd.test.ts, line 71

    return fetch(url, { redirect: 'manual', headers });

    e2e/built-in-authorization-server-cimd.test.ts, line 77

    * `fetch(..., { redirect: 'follow' })` does NOT persist `Set-Cookie` across

    e2e/built-in-authorization-server-cimd.test.ts, line 93

    const res = await fetch(url, {

    Show more

    e2e/built-in-authorization-server-cimd.test.ts, line 249

    const res = await fetch(`${baseUrl}/auth/register`, {

    e2e/built-in-authorization-server.test.ts, line 132

    const res = await fetch(`${baseUrl}/.well-known/oauth-authorization-server`);

    e2e/built-in-authorization-server.test.ts, line 148

    const res = await fetch(`${baseUrl}/.well-known/oauth-protected-resource`);

    e2e/built-in-authorization-server.test.ts, line 162

    const res = await fetch(`${baseUrl}/auth/register`, {

    e2e/custom-controllers.test.ts, line 73

    const res = await fetch(server.url, {

  • Secrets

    Concern

    reads a credential or environment file.

    SECRETS_ENV_READ SECRETS_PATH_DOTENV

    examples/azure-ad-oauth-provider/scripts/mint-jwt.ts, line 5

    const secret = process.env.JWT_SECRET || 'fake-azure-ad-jwt-secret-0123456789abcdef';

    examples/azure-ad-oauth-provider/src/main.ts, line 26

    process.env.AZURE_AD_CLIENT_SECRET || (FAKE_AUTH ? 'fake-azure-client-secret' : undefined);

    examples/azure-ad-oauth-provider/src/main.ts, line 28

    process.env.JWT_SECRET || (FAKE_AUTH ? FAKE_JWT_SECRET : undefined);

    Show more

    examples/azure-ad-provider/scripts/mint-jwt.ts, line 7

    process.env.JWT_SECRET || 'fake-jwt-secret-at-least-32-characters-long';

    examples/azure-ad-provider/src/main.ts, line 23

    process.env.AZURE_AD_CLIENT_SECRET ||

    examples/azure-ad-provider/src/main.ts, line 27

    process.env.JWT_SECRET ||

    examples/built-in-authorization-server/scripts/mint-jwt.ts, line 9

    process.env.JWT_SECRET ?? 'dev-super-secure-jwt-secret-at-least-32-chars';

    examples/built-in-authorization-server/src/main.ts, line 23

    process.env.JWT_SECRET ?? 'dev-super-secure-jwt-secret-at-least-32-chars';

    examples/server-examples/smoke.ts, line 62

    env: { ...process.env, PORT, ...env },

    docs/azure-ad-oauth-provider.md, line 137

    Create a `.env` file with your Azure AD configuration:

    docs/azure-ad-provider.md, line 141

    Create a `.env` file with your Azure AD configuration:

    docs/built-in-authorization-server.md, line 883

    Create a `.env` file with the required variables:

  • 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. the file cap was reached before every file was read.

    OBFUSCATION_FILE_OVER_READ_CAP OBFUSCATION_FILE_CAP_REACHED

    package-lock.json, line 1

    {

    tests/mcp-trace-context.e2e.spec.ts, 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 5811269672b5. runs a script at install time. can reach a host that is not written as a fixed address. reads a credential or environment file. a file was over the read cap and was not fully read. the file cap was reached before every file was read.

Date and source

Date checked:

View source

github.com

Commit graded: 5811269672b5cbf0c9f2b6023f0ae5ba1f5ce1a4

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