Przejdź do treści
Biblioteka skilli
Bezpieczeństwo · Przegląd i audyt

jolitz-security

/jolitz-security

Przeprowadza audyt bezpieczeństwa serwera: utwardzenie SSH, zaporę, konta, nasłuchujące usługi, uprawnienia plików i fail2ban.

Repozytorium
jolitz ↗
Licencja
MIT
Ostatnia zmiana repozytorium
03.11.2026

Ocena i bezpieczeństwo

90/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
12
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 03.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Przeprowadza audyt bezpieczeństwa serwera: utwardzenie SSH, zaporę, konta, nasłuchujące usługi, uprawnienia plików i fail2ban.

Wyzwalacze z opisu

security auditsecurity reviewhardening checkaudit security on <host>check server <host>

Argumenty

/jolitz-security [hostname]
Oryginalny opis (EN)

Run a jolitz security audit on a server — SSH hardening (password auth, weak algos, root login), firewall, user account hygiene, listening services, kernel hardening (ASLR, IP forwarding), file permissions, SUID/SGID audit, fail2ban. Use when the user asks for a "security audit", "security review", "hardening check", or to "audit security on <host>". Do NOT auto-invoke on generic phrases like "check server <host>". Covers Linux (Debian, Ubuntu, RHEL, CentOS, Fedora, SUSE) and macOS (SIP, FileVault, Gatekeeper).

Jak działa

  1. Workflow
  2. Scope and limits
  3. Cross-references
  4. References
Sekcje z nagłówków SKILL.md, w oryginale · 88 linii, 539 słów
Podgląd SKILL.md
---
name: jolitz-security
argument-hint: "[hostname]"
description: Run a jolitz security audit on a server — SSH
  hardening (password auth, weak algos, root login), firewall,
  user account hygiene, listening services, kernel hardening
  (ASLR, IP forwarding), file permissions, SUID/SGID audit,
  fail2ban. Use when the user asks for a "security audit",
  "security review", "hardening check", or to "audit security on
  <host>". Do NOT auto-invoke on generic phrases like "check
  server <host>". Covers Linux (Debian, Ubuntu, RHEL, CentOS,
  Fedora, SUSE) and macOS (SIP, FileVault, Gatekeeper).
---

# jolitz-security

Security configuration audit for a server or the local machine.
**Never run automatically** — only on explicit user request. The
whole of the jolitz first-connection onboarding pipeline still
applies before any of this runs.

## Workflow

1. **Load overrides.** Before running any check, apply the full
   jolitz rule-override chain (later wins):
   - `memory/custom-rules/jolitz-security.md` if present (global
     custom overrides for this skill — `## Add:`, `## Replace:`,
     `## Remove:` prefixes per `AGENTS.md`).
   - `memory/servers/<hostname>/memory.md` for context (services,
     legitimate external bindings, VPN role).
   - `memory/servers/<hostname>/rules.md` if present (per-server
     rule overrides — same prefixes as above, highest precedence).
   Note: `memory/custom-rules/all.md` is already loaded by the
   AGENTS.md session-start preflight — do not re-read it.
2. **Run checks in 2–3 parallel batches** for speed — not one
   massive batch. If a single parallel tool call errors, Claude
   Code cancels sibling calls, so grouping limits blast radius.
   Put commands with complex quoting (awk, sed) in their own batch
   so a quoting mistake does not cancel simple commands.
3. **Probe shape:** no taboo word as data (the guard denies the
   whole batch), no `!` (zsh mangles it over SSH), and report
   what you do not recognize instead of printing only what you
   expect. The System Accounts check in
   `references/user-accounts.md` shows all three.
4. **Select checks** per the references below. Use the preferred
   method when privileges allow; fall back to the unprivileged
   method otherwise.
5. **Emit the report** using the format in
   `references/report-format.md`.
6. **Do NOT update `memory.md`.** These are config observations,
   not state changes. Memory tracks what is installed and running,
   not security posture details.
7. **Log the summary** to the system journal and mirror to the
   local changelog per `rules/changelog.md`:

       logger -t jolitz "Security audit: 1 WARN, 1 INFO"

