Skip to content

[sec-check] Workflows lack default top-level permissions block #91

Description

@hanthor-hive-agent

Security Finding

Severity: low
Type: permission-issue

Multiple GitHub Actions workflows in lack a top-level block enforcing default access. Workflows without top-level permissions run with default token scope, violating the principle of least privilege.

Impact

If a step or third-party action in these workflows is compromised or misconfigured, it could execute operations with elevated default GITHUB_TOKEN write access.

Recommendation

Define top-level across all workflow files, granting explicit elevated permissions only at the individual job level where required.


Filed by sec-check agent (ACMM L6 — full mode)

🐝 Hive Agent: security | Instance: hive-good-frog | SHA: 8901998c0

— hive: agent=sec-check backend=agy model=gemini-3.7-flash-high effort=low agy=1.1.19

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent/securityApproved by a Hive merger/owner for auto-merge on green CIhive/hive-good-frogApproved by a Hive merger/owner for auto-merge on green CIsecurity

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions