Hub rules-nomad

rules-nomad

v3 public Verified

Nomad

Nomad is a highly flexible workload orchestrator that enables an organization to easily deploy and manage any containerized or legacy application. These rules govern Nomad job specifications to ensure secure task execution, proper resource allocation, and adherence to orchestration best practices.

@sigmashakeinc 2 pulls 7 rules published Apr 8, 2026 synced Nov 22, 2026 sigmashakeinc/rules/rulesets/rules-nomad →
Severity
5 error 1 warn 1 info
demo.cast
Nomad is a highly flexible workload orchestrator that enables an organization to easily deploy and manage any containerized or legacy application. These rules govern Nomad job specifications to ensure secure task execution, proper resource allocation, and adherence to orchestration best practices.

Rules index

7 governance rules

Indexed from the repository's .rules files, grouped by technology. Expand any rule to read the raw source.

nomad

nomad-block-unsafe-patterns error block

RISK: NOMAD_SKIP_VERIFY=true disables TLS certificate verification for the Nomad agent/CLI, exposing the control plane to MITM attacks (CWE-295). FIX: fix the CA trust chain (nomad_ca_cert or system trust store) and never ship skip-verify in committed configs.

Rule source requires an active Pro or Enterprise subscription.
nomad-hardcoded-vault-token error block

RISK: a hardcoded Vault token in a Nomad job spec or env file is exposed to every reader with repo access and to all processes in the task environment (CWE-798). FIX: use Nomad's native Vault integration (vault { policies = [...] }) so Nomad mints short-lived tokens automatically; never hardcode tokens.

Rule source requires an active Pro or Enterprise subscription.
nomad-host-volume-sensitive error block

RISK: mounting sensitive host paths (/etc, /proc, /sys, /root, /boot, /var/run) into a task gives it host escape, credential access, and the ability to modify kernel parameters (CWE-284). FIX: use Nomad CSI volumes or ephemeral volumes; restrict host_volume grants to purpose-built directories with read_only = true where possible.

Rule source requires an active Pro or Enterprise subscription.
nomad-network-mode-host warning log

RISK: network mode 'host' shares the Nomad client's network namespace with the task — the task can bind arbitrary host ports and reach non-public internal services (CWE-923). FIX: use 'bridge' or 'cni' mode and expose only the required ports via the 'port' stanza.

Rule source requires an active Pro or Enterprise subscription.
nomad-privileged-task error block

RISK: privileged = true in a Docker or exec task gives the container full host capabilities and disables all namespace isolation — a container escape becomes trivial (CVE-2019-5736 class, CWE-250). FIX: identify the specific capability needed (e.g., cap_add = ["NET_ADMIN"]) and grant only that, or run on a dedicated host with physical isolation.

Rule source requires an active Pro or Enterprise subscription.
nomad-resources-noisy-log info log

INFO: a 'resources' block was found — verify that CPU and memory limits are appropriate for the workload. Under-provisioning causes OOM kills; over-provisioning wastes capacity.

Rule source requires an active Pro or Enterprise subscription.
nomad-tls-disabled error block

RISK: tls { enabled = false } leaves the Nomad RPC and HTTP API unencrypted — any network observer can read job specs, Vault tokens, and control-plane messages (CWE-319). FIX: set enabled = true and configure ca_file, cert_file, and key_file for both server and client agents.

Rule source requires an active Pro or Enterprise subscription.

Version metadata

Published metadata

The hash-locked record of this published ruleset. When source contents change, the maintainer resyncs and the version bumps.

Version
v3
Published
Apr 8, 2026
Source commits
0
Synced
Nov 22, 2026
Hash
fb5b51564170422b8b6d37c9930727f75778cefda6e48601cdf7be13dab14b34
Signature
Verified (publisher key)
Tested with
claude-code@current
Plan
Starter (free)
Visibility
Public

Source history

Recent commits

Latest commits touching rulesets/rules-nomad/.sigmashake/rules in sigmashakeinc/rules/rulesets/rules-nomad. The published version only bumps when a maintainer resyncs.

No commit history available.