Grades are a hygiene check, not a security guarantee.

MCP, MCP server

tgcli

Telegram CLI for reading/searching messages, syncing archives, and sending or downloading files.

Compatibility: Not stated.

Grade C

One Medium finding. Read the report before installing.

Graded by PlugVetRubric v2

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

INSTALL_REMOTE_SCRIPT

Why this grade

  • INSTALL_REMOTE_SCRIPT Medium

    Fetches a script from the network and runs it (a pipe to a shell, or an install hook with a URL).

    package.json, line 11 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

    Concern

    can delete files.

    PERMISSION_DELETE_FILES

    store-lock.js, line 48

    fs.unlinkSync(lockPath);

    store-lock.js, line 118

    fs.unlinkSync(lockPath);

    store-lock.js, line 152

    fs.unlinkSync(readLockPath);

    Show more

    telegram-client.js, line 592

    fs.unlinkSync(filePath);

    telegram-client.js, line 1244

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

    core/control-server.js, line 32

    fs.unlinkSync(filePath);

  • Install and update

    Serious

    install fetches a script from the network.

    INSTALL_REMOTE_SCRIPT

    package.json, line 11

    prepare

    Dockerfile, line 7

    RUN (groupadd -r service-user) && (useradd -u 1987 -r -m -g service-user service-user) && (mkdir -p /home/service-user/.local/bin /app) && (chown -R service-user:service-user /home

  • Network

    Concern

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

    NETWORK_NO_FIXED_HOST

    core/control-client.js, line 84

    const res = await fetch(controlUrl(control, pathname), {

  • Secrets

    Concern

    reads a credential or environment file.

    SECRETS_PATH_DOTENV

    .gitignore, line 72

    # dotenv environment variable files

    .gitignore, line 73

    .env

    .gitignore, line 74

    .env.development.local

    Show more

    .gitignore, line 75

    .env.test.local

    .gitignore, line 76

    .env.production.local

    .npmignore, line 3

    .gitignore

    AGENTS.md, line 23

    - Store secrets in `.env`; never hard-code API credentials or session paths in commits.

    MIGRATION.md, line 20

    - `.env` loading is removed; use `tgcli auth` to set credentials.

  • 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 2bc41e74cad3. can delete files. install fetches a script from the network. 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: 2bc41e74cad35ca208120951490c31e5d3107b5d

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