Skip to content

OpenAI key exposed to third-party action during the titles workflow of issue opening #1495

Description

@gemshrine

Steps to reproduce

  1. Open an issue from an external account.
  2. Inspect the titles workflow.

Actual result
The title action receives the repository OpenAI secret and attacker controlled text.

Expected result
Do not expose reusable secrets to third-party actions on issue creation.

Evidence
The workflow contains the opened issue trigger and the OpenAI secret input.

Activity

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood-titleThe title was checked and improved by ChatGPT

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions