Hub rules-cicd

rules-cicd

v5 public Verified

Cicd

Community-governed security ruleset for Cicd

@sigmashakeinc 0 pulls 5 rules published Apr 10, 2026 synced Oct 25, 2026 sigmashakeinc/rules/rulesets/rules-cicd →
Severity
3 error 2 warn 0 info
demo.cast
Community-governed security ruleset for Cicd

Rules index

5 governance rules

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

github

audit-gh-actions-external-curl warning log

GitHub Actions workflow is using curl or wget to download and pipe external scripts into a shell interpreter (curl | bash). This is a supply chain risk — the remote script can change at any time. Download the script, verify its SHA-256 checksum against a pinned value, then execute it.

Rule source requires an active Pro or Enterprise subscription.
block-gh-actions-expression-injection error block

GitHub Actions expression injection: user-controlled data (issue title, PR title, PR branch name, comment body) interpolated directly into a run: shell command. An attacker can craft a malicious title or branch name containing shell metacharacters to achieve arbitrary code execution in the CI runner (CWE-78). Use an intermediate environment variable: set env.SAFE_VAR with the expression, then reference $SAFE_VAR in the run: step.

Rule source requires an active Pro or Enterprise subscription.
block-gh-actions-pull-request-target error block

Detected 'pull_request_target' trigger with potential checkout of PR head. This is a well-documented RCE vector in CI: the workflow runs with write permissions and secrets in the context of the base repo, but checks out untrusted PR code. Avoid combining pull_request_target with actions/checkout of the PR head ref. See GitHub Security Lab advisory GHSL-2021-1013.

Rule source requires an active Pro or Enterprise subscription.
block-gh-actions-secrets-log error block

Detected potential logging of secrets in GitHub Actions. This could leak credentials.

Rule source requires an active Pro or Enterprise subscription.
warn-gh-actions-unpinned-version warning log

Detected unpinned action version using '@main', '@master', or a floating major tag (e.g. @v3). This is a supply chain risk — the action owner can push malicious code at any time. Pin to a full commit SHA (e.g. uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683).

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
v5
Published
Apr 10, 2026
Source commits
0
Synced
Oct 25, 2026
Hash
8f05eab14b9d8776c2f731257aa8db68809a4ea87948f36d9b08a7f2f468ad7a
Signature
Verified (publisher key)
Tested with
claude-code@current
Plan
Starter (free)
Visibility
Public

Source history

Recent commits

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

No commit history available.