Grades are a hygiene check, not a security guarantee.

MCP, MCP server

coworker

Open-source AI agent built with Mastra.

Compatibility: Not stated.

Grade D

Two or more Medium findings, or a High. 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.

INSTALL_REMOTE_SCRIPT SECRETS_PATH_CREDENTIAL

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 28 @mastra/ai-sdk

  • SECRETS_PATH_CREDENTIAL Medium

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

    src/mastra/agents/coworker/prompts/base.ts, line 162 Don't commit files likely to contain secrets (\`.env\`, \`*.key\`, \`credentials.json\`). Warn if asked.

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.

If you think this grade is wrong, email [email protected] with the entry link and your evidence. We aim to acknowledge within two working days and decide within seven. If we confirm an error, we aim to correct it within 24 hours of confirming it. These are aims, not guarantees.

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/mastra/agents/coworker/workspace.ts, line 61

    if (skillPaths.some(sp => target.startsWith(sp))) fs.unlinkSync(p);

    src/mastra/config/fs-config.ts, line 38

    try { fs.unlinkSync(configPath(filename)); } catch {}

    src/mastra/config/seed-skills.ts, line 36

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

    Show more

    src/mastra/config/seed-skills.ts, line 49

    try { fs.unlinkSync(link); } catch {}

    src/mastra/whatsapp/whatsapp-manager.ts, line 152

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

    src/mastra/whatsapp/whatsapp-manager.ts, line 245

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

  • Install and update

    Serious

    install fetches a script from the network.

    INSTALL_REMOTE_SCRIPT

    package.json, line 28

    @mastra/ai-sdk

    Dockerfile, line 28

    curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && \

  • Network

    Concern

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

    NETWORK_NO_FIXED_HOST

    app/src/renderer/src/mastra-client.ts, line 183

    const res = await fetch(`${MASTRA_BASE_URL}/agent-config`, { headers: authHeaders() })

    app/src/renderer/src/mastra-client.ts, line 192

    const res = await fetch(`${MASTRA_BASE_URL}/agent-config`, {

    app/src/renderer/src/mastra-client.ts, line 267

    const res = await fetch(`${MASTRA_BASE_URL}/scheduled-tasks`, { headers: authHeaders() })

    Show more

    app/src/renderer/src/mastra-client.ts, line 278

    const res = await fetch(`${MASTRA_BASE_URL}/scheduled-tasks`, {

    app/src/renderer/src/mastra-client.ts, line 287

    const res = await fetch(`${MASTRA_BASE_URL}/scheduled-tasks/${id}`, {

    app/src/renderer/src/mastra-client.ts, line 298

    const res = await fetch(`${MASTRA_BASE_URL}/scheduled-tasks/${id}`, {

    app/src/renderer/src/mastra-client.ts, line 307

    const res = await fetch(`${MASTRA_BASE_URL}/scheduled-tasks/${id}/toggle`, {

    app/src/renderer/src/mastra-client.ts, line 360

    const res = await fetch(`${MASTRA_BASE_URL}/mcp-registry/servers?${params}`, { headers: authHeaders() })

  • Secrets

    Concern

    reads a credential or environment file.

    SECRETS_ENV_READ SECRETS_PATH_CREDENTIAL SECRETS_PATH_DOTENV

    .agents/skills/mastra/references/common-errors.md, line 447

    if (!process.env.OPENAI_API_KEY) {

    app/src/renderer/src/pages/SettingsPage.tsx, line 1732

    initial?.env ? Object.entries(initial.env).map(([k, v]) => `${k}=${v}`).join('\n') : '',

    src/mastra/agents/coworker/prompts/base.ts, line 162

    Don't commit files likely to contain secrets (\`.env\`, \`*.key\`, \`credentials.json\`). Warn if asked.

    Show more

    src/mastra/gog/gog-manager.ts, line 20

    GOG_KEYRING_PASSWORD: process.env.GOG_KEYRING_PASSWORD || '',

    src/mastra/gog/gog-manager.ts, line 23

    /** Path where gog expects credentials.json (mirrors os.UserConfigDir() + "gogcli"). */

    src/mastra/gog/gog-manager.ts, line 24

    const GOG_CREDENTIALS_PATH = join(GOG_HOME, '.config', 'gogcli', 'credentials.json');

    src/mastra/gog/gog-manager.ts, line 28

    * write credentials.json so gog can use them. Idempotent - skips if file exists.

    src/mastra/gog/gog-manager.ts, line 32

    const clientSecret = process.env.GOG_GOOGLE_CLIENT_SECRET;

    src/mastra/gog/gog-manager.ts, line 44

    /** Check if Google OAuth credentials are configured (env vars or credentials.json on disk). */

    src/mastra/middleware/auth.ts, line 11

    const token = process.env.COWORKER_API_TOKEN;

    .agents/skills/mastra/references/common-errors.md, line 424

    - Missing .env file

    .agents/skills/mastra/references/common-errors.md, line 430

    1. Create .env file:

  • 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

    bun.lock, line 1

    {

    coworker.pen, line 1

    {

    app/bun.lock, 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 9a631054cc36. 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. a file was over the read cap and was not fully read.

Date and source

Date checked:

View source

github.com

Commit graded: 9a631054cc360e4d1db4aa05e1d3077291fb3728

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