Grades are a hygiene check, not a security guarantee.

MCP, MCP server

Gitlab Mcp

MCP server for GitLab: 100+ tools for projects, MRs, issues, pipelines, wikis and more via the GitLab REST/GraphQL API

Compatibility: Not stated.

Grade D

Two or more Medium findings, or a High finding. Only try it in a sandbox.

Graded by PlugVetRubric v2

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

Rescanned at commit 64f317e7d230.

INSTALL_LIFECYCLE_HOOK SECRETS_PATH_CREDENTIAL OBFUSCATION_ENCODED_BLOB

Why this grade

  • INSTALL_LIFECYCLE_HOOK Medium

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

    package.json, line 49 prepare

  • SECRETS_PATH_CREDENTIAL Medium

    Mentions a credential store path (~/.ssh, id_rsa, .npmrc, .aws/credentials, credentials.json, .netrc).

    utils/version-check.ts, line 60 * Resolves the npm registry to use, honoring `.npmrc` / `npm_config_registry`.

  • OBFUSCATION_ENCODED_BLOB Medium

    Contains a long base64 shaped string in a file that should be readable.

    index.ts, line 1 #!/usr/bin/env node

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

    oauth.ts, line 144

    fs.unlinkSync(keyPath);

    oauth.ts, line 157

    fs.unlinkSync(keyPath);

    oauth.ts, line 911

    fs.unlinkSync(this.tokenStoragePath);

    Show more

    mcp-server/src/state-tools.ts, line 112

    fs.unlinkSync(statePath);

    mcp-server/src/state-tools.ts, line 122

    fs.unlinkSync(path.join(stateDir, file));

    scripts/release.test.ts, line 70

    fs.rmSync(repo, { recursive: true, force: true });

  • Install and update

    Concern

    runs a script at install time.

    INSTALL_LIFECYCLE_HOOK

    package.json, line 49

    prepare

  • Network

    Concern

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

    NETWORK_NO_FIXED_HOST

    gitlab-client-pool.ts, line 108

    const dummyReq = http.request({

    oauth-proxy.ts, line 695

    const response = await fetch(`${this._gitlabBaseUrl}/oauth/token`, {

    oauth-proxy.ts, line 772

    const res = await fetch(`${this._gitlabBaseUrl}/api/v4/groups?min_access_level=10&per_page=100&page=${page}`, {

    Show more

    oauth-proxy.ts, line 820

    const response = await fetch(`${this._gitlabBaseUrl}/oauth/token`, {

    oauth-proxy.ts, line 849

    let res = await fetch(`${this._gitlabBaseUrl}/oauth/token/info`, {

    oauth-proxy.ts, line 860

    res = await fetch(

    oauth-proxy.ts, line 989

    const tokenResponse = await fetch(`${this._gitlabBaseUrl}/oauth/token`, {

    oauth-proxy.ts, line 1057

    const response = await fetch(`${this._gitlabBaseUrl}/oauth/revoke`, {

  • Secrets

    Concern

    reads a credential or environment file.

    SECRETS_ENV_READ SECRETS_PATH_CREDENTIAL SECRETS_PATH_DOTENV

    config.ts, line 38

    envToken: process.env.GITLAB_PERSONAL_ACCESS_TOKEN,

    config.ts, line 39

    filePath: process.env.GITLAB_PERSONAL_ACCESS_TOKEN_FILE,

    utils/version-check.ts, line 60

    * Resolves the npm registry to use, honoring `.npmrc` / `npm_config_registry`.

    Show more

    oauth.ts, line 793

    const timeoutSeconds = Number.parseInt(process.env.GITLAB_OAUTH_TOKEN_SCRIPT_TIMEOUT_SECONDS || "30", 10);

    oauth.ts, line 1059

    const clientSecret = process.env.GITLAB_OAUTH_CLIENT_SECRET;

    oauth.ts, line 1061

    const tokenStoragePath = process.env.GITLAB_OAUTH_TOKEN_PATH;

    oauth.ts, line 1062

    const tokenScript = process.env.GITLAB_OAUTH_TOKEN_SCRIPT;

    scripts/generate-star-history.py, line 35

    token = os.environ.get("GH_TOKEN") or os.environ.get("GITHUB_TOKEN")

    utils/download-token.ts, line 24

    const secret = process.env.DOWNLOAD_TOKEN_SECRET;

    utils/version-check.ts, line 94

    paths.push(join(process.cwd(), ".npmrc"));

    .github/hooks/pre-tool-use.sh, line 23

    # Guard: prevent modifications to .env files with secrets

    .github/hooks/pre-tool-use.sh, line 24

    if echo "$TOOL_INPUT" | grep -qE '\.env(\.local|\.production|\.secret)?'; then

    .github/hooks/pre-tool-use.sh, line 26

    echo '{"decision": "deny", "reason": "Direct .env file modification blocked. Review secrets manually."}'

    .github/skills/security-scan/SKILL.md, line 41

    # Check .env is in .gitignore

  • Agent instructions

    Pass

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

  • Obfuscation

    Concern

    contains an encoded blob in a file that should be readable.

    OBFUSCATION_ENCODED_BLOB

    index.ts, line 1

    #!/usr/bin/env node

    schemas.ts, line 1

    import { z } from "zod";

    README.ko.md, line 5

    [![Install in Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en/install-mcp?name=zereight.gitlab-mcp&config=eyJ0eXBlIjoic3RkaW8iLCJjb21tYW5kIjoibnB4I

    Show more

    README.md, line 8

    [![Install in Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en/install-mcp?name=zereight.gitlab-mcp&config=eyJ0eXBlIjoic3RkaW8iLCJjb21tYW5kIjoibnB4I

    README.pt-BR.md, line 5

    [![Install in Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en/install-mcp?name=zereight.gitlab-mcp&config=eyJ0eXBlIjoic3RkaW8iLCJjb21tYW5kIjoibnB4I

    README.zh-CN.md, line 5

    [![Install in Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en/install-mcp?name=zereight.gitlab-mcp&config=eyJ0eXBlIjoic3RkaW8iLCJjb21tYW5kIjoibnB4I

    docs/clients/cursor.md, line 5

    [![Install in Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/en/install-mcp?name=zereight.gitlab-mcp&config=eyJ0eXBlIjoic3RkaW8iLCJjb21tYW5kIjoibnB4I

  • 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 64f317e7d230. can delete files. runs a script at install time. can reach a host that is not written as a fixed address. reads a credential or environment file. contains an encoded blob in a file that should be readable.

Date and source

Date checked:

View source

github.com

Commit graded: 64f317e7d230ffea8477d494347c7039295702e3

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