linux-sysadmin@3.0.2
CAUTION· install onlyPublisher claims: "Linux 系统管理专家 — 覆盖用户权限、SSH、存储、网络、systemd、防火墙、 监控日志、备份恢复、证书TLS、Ansible、容器、IaC 十二大模块。 提供配置→验证→加固→监控→备份→自动化→故障排查→回滚完整闭环。 触发关键词:useradd/sudo/sshd_config/chmod/SEL..." Observed in sandbox: no network, touches nothing outside the project, writes no memory.
Coverage
Bundled scripts ran with no arguments; no agent task scenario for this bundle.- Tested
- 7 of 7 bundled scripts run with no arguments, with decoy credentials in the environment · every file read, file written and host contacted by what ran
- Not tested
- how an agent uses it once installed
Behavior
In our sandbox run on 2026-11-27, [email protected] read no files and called no hosts, and its code names no environment variables. Coverage: install only.
Files read
None recorded.
Hosts called
None recorded.
Environment variables its code names
None found.
Names only, read from the code. We never hold a value.
Tools offered
No tool list recorded.
Changes since the prior version
No prior version with a result to compare.
What we did not test
- how an agent uses it once installed
| Run date | 2026-11-27 |
| Coverage | install only |
| Engine | 1.9.2, script@linux |
| Reproduce | npx -y vet-skills try linux-sysadmin |
| This record | behavior.json, behavior.md, signed attestation |
This is a record of what one version did in the runs we made. It is evidence, not a certificate.
Is [email protected] safe to install?
KillerSkills ran it in the KillerSkills honeypot sandbox (2 scenarios; bundled scripts ran with no arguments; no agent task scenario for this bundle) on 2026-11-27 and scored it 70/100 (Caution). It is not known to be malicious, but it has behaviour or code a security policy should decide on before install. Notable findings: Destructive command against a filesystem root or device; Destructive command against a filesystem root or device; Destructive file system command detected. Summary: no network, touches nothing outside the project, writes no memory.
Behavior trace
Honeypot run · 17 s · 2 scenarios · 0 deviationsStatic findings
- rm -rf /Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.- rm -rf /Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.- rm -rf /Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.done < /etc/passwdFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.for f in /etc/sudoers.d/*; doFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.echo "--- sudo 用户/组 ---"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.empty_pw=$(awk -F: '($2 == "" || $2 == "!!") && $3 >= 1000' /etc/shadow 2>/dev/null | wc -l)Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.- /etc/passwdFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.awk -F: '($2 == "" || $2 == "!") && $1 != "root" {print " ⚠️ " $1}' /etc/shadow 2>/dev/null || echo " 无法读取 /etc/shadow(需要 root)"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.- rm -rf /Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.- /etc/passwdFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.for key_file in ~/.ssh/id_ed25519 ~/.ssh/id_rsa ~/.ssh/id_ecdsa; doFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.- name: create-user-with-sudoFix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.# ==================== 4. sudo 权限 ====================Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.check PASS "无 NOPASSWD sudo 配置"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.grep -v -E "nologin|/bin/false|/usr/sbin/nologin" /etc/passwd 2>/dev/null | awk -F: '{printf " %-15s UID=%-6s HOME=%s\n", $1, $3, $6}'Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.> 4. `visudo` 会做语法检查,直接编辑 sudoers 可能导致 sudo 不可用Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.check WARN "发现 $nopasswd_count 条 NOPASSWD sudo 规则" "审查是否必要"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.check FAIL "发现非 root 的 UID 0 账户" "$(awk -F: '$3 == 0 && $1 != "root" {print $1}' /etc/passwd)"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.- /etc/shadowFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.input: 如何创建一个新用户 deploy,设置 bash 为默认 shell,加入 sudo 和 docker 组,并配置 SSH 密钥登录?Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.# 检查 sudo 配置Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.for group in root sudo wheel docker adm; doFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.| [references/user_permission.md](references/user_permission.md) | 用户/组管理、文件权限、ACL、sudo 配置、SELinux/AppArmor |Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.echo "用户权限审计:检查 sudo 权限、SSH 密钥、空密码、过期账户、可登录用户。"Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.if [ -f /etc/sudoers ]; thenFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.- 不要在不备份的情况下修改 `/etc/fstab`、`/etc/sudoers`、`sshd_config`Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.echo "=== 4. sudo 权限配置 ==="Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.grep -v "^#" /etc/sudoers 2>/dev/null | grep -v "^$" | head -20Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.- sudoFix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.│ ├── sudo 权限配置 → references/user_permission.md § sudo 配置Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.- rm -rf /var/logFix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.- 不要直接编辑 `/etc/sudoers`,始终使用 `visudo`Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.who -a && last -10 && cat /etc/passwd | grep -v nologin | grep -v /bin/falseFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.uid0=$(awk -F: '$3 == 0 && $1 != "root"' /etc/passwd | wc -l)Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.| `scripts/user_audit.sh` | 用户权限审计(sudo 权限、SSH 密钥、空密码、过期账户) |Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.for key_file in ~/.ssh/id_ed25519 ~/.ssh/id_rsa ~/.ssh/id_ecdsa; doFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.- sudoFix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.# 检查:sudo 权限、SSH 密钥、空密码、过期账户、可登录用户Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.nopasswd_count=$(grep -r "NOPASSWD" /etc/sudoers /etc/sudoers.d/ 2>/dev/null | grep -v "^#" | wc -l)Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.- /etc/shadowFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.- chmod 777Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.- chmod 777Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.- chmod 777Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.- chmod 777Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.done < /etc/shadowFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.- chmod 777Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.- chmod 777Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.- 不要用 `chmod 777` 解决权限问题Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.input: 有人误执行了 chmod -R 777 /etc,如何恢复正确的文件权限?Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.- chmod 777Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.group: rootFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.- chmod 777Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.- chmod 777Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.- chmod 777Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.echo " ⚠️ 无法读取 /etc/shadow(需要 root 权限)"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.if [ -r /etc/shadow ]; thenFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.group: rootFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.uid0_users=$(awk -F: '$3 == 0 {print $1}' /etc/passwd)Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.Cost to the agent
Tokens estimated at four characters each. Skills load their instruction text when triggered; the figure is what that costs.
Known vulnerabilities
Vulnerability advisories (OSV) cover npm and PyPI packages; this registry has no advisory database.
What would make this Verified
10 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%- Destructive command against a filesystem root or device≈ +9 on the totalPut hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.
- Unclaimed publisher≈ +8 on the totalClaim husttsq: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
- Destructive file system command detected≈ +4 on the totalPut hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.
- Access to sensitive file paths≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
- Privileged sudo command≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
- References a credential file in the home directory≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.