Skip to content
Back to skills

Harden

ASecurity

VPS security auditing and hardening

  • 2,496 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added February 10, 2026
blockchainsecurity

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add alsk1992/CloddsBot --skill harden --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Harden?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Harden
[![Security: A β€” Skills Directory](https://www.skillsdirectory.com/api/skills/alsk1992-harden/badge)](https://www.skillsdirectory.com/skills/alsk1992-harden)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: harden
description: VPS security auditing and hardening
emoji: "πŸ”’"
commands:
  - /harden
---

# VPS Hardening

Security auditing and automated hardening for remote servers.

## Commands

### `/harden audit <host>`
Run security audit against a server. Checks:
- System updates
- Auto-updates configuration
- SSH root login status
- Password authentication
- Firewall status
- Fail2ban status
- System uptime
- Listening services
- Sudo user configuration

### `/harden fix <host>`
Apply safe fixes that won't lock you out:
- Install system updates
- Enable unattended-upgrades
- Configure UFW firewall
- Install and enable fail2ban
- Set SSH MaxAuthTries

### `/harden emergency <host>`
Quick 10-minute hardening for new servers:
- Full system update
- Firewall setup
- Fail2ban installation
- Root password lock

### `/harden report <host>`
Generate markdown security report.

## Options

| Option | Description |
|--------|-------------|
| `--user=NAME` | SSH user (default: root) |
| `--dry-run` | Preview changes without applying |

## Examples

```
/harden audit 192.168.1.100
/harden fix myserver.com --user=admin
/harden emergency vps.example.com --dry-run
/harden report server.io > security-report.md
```

## Security Checks

| Check | Pass Criteria |
|-------|---------------|
| System Updates | 0 pending updates |
| Auto Updates | unattended-upgrades installed |
| Root Login | PermitRootLogin no |
| Password Auth | PasswordAuthentication no |
| Firewall | UFW active or iptables configured |
| Fail2ban | Service running |
| Uptime | < 90 days |
| Services | < 10 listening ports |
| Sudo Users | At least one non-root sudo user |
| MaxAuthTries | Set to 3 or less |

Files in this skill

  • SKILL.md1.7 KB
  • index.ts17.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.