Skip to content

Commit b3dbd0e

Browse files
north-echoclaude
andcommitted
feat: fluxgate v0.4.0 — close mitigation detection gaps from manual triage
Four new detection capabilities based on Red Hat triage analysis: - Gap 1: Actor guards — detect github.actor == 'bot[bot]' gates (→ info) and human actor restrictions (→ downgrade by 1) - Gap 2: Action-based permission gates — recognize actions-cool/check-user-permission and similar third-party permission-checking actions as maintainer checks - Gap 3: Cross-job needs: gating — follow needs: chains to detect environment approval gates on upstream authorize jobs (→ downgrade by 1) - Gap 4: Path isolation — detect fork code checked out to subdirectory with no direct execution, downgrade confidence to pattern-only Also adds fork guard to Fluxgate's own CI workflow (fixes FG-006 self-finding). Validated against 11 triage findings: 5 false criticals corrected automatically, 2 false positives eliminated, 2 clean criticals unchanged. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent b77235d commit b3dbd0e

12 files changed

+1196
-7
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ permissions:
1111

1212
jobs:
1313
build-and-test:
14+
if: github.event.pull_request.head.repo.full_name == github.repository || github.event_name == 'push'
1415
runs-on: ubuntu-latest
1516
steps:
1617
- name: Checkout

cmd/fluxgate/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
"github.com/spf13/cobra"
1515
)
1616

17-
var version = "0.3.0"
17+
var version = "0.4.0"
1818

1919
func main() {
2020
rootCmd := &cobra.Command{

0 commit comments

Comments
 (0)