aboylabs/ai-agent-skills / skills/devops/vps-security-hardening
vps-security-hardening
FlaggedAudit and harden VPS security — fail2ban, SSH hardening, firewall setup
Security report
FlaggedStatic analysis of one exact version. It reduces risk and shows evidence; it does not certify that a skill is safe.
- Commit
a0c9d49124849ba3de5d87b197c675c0176d7d04- Content hash
ac4fed3d12844507d82d89b843dfce18693d1d0e93c5458890fdcfead00c7368- Scanned
- 2026-11-17
- Scanner version
- skillxone-scan-1.0.0
- Policy version
- 0.1-draft
- Decision
- 3 open critical or high findings.
- Verification expires
- Not applicable
Findings (3 high, 2 medium, 11 low)
The skill refers to SSH keys, a location that holds private data or credentials.
ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519 -N '' -C "user@machine"Suggested fix: Do not read credential stores or private files. If the task needs a credential, ask the user to provide it through the environment.
The skill refers to SSH keys, a location that holds private data or credentials.
mkdir -p ~/.sshSuggested fix: Do not read credential stores or private files. If the task needs a credential, ask the user to provide it through the environment.
The skill refers to SSH keys, a location that holds private data or credentials.
echo "ssh-ed25519 AAAA... user@machine" >> ~/.ssh/authorized_keysSuggested fix: Do not read credential stores or private files. If the task needs a credential, ask the user to provide it through the environment.
The skill sets something to run automatically later (scheduled task, login item or shell start-up file).
sudo systemctl enable fail2banSuggested fix: Do not install persistent jobs or edit shell start-up files. Tell the user what to add if they want it.
The skill refers to system password files, a location that holds private data or credentials. Severity lowered from high because it appears in prose rather than code.
- Check if user has sudo privileges: `sudo grep lighthouse /etc/sudoers.d/*`Suggested fix: Do not read credential stores or private files. If the task needs a credential, ask the user to provide it through the environment.
A command runs with administrator privileges.
sudo ss -tulpnSuggested fix: Avoid sudo where possible. If it is required, explain why so the user can decide.
A command runs with administrator privileges.
sudo netstat -tulpnSuggested fix: Avoid sudo where possible. If it is required, explain why so the user can decide.
A command runs with administrator privileges.
sudo grep "Failed password" /var/log/auth.log | tail -20Suggested fix: Avoid sudo where possible. If it is required, explain why so the user can decide.
A command runs with administrator privileges.
sudo lastlogSuggested fix: Avoid sudo where possible. If it is required, explain why so the user can decide.
A command runs with administrator privileges.
sudo apt-get updateSuggested fix: Avoid sudo where possible. If it is required, explain why so the user can decide.
A command runs with administrator privileges.
sudo fail2ban-client status sshdSuggested fix: Avoid sudo where possible. If it is required, explain why so the user can decide.
A command runs with administrator privileges.
- Always run `sudo sshd -t` before reloadSuggested fix: Avoid sudo where possible. If it is required, explain why so the user can decide.
A command runs with administrator privileges.
- Explain how to unban via VPS console: `sudo fail2ban-client unban --all`Suggested fix: Avoid sudo where possible. If it is required, explain why so the user can decide.
A command runs with administrator privileges.
- Check if user has sudo privileges: `sudo grep lighthouse /etc/sudoers.d/*`Suggested fix: Avoid sudo where possible. If it is required, explain why so the user can decide.
A command runs with administrator privileges.
sudo journalctl -u ssh -fSuggested fix: Avoid sudo where possible. If it is required, explain why so the user can decide.
A command runs with administrator privileges.
sudo ufw allow 22/tcpSuggested fix: Avoid sudo where possible. If it is required, explain why so the user can decide.
Checks run
- prompt-injection
- dangerous-commands
- credentials
- network
- file-access
- integrity
Checks skipped
- dependencies: No dependency manifest in the skill directory.
- gitleaks: gitleaks is not installed on this host.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |