Sample report made from a test home folder with made-up data. Get blastcheck on GitHub
Overall risk Critical

Start with: Passwordless sudo gives full root

Remove the NOPASSWD rule and require a password, or scope it to a few read-only commands.

Summary

Findings

Critical - 3 items

Critical Passwordless sudo gives full root 1 item

Why

An agent could run any command as root without a password, directly or through a program that can start other programs.

Evidence

  • programs: /usr/bin/systemctl

Fix

Remove the NOPASSWD rule and require a password, or scope it to a few read-only commands.

Critical The Docker socket is writable 1 item

Why

Control of the Docker daemon is equivalent to root on the host.

Evidence

  • /var/run/docker.sock (mode 0660)

Fix

Remove the agent's access to the Docker socket or put a restricted proxy in front of it.

Critical Your user is in a root-equivalent group 1 item

Why

Membership in these groups lets a process act as root on this computer.

Evidence

  • groups: docker

Fix

Remove the agent's user from these groups and give it a narrow, dedicated path instead.

High - 8 items

High Claude Code may run commands without asking 1 item

Why

An allow rule lets the agent run broad shell commands without asking you.

Evidence

  • ~/.claude/settings.json (allow rules: Bash(*))

Fix

Remove broad Bash allow rules or narrow them to the specific commands the agent needs.

High Private SSH key without a passphrase 1 item

Why

An agent running as you can read the key and use it to log in to the machines it is authorized for.

Evidence

  • ~/.ssh/id_ed25519 (OPENSSH PRIVATE KEY; no passphrase detected)
  • known_hosts has 3 entries (machines these keys may reach)

Fix

Add a passphrase (ssh-keygen -p -f <key>) or replace the key with a short-lived one.

High Saved login store present: AWS credentials 1 item

Why

An agent could read these saved logins and act as you.

Evidence

  • ~/.aws/credentials (file, mode 0600)

Fix

Remove credentials you no longer use, keep permissions at 600, and prefer short-lived tokens.

High Saved login store present: GitHub CLI login 1 item

Why

An agent could read these saved logins and act as you.

Evidence

  • ~/.config/gh/hosts.yml (file, mode 0664)

Fix

Remove credentials you no longer use, keep permissions at 600, and prefer short-lived tokens.

High Secret file readable by group or others 4 items

Why

Other local users or processes can read this file.

Evidence

  • ~/.config/gh/hosts.yml (mode 0664)
  • ~/proj/api/.env.3 (mode 0644)
  • ~/proj/api/.env.2 (mode 0644)
  • ~/proj/api/.env.1 (mode 0644)

Fix

Restrict this file to its owner (chmod 600).

Medium - 4 items

Medium Credentials in your shell environment 1 item

Why

Any agent you start inherits these variables and can read the credentials.

Evidence

  • environment variables: OPENAI_API_KEY

Fix

Remove long-lived credentials from your shell environment; use a credential helper or short-lived tokens instead.

Medium Secret-looking file in the home directory 3 items

Why

Its contents look like credentials an agent could copy or use.

Evidence

  • ~/proj/api/.env.3 (2 lines): DB_PASSWORD, STRIPE_SECRET_KEY
  • ~/proj/api/.env.2 (2 lines): DB_PASSWORD, STRIPE_SECRET_KEY
  • ~/proj/api/.env.1 (2 lines): DB_PASSWORD, STRIPE_SECRET_KEY

Fix

Remove it if unused; otherwise keep it outside the home and prefer short-lived credentials.

Info - 2 items

Info Agent installed: Claude Code 1 item

Why

A local coding agent can run with your user permissions.

Evidence

  • ~/.claude

Fix

Review its permission mode and avoid bypass/dangerous flags.

Info SSH access an agent could use 1 item

Why

Each host in your SSH setup is somewhere an agent could connect using your keys.

Evidence

  • 1 private key(s) in ~/.ssh; 0 show an encrypted header
  • SSH config has 2 Host entries: web-prod, db-backup
  • known_hosts has 3 entries (machines these keys may reach)

Fix

Remove unused keys and hosts, and give agents a dedicated key with limited reach.

Scan details

Home
~
Files checked
4
Files skipped
0
Permission errors
0
Elapsed time
0.0 seconds