● Free scripts · MIT
agent-ops-free
Read-only safety checks for a Linux server, especially one run by an AI agent. None of them change the machine.
git clone https://testedtemplates.com/code/agent-ops-free.git
| Script | What it checks |
|---|---|
docker-port-audit.sh | Container ports published beyond loopback, which bypass ufw. Exits 1 if any are found. |
preflight.sh | SSH hardening, ufw and its SSH rule, public ports, Docker exposure, failed units, secret-file permissions. |
mcp-ops-guardrails.py | Local MCP checks for sudoers, systemd, sshd, ufw, Docker ports, and secret leaks. Install notes. Worked sample. |
ops-guardrails-1.0.0.mcpb | The same checker as a Claude Desktop bundle. Python 3.8+ must already be on PATH. Nothing is uploaded. |
README.md | Usage. LICENSE (MIT). |