Skip to content

[Changelog] GitHub Actions holds potentially malicious workflows for approval #3881

Description

@plengauer

GitHub has announced that GitHub Actions will now hold potentially malicious workflows for approval before they can run, as described in the July 28, 2026 changelog post.

What changed

GitHub Actions has introduced an automatic hold mechanism for workflows that are deemed potentially malicious. Such workflows will be queued for manual approval before execution, adding a security layer to prevent supply chain attacks via workflow injection.

Relevance to this project

This project provides OpenTelemetry instrumentation that is injected into GitHub Actions workflows at the job and workflow level. The instrumentation works by:

  • Injecting a first step in jobs via actions/instrument/job
  • Wrapping workflows via actions/instrument/workflow
  • Collecting telemetry by post-processing GitHub Actions run data via the API

If GitHub's security detection flags instrumented workflows as potentially malicious (e.g., due to dynamic script execution, environment variable injection, or shell aliasing patterns), it could silently delay or block instrumented CI runs.

What needs investigation / action

  1. Test whether instrumented workflows are flagged: Run a test to confirm that workflows using plengauer/Thoth/actions/instrument/job or actions/instrument/workflow are not held for approval.
  2. Review the detection criteria: Understand what patterns GitHub considers "potentially malicious" and check whether this project's injection patterns (e.g., setting PATH, exporting environment variables, using eval-like constructs, shell aliasing) could trigger the hold.
  3. Monitor CI: Watch if CI runs start being unexpectedly delayed due to this new approval gate.
  4. Update documentation: If there are known safe patterns users should use to avoid false positives, document them.

Affected areas

  • actions/instrument/job/ — injects a step into every job
  • actions/instrument/workflow/ — wraps the entire workflow
  • Any user workflow that sources otel.sh or uses this project's actions

Generated by Monitor GitHub Changelog · sonnet46 45.7 AIC · ⌖ 5.67 AIC · ⊞ 5.2K ·

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions