Use when reviewing UI for accessibility — WCAG 2.2 AA, keyboard nav, focus, ARIA, contrast, screen-reader semantics — even on 'is this a11y-OK?' or 'mach das barrierefrei'.
中文简介正在准备中。当前显示原文说明。
Use when hardening a Linux host you operate — SSH posture, a default-deny firewall baseline, and unattended security upgrades, each verified on the box rather than assumed from a config file.
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Use when a host is yours to operate — a VPS, a bare-metal box, a long-lived VM — and its own security posture is the question. Three surfaces: who may log in, what may reach the network, and how patches arrive.
Do NOT use when:
operational-readiness records that as unavailable
with that reasonsecurity-audit)security, authz-review)terraform, aws-infrastructure)docker)The one remote-entry door. Harden in this order, and keep an open session while you change it — a mistake here locks you out of the machine you are fixing.
| Setting | Target | Why |
|---|---|---|
PasswordAuthentication | no | Ends credential-stuffing against the host outright |
PubkeyAuthentication | yes | The replacement must work before passwords are removed |
PermitRootLogin | no (or prohibit-password) | Forces an audit trail through a named account |
AllowUsers / AllowGroups | Explicit allow-list | Default is every account on the box |
| Port | Non-default is optional | Cuts log noise, not risk — never the primary control |
Verify from a second connection before closing the first:
sudo sshd -t # config parses; do this before reload
sudo systemctl reload ssh # or sshd, per distro
sudo sshd -T | grep -Ei 'passwordauth|permitrootlogin|pubkeyauth'
sshd -T prints the effective configuration. A file under
sshd_config.d/ or a Match block can override what you just edited, so the
file you wrote is not evidence — the effective dump is.
Default-deny inbound, allow-list outbound where the workload permits.
sudo ufw default deny incoming
sudo ufw default allow outgoing
sudo ufw allow OpenSSH # before enabling, or you are locked out
sudo ufw enable
sudo ufw status verbose # the verification, not the intent
Two traps worth naming. A container runtime can write its own forwarding rules
that bypass the host firewall entirely — check the actual rule table
(sudo iptables -S / sudo nft list ruleset), not just the friendly front-end.
And a cloud security group sits in front of the host: both must agree, and the
narrower one is the effective policy.
Optionally add an SSH brute-force throttle (fail2ban or equivalent). It is
noise reduction and a small real gain once password auth is already off — never
a substitute for it.
Patches that require a human are patches that arrive late.
sudo apt install unattended-upgrades # Debian/Ubuntu family
sudo dpkg-reconfigure -plow unattended-upgrades
sudo unattended-upgrade --dry-run --debug # proves it would act
Decide and record two things, because the default is silence: whether the host reboots automatically when a patch needs it, and where the failure notification goes. An upgrade timer that has been failing for six weeks is indistinguishable from one that is working, unless something reports it.
Security patches only. Automatic feature upgrades change behaviour under you, which is a different risk with a different owner.
unavailable.sshd -T from the second session —
effective config, not the file.ufw status verbose and against the raw rule table.--dry-run that it
would act. Record the reboot policy and the failure destination.operational-readiness reads an uninspected host posture as a red.sshd -T reports passwordauthentication no.sshd -T reports permitrootlogin no or prohibit-password.unattended-upgrade --dry-run reports it would act.sshd -T is; a drop-in or Match block
silently wins.还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Use when reviewing UI for accessibility — WCAG 2.2 AA, keyboard nav, focus, ARIA, contrast, screen-reader semantics — even on 'is this a11y-OK?' or 'mach das barrierefrei'.
中文简介正在准备中。当前显示原文说明。
Use when defining or auditing the activation event — aha-moment selection, retention correlation, falsifiable definition. Triggers on 'what is our aha moment', 'redefine activation'.
中文简介正在准备中。当前显示原文说明。
Use when capturing an architectural decision — file naming, next ADR number, Status / Context / Decision / Consequences, index regen; fires even without saying 'ADR'.
中文简介正在准备中。当前显示原文说明。
Adversarial critique — devil's advocate, stress-test, honest teardown ('poke holes', 'be brutal', 'was hältst du davon'); explicit request only. Routine code or design review → code-review.
中文简介正在准备中。当前显示原文说明。
Use when reading, creating, or updating agent documentation, module docs, roadmaps, or AGENTS.md. Understands the full .augment/, agents/, and copilot-instructions structure.
中文简介正在准备中。当前显示原文说明。
Use for an adversarial red-team / blue-team / auditor review of an AI agent's CONFIG + behaviour (rules, skills, MCP, hooks, permissions) — attack-chain → defensive-gap list, not a code audit.
中文简介正在准备中。当前显示原文说明。