Grades are a hygiene check, not a security guarantee.

Claude Code, Skill

Vps Forge

Set up, harden, audit and polish a Debian/Ubuntu VPS without ever losing access: SSH, firewall, fail2ban, updates, Docker, Caddy/TLS, VPN, restic backups, phone alerts and a verified score.

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.

SECRETS_PATH_CREDENTIAL

Why this grade

  • SECRETS_PATH_CREDENTIAL Medium

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

    bench/cell.py, line 181 real = json.loads((REAL_HOME / ".claude" / ".credentials.json").read_text())

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

    bench/cell.py, line 58

    subprocess.run(["ip", "addr", "add", f"{ip}/32", "dev", "lo"], capture_output=True)

    bench/cell.py, line 74

    shutil.rmtree(d)

    bench/cell.py, line 241

    relays = [subprocess.Popen([socat, f"UNIX-LISTEN:{m}/ssh-{p}.sock,fork,mode=600,unlink-early",

    Show more

    bench/cell.py, line 300

    p = subprocess.run(jail(run_dir, home, skill_dir if arm == "skill" else None) + cmd, input=prompt, text=True,

    bench/cell.py, line 339

    p = subprocess.run(jail(run_dir, home, skill_dir) + ["bash", "-c", JAIL_PROBE], text=True, capture_output=True,

    bench/cell.py, line 433

    os.remove(ov / f)

    bench/demo.py, line 42

    return subprocess.run(["podman", *a], check=check, text=True, capture_output=True, **kw)

    bench/judge.py, line 241

    bridge = subprocess.Popen(["socat", f"TCP-LISTEN:{lp},bind=127.0.0.1,fork,reuseaddr",

    bench/matrix.py, line 79

    return subprocess.run([str(BENCH / "pod.sh"), "python3", "-I", str(BENCH / "cell.py"), *args],

    bench/matrix.py, line 130

    subprocess.run(["claude", "-p", "--model", "haiku", "--setting-sources", "project", "--strict-mcp-config",

    bench/matrix.py, line 151

    shutil.rmtree(home, ignore_errors=True) # host-only scratch copy made above

    bench/vm.py, line 270

    shutil.rmtree(dst)

  • 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 www.cloudflare.com. The description does not name that host. can reach download.docker.com. The description does not name that host. can reach packagecloud.io. The description does not name that host. can reach pkgs.tailscale.com. The description does not name that host. can reach example.com. The description does not name that host.

    NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST

    bench/judge.py, line 48

    return socket.create_connection((PUBLIC_IP, port), timeout=timeout, source_address=(src, 0) if src else None)

    bench/scenarios/prod-docker-trap/setup.sh, line 38

    for _ in $(seq 1 30); do curl -fs http://127.0.0.1/ >/dev/null && break; sleep 2; done

    bench/scenarios/prod-docker-trap/setup.sh, line 39

    curl -fs http://127.0.0.1/ >/dev/null

    Show more

    skills/vps-forge/assets/firewall/ufw-cloudflare-sync.sh, line 24

    curl -fsS --max-time 20 --retry 3 https://www.cloudflare.com/ips-v4 -o "$tmp/v4"

    skills/vps-forge/assets/firewall/ufw-cloudflare-sync.sh, line 25

    curl -fsS --max-time 20 --retry 3 https://www.cloudflare.com/ips-v6 -o "$tmp/v6"

    skills/vps-forge/assets/restic/vps-forge-backup.sh, line 26

    printf 'url = "%s%s"\n' "$HC_URL" "$1" | curl -fsS --max-time 10 --retry 3 -K - -o /dev/null 2>/dev/null || true

    skills/vps-forge/references/base.md, line 60

    $APT install ca-certificates curl wget gnupg git vim less htop btop ncdu tmux jq unzip rsync \

    skills/vps-forge/references/docker.md, line 32

    curl -fsSL "https://download.docker.com/linux/$ID/gpg" -o /etc/apt/keyrings/docker.asc

    skills/vps-forge/references/firewall.md, line 152

    curl -fsSL https://packagecloud.io/crowdsec/crowdsec/gpgkey | gpg --dearmor -o /etc/apt/keyrings/crowdsec_crowdsec-archive-keyring.gpg

    skills/vps-forge/references/vpn.md, line 18

    curl -fsSL "https://pkgs.tailscale.com/stable/$ID/$VERSION_CODENAME.noarmor.gpg" -o /usr/share/keyrings/tailscale-archive-keyring.gpg

  • Secrets

    Concern

    reads a credential or environment file.

    SECRETS_ENV_READ SECRETS_PATH_CREDENTIAL

    bench/cell.py, line 146

    OAUTH_TOKEN_FILE = pathlib.Path(os.environ.get("BENCH_OAUTH_TOKEN_FILE", CACHE / "oauth-token"))

    bench/cell.py, line 181

    real = json.loads((REAL_HOME / ".claude" / ".credentials.json").read_text())

    bench/cell.py, line 201

    " IdentityFile ~/.ssh/id_ed25519\n StrictHostKeyChecking accept-new\n")

    Show more

    bench/cell.py, line 205

    private_login(home / ".claude" / ".credentials.json")

    bench/cell.py, line 281

    cred = home / ".claude" / ".credentials.json"

    bench/cell.py, line 312

    oad(open(os.path.expanduser("~/.claude/.credentials.json"))); o=d["claudeAiOauth"]; print("top-l

    bench/cell.py, line 313

    c="$HOME/.claude/.credentials.json"

    bench/cell.py, line 316

    "$REAL/.claude/skills" "$REAL/.claude/.credentials.json" "$REAL/.cache/vps-forge-bench/keys"

    bench/matrix.py, line 32

    OAUTH_TOKEN_FILE = pathlib.Path(os.environ.get("BENCH_OAUTH_TOKEN_FILE", CACHE / "oauth-token")) # see cell.py

    bench/matrix.py, line 83

    REAL_LOGIN = pathlib.Path.home() / ".claude" / ".credentials.json"

  • 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 de8b1c084559. can delete files. can reach a host that is not written as a fixed address. can reach www.cloudflare.com. The description does not name that host. can reach download.docker.com. The description does not name that host. can reach packagecloud.io. The description does not name that host. can reach pkgs.tailscale.com. The description does not name that host. can reach example.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: de8b1c084559b4175be7aaabf5cb61a4d5a19580

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