Grades are a hygiene check, not a security guarantee.

MCP, MCP server

io.github.SPerekrestova/interactive-leetcode-mcp

Interactive LeetCode practice with learning-guided hints, solution submission, and AI-driven authentication via MCP server

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 9a9a9c1698ef, unchanged since the check below.

INSTALL_LIFECYCLE_HOOK SECRETS_PATH_CREDENTIAL

Why this grade

  • INSTALL_LIFECYCLE_HOOK Medium

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

    package.json, line 35 prepare

  • SECRETS_PATH_CREDENTIAL Medium

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

    src/auth/auth-flow.ts, line 6 * `~/.leetcode-mcp/credentials.json` but the running server never re-hydrated

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/runner/sandbox.ts, line 49

    * pass dynamic values, and the default `child_process.exec` is a

    src/utils/credentials.ts, line 53

    await fs.unlink(this.credentialsFile);

  • Install and update

    Concern

    runs a script at install time.

    INSTALL_LIFECYCLE_HOOK

    package.json, line 35

    prepare

  • Network

    Concern

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

    NETWORK_NO_FIXED_HOST

    src/leetcode/leetcode-global-service.ts, line 458

    const submitResponse = await axios.post(

    src/leetcode/leetcode-global-service.ts, line 496

    const checkResponse = await axios.get(checkUrl, {

    src/leetcode/leetcode-global-service.ts, line 633

    const response = await axios.post(`${baseUrl}/graphql`, graphqlQuery, {

    Show more

    src/leetcode/leetcode-global-service.ts, line 685

    const response = await axios.post(

  • Secrets

    Concern

    reads a credential or environment file.

    SECRETS_PATH_CREDENTIAL SECRETS_PATH_DOTENV

    src/auth/auth-flow.ts, line 6

    * `~/.leetcode-mcp/credentials.json` but the running server never re-hydrated

    src/mcp/prompts/auth-prompts.ts, line 83

    s are stored locally in ~/.leetcode-mcp/credentials.json with restricted file permissions (owner

    src/mcp/prompts/auth-prompts.ts, line 166

    - Credentials are stored locally in ~/.leetcode-mcp/credentials.json with restricted file permissions`;

    Show more

    src/utils/credentials.ts, line 17

    this.credentialsFile = join(this.credentialsDir, "credentials.json");

    .gitignore, line 57

    # dotenv environment variables file

    clawhub-skill/interactive-leetcode-mcp/SKILL.md, line 10

    config: [~/.leetcode-mcp/credentials.json]

    clawhub-skill/interactive-leetcode-mcp/SKILL.md, line 12

    stores: ~/.leetcode-mcp/credentials.json

    clawhub-skill/interactive-leetcode-mcp/SKILL.md, line 120

    2. If not authenticated or expired → **ask the user if they want to authenticate.** Explain that this will store LeetCode session cookies locally at `~/.leetcode-mcp/credentials.js

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

    OBFUSCATION_FILE_OVER_READ_CAP

    package-lock.json, 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 9a9a9c1698ef. 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. a file was over the read cap and was not fully read.

Date and source

Date checked:

View source

github.com

Commit graded: 9a9a9c1698efda30730adcb3828ee373269f2ca7

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