Skip to content

Commit

Permalink
fix: exclude information about the repo and owner (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
funnelfiasco authored Nov 8, 2024
1 parent 666ff1a commit 7f30170
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/audit/template_injection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,13 @@ const SAFE_CONTEXTS: &[&str] = &[
"github.event.number",
"github.event.merge_group.base_sha",
"github.event.workflow_run.id",
// Information about the GitHub repostory
"github.repository",
"github.repository_id",
"github.repostoryUrl",
// Information about the GitHub repository owner (account/org or ID)
"github.repository_owner",
"github.repository_owner_id",
// Unique numbers assigned by GitHub for workflow runs
"github.run_attempt",
"github.run_id",
Expand Down

0 comments on commit 7f30170

Please sign in to comment.