Herramientas y scripts de IA
systemd Unit Check
Este anuncio se muestra en su idioma original (inglés).
Check systemd unit files before you install them: passwords in Environment=, programs run from /tmp, apps running as root with no sandboxing, missing hardening, CAP_SYS_ADMIN, and curl | bash run at every start.
Qué recibes: 1 archivo · 28.29 KB · ZIP
Ver opciones de compraDescripción del producto
Environment=DB_PASSWORD=... in a unit file can be read by any user on the server with systemctl show, and a Node or Python app started without a User= line runs as root. This skill finds those and four other systemd unit mistakes before you install the unit, and tells you how to fix each one.
Your agent runs a scanner on your .service, .socket and .timer files, the drop-in overrides in <unit>.d/*.conf (what systemctl edit writes) and templates such as myapp.service.j2. It reads units the way systemd does: comment lines, backslash continuations, ExecStart= prefixes such as - and +, sh -c scripts, and drop-ins applied in order so a later User= wins. It tells your own applications apart from the programs Linux distributions ship, so stock units such as ssh, nginx, cron and docker are not reported. It never runs systemctl or the unit's commands. It returns BLOCK, REVIEW, or NOT FLAGGED, with the file, line, reason, and a safer approach. Secrets are never printed.
What it checks
BLOCK (fix before shipping)
U01: passwords, tokens and keys in Environment=, SetCredential=, URLs and command-line flags
U02: programs, scripts or environment files in /tmp, /var/tmp or /dev/shm
REVIEW (check before release)
U11: applications running as root with no sandboxing (no User=, User=root, or a + prefix)
U12: application services with none of NoNewPrivileges, ProtectSystem, ProtectHome and PrivateTmp
U13: ambient capabilities close to root, such as CAP_SYS_ADMIN or CAP_DAC_OVERRIDE
U14: curl | bash and downloaded programs run each time the service starts
What's included
The scanner (Python 3.9+, standard library only)
A rules guide with the reason and safer approach for each rule
A risky and a safe example project, and the real report the scanner produces on the risky one
Limits
It reads unit text, not the server: drop-ins and environment files outside the scanned folder, template logic, file ownership and what the program does after it starts are not checked. Agents that really need root (backup or monitoring tools in /opt or /usr/local) are reported for review. NOT FLAGGED is not a guarantee.
Contents
One ZIP file with 16 files: SKILL.md, the scanner in scripts/ (3 Python files), references/rules.md (every rule with its reason and safer approach), and examples/ (10 example files plus report.md, the real scanner output on the risky example).
How to use: This is an agent skill: a folder with a SKILL.md file and Python scripts that an AI coding agent such as Claude Code, Cursor, or Codex CLI can run. Unzip it into your agent's skills folder (for Claude Code: ~/.claude/skills/), then ask your agent to check your project. The scripts also run on their own with Python 3.9 or newer, with nothing to install. They read your files only: no network access, and nothing is sent anywhere.
Qué recibes
1 archivo · 28.29 KB
- systemd-unit-check-1.0.0.zipZIP · 28.29 KB
Herramientas y scripts de IA
systemd Unit Check
Este anuncio se muestra en su idioma original (inglés).
Check systemd unit files before you install them: passwords in Environment=, programs run from /tmp, apps running as root with no sandboxing, missing hardening, CAP_SYS_ADMIN, and curl | bash run at every start.
Incluido en Getly ProObtener Pro
Etiquetas
Preguntas frecuentes
¿Tengo acceso al instante?
Sí. Es un producto digital: puedes descargarlo justo después del pago, directamente desde tu biblioteca.
¿Puedo usarlo en proyectos comerciales?
Sí. Se permite el uso comercial: úsalo en tu propio negocio y en cosas que vendas. No puedes revender ni redistribuir el archivo en sí.
¿Cuál es vuestra política de reembolso?
Puedes pedir un reembolso dentro de 30 días. Si algo no va bien, solicítalo desde tu pedido y el equipo de Getly lo revisa.
¿Qué formatos y tamaños de archivo recibiré?
Descargarás 1 archivo - ZIP - 28.29 KB en total.
¿Recibo actualizaciones gratis?
Sí: cuando el vendedor publica una versión nueva, puedes volver a descargar los archivos más recientes desde tu biblioteca sin coste extra. Mira el registro de cambios para ver las últimas actualizaciones.
Precio
$5.00