## Scope and limits

- Linux (Debian, Ubuntu, RHEL, CentOS, Fedora, SUSE) and
  macOS are fully covered by the references below.
- FreeBSD baselines are not yet covered. On a FreeBSD host,
  do not silently skip: run the closest equivalent checks
  manually (`pkg audit -F` for known-vulnerable packages,
  `pfctl -s info` / `pfctl -sr` for the firewall, `sshd -T`
  for SSH hardening, `find / -perm -4000` for SUID, sysctl
  `security.*` knobs) and state in the report that FreeBSD
  has no baseline reference yet.

## Cross-references

**Automatic security updates** are checked during housekeeping
(see `jolitz-housekeeping` skill). This audit does not duplicate
that check.

## References

Read on demand, only when the relevant section applies:

- `references/report-format.md` — required output format and
  severity rules (CRITICAL / WARN / INFO).
- `references/ssh.md` — SSH password auth, root login, weak
  algorithms, MaxAuthTries, X11Forwarding (Linux and macOS).
- `references/firewall.md` — Linux (ufw / firewalld) and macOS
  (Application Firewall).
- `references/firewall-nftables-docker.md` — native nftables without
  ufw or firewalld, iptables-legacy rules next to nf_tables,
  Docker ports published past the firewall.
- `references/user-accounts.md` — empty passwords, multiple UID
  0, system accounts with login shells.
- `references/listening-services.md` — audit `ss` / `lsof`
  output, flag databases on 0.0.0.0.
- `references/kernel-os.md` — sysctl checks: ASLR, IP forwarding,
  ICMP redirects, SUID core dumps.
- `references/file-permissions.md` — world-writable system files,
  SUID/SGID audit, /tmp mount options, cron perms, unowned files.
- `references/intrusion-prevention.md` — fail2ban status.
- `references/macos-security.md` — SIP, FileVault, Gatekeeper.
- `references/unprivileged.md` — which checks work without root,
  which need it, and how to report skipped ones.
Pliki w paczce (12)
  • SKILL.md 4 KB
  • references/file-permissions.md 2 KB
  • references/firewall-nftables-docker.md 5 KB
  • references/firewall.md 2 KB
  • references/intrusion-prevention.md 1 KB
  • references/kernel-os.md 1 KB
  • references/listening-services.md 1 KB
  • references/macos-security.md 1 KB
  • references/report-format.md 1 KB
  • references/ssh.md 4 KB
  • references/unprivileged.md 1 KB
  • references/user-accounts.md 2 KB

Wersje

W bazie nie ma innych skilli o nazwie jolitz-security.

Migawka bazy z 13.11.2026 · wersja paczki 7fd256ae5dbc (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 90jolitz-housekeeping
    Przeprowadza przegląd stanu serwera: dysk, pamięć, obciążenie, aktualizacje, certyfikaty SSL i błędy usług systemd.
  • 90host-hardening-review
    Przegląda utwardzenie systemu serwera względem wytycznych CIS: konta, usługi, sieć, logowanie, uprawnienia plików i łatki.
  • 100linux-server-hardening
    Prowadzi autoryzowanego operatora przez usuwanie zweryfikowanych luk bezpieczeństwa na serwerze Linux: SSH, zapora, kontrola dostępu, usługi, uprawnienia i aktualizacje.
  • 100server-hardening
    Utwardza obsługiwany host z Linuksem: konfigurację SSH, zaporę z domyślną odmową i automatyczne aktualizacje bezpieczeństwa, z weryfikacją każdego elementu na maszynie.
  • 100linux-server-hardening
    Pomaga autoryzowanemu administratorowi usuwać zweryfikowane luki Linuksa w SSH, zaporze, MAC, usługach, uprawnieniach i aktualizacjach.
  • 100hardening-linux-endpoint-with-cis-benchmark
    Utwardza punkty końcowe Linux według rekomendacji CIS Benchmark dla Ubuntu, RHEL i CentOS, żeby zmniejszyć powierzchnię ataku, wymusić bazowe ustawienia bezpieczeństwa i spełnić wymagania zgodności.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.