Skip to content

Conversation

@maxammann
Copy link
Contributor

this will invoke a bunch of analysis tools. Right now it only collects the SBOM

@maxammann maxammann requested a review from a team as a code owner November 27, 2025 16:22
@vercel
Copy link

vercel bot commented Nov 27, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
modeling-app Ready Ready Preview Comment Nov 28, 2025 4:44pm

name: Security
jobs:
security:
uses: KittyCAD/gha-workflows/.github/workflows/security.yml@security
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using a mutable branch reference (@security) for a reusable workflow is a security vulnerability. If the security branch in KittyCAD/gha-workflows is compromised or modified, malicious code will execute with access to all repository secrets (secrets: inherit on line 13).

Impact: Supply chain attack vector that could lead to:

  • Unauthorized access to all repository secrets
  • Arbitrary code execution in the CI environment
  • Potential credential theft or repository compromise

Fix: Pin to an immutable reference:

uses: KittyCAD/gha-workflows/.github/workflows/security.yml@<commit-sha>
# or use a version tag
uses: KittyCAD/gha-workflows/.github/workflows/[email protected]
Suggested change
uses: KittyCAD/gha-workflows/.github/workflows/security.yml@security
uses: KittyCAD/gha-workflows/.github/workflows/security.yml@v1.0.0

Spotted by Graphite Agent

Fix in Graphite


Is this helpful? React 👍 or 👎 to let us know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants