ActionRank

GitHub Slug Action

Actively maintained

rlespinasse/github-slug-action · MIT

GitHub Action to expose slug value of GitHub environment variables inside your GitHub workflow

348 starsLast commit 4 days agoLatest v5.7.1
C
68
/ 100
Security 59Maintenance 92Popularity 47Reliability 70

Security signals

OpenSSF Scorecard4.8 / 10
SECURITY.md presentYes
Immutable releasesNot enabled
Known vulnerabilities2 advisory(ies)
  • CVE-2023-27581high

    github-slug-action vulnerable to arbitrary code execution

    Published Mar 13, 2023
  • GHSA-7f32-hm4h-w77qmoderate

    github-slug-action use of `set-env` Runner commands which are processed via stdout

    Published Feb 3, 2024

How to use it safely

Recommended: pin to commit SHA
uses: rlespinasse/github-slug-action@0e3299190dac9a700da92a90de4556116ea965ed # v5.7.1

Mutable tags like v5.7.1 can be rewritten to point at malicious commits. Pinning to the full commit SHA is the only reference GitHub guarantees immutable.

Full workflow example
steps:
  - uses: rlespinasse/github-slug-action@0e3299190dac9a700da92a90de4556116ea965ed # v5.7.1

Score breakdown

Security (35%)59
Popularity (20%)47
Maintenance (30%)92
Reliability (15%)70

Add this badge to your README

ActionRank grade badge for GitHub Slug Action
Markdown
[![ActionRank](https://actionrank.dev/api/badge/rlespinasse-github-slug-action)](https://actionrank.dev/actions/rlespinasse-github-slug-action)
HTML version
HTML
<a href="https://actionrank.dev/actions/rlespinasse-github-slug-action"><img src="https://actionrank.dev/api/badge/rlespinasse-github-slug-action" alt="ActionRank score"></a>

Free to use, no attribution required — the badge updates itself as the score changes. How badges work

Get alerts for GitHub Slug Action

We'll email you only if GitHub Slug Action becomes abandoned or a new advisory is published. Unsubscribe any time. How we handle your address