Grades are a hygiene check, not a security guarantee.

Codex, Plugin

Mail Agent

Fastmail-first Codex plugin and local MCP daemon for agent-friendly mail, calendar, and contacts workflows.

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.

Rescanned at commit 35e9353b13e4, unchanged since the check below.

PERMISSION_DELETE_FILES NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST SECRETS_PATH_DOTENV SECRETS_ENV_READ

Why this grade

  • PERMISSION_DELETE_FILES Low

    Contains a call that can delete files.

    packages/shared/src/cache.ts, line 45 await fs.rm(this.root, { recursive: true, force: true });

  • NETWORK_NO_FIXED_HOST Low

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

    packages/daemon/src/providers/fastmail/dav-client.ts, line 72 return await fetch(url, {

  • NETWORK_UNNAMED_HOST Low

    Calls a fixed host that the description does not name.

    packages/daemon/src/providers/fastmail/dav-client.ts, line 72 return await fetch(url, {

  • SECRETS_PATH_DOTENV Low

    Mentions a .env file.

    .gitignore, line 7 .env

  • SECRETS_ENV_READ Note

    Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.

    packages/shared/src/secrets.ts, line 168 if (process.env.MAIL_AGENT_SECRET_BACKEND === "file" || process.env.CI === "true") {

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

    packages/shared/src/cache.ts, line 45

    await fs.rm(this.root, { recursive: true, force: true });

    plugins/mail-agent/src/installer.ts, line 413

    await fs.rm(target, { recursive: true, force: true });

  • 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. can reach gmail.googleapis.com. The description does not name that host.

    NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST

    packages/daemon/src/providers/fastmail/dav-client.ts, line 72

    return await fetch(url, {

    packages/daemon/src/providers/fastmail/jmap-client.ts, line 30

    const response = await fetch(this.sessionUrl, {

    packages/daemon/src/providers/fastmail/jmap-client.ts, line 53

    const response = await fetch(session.apiUrl, {

    Show more

    packages/daemon/src/providers/google/client.ts, line 61

    const response = await fetch(this.auth.tokenUrl, {

    packages/daemon/src/providers/google/client.ts, line 120

    const response = await fetch(url, {

    plugins/mail-agent/src/auth.ts, line 123

    const profileResponse = await fetch("https://gmail.googleapis.com/gmail/v1/users/me/profile", {

    plugins/mail-agent/src/oauth.ts, line 200

    const response = await fetch(options.tokenUrl, {

  • Secrets

    Concern

    reads a credential or environment file.

    SECRETS_ENV_READ SECRETS_PATH_DOTENV

    packages/shared/src/secrets.ts, line 168

    if (process.env.MAIL_AGENT_SECRET_BACKEND === "file" || process.env.CI === "true") {

    plugins/mail-agent/src/doctor.ts, line 71

    secretBackend: process.env.MAIL_AGENT_SECRET_BACKEND ?? "keytar",

    .gitignore, line 7

    .env

    Show more

    .gitignore, line 6

    .artifacts/

  • 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 35e9353b13e4. can delete files. can reach a host that is not written as a fixed address. can reach gmail.googleapis.com. The description does not name that host. reads a credential or environment file.

Date and source

Date checked:

View source

github.com

Commit graded: 35e9353b13e40623bc59784cd0070ada1cb93191

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