Skip to content

Feature/attack path resource access#3

Merged
cvemula1 merged 7 commits intomainfrom
feature/attack-path-resource-access
Mar 17, 2026
Merged

Feature/attack path resource access#3
cvemula1 merged 7 commits intomainfrom
feature/attack-path-resource-access

Conversation

@cvemula1
Copy link
Copy Markdown
Owner

No description provided.

…tion

- Add GITHUB_ACTIONS_OIDC identity type and OIDC_ASSUMES_ROLE edge type
- New workflow_scanner.py: parse GH Actions YAML for cloud auth patterns
  - AWS OIDC (configure-aws-credentials), Azure OIDC (azure/login)
  - Azure Managed Identity (az login --identity on self-hosted runners)
  - GCP OIDC (google-github-actions/auth)
  - Key Vault secret access, AKS kubeconfig detection
  - Self-hosted runner identification and risk flagging
- Integrate workflow identities into identity graph with OIDC→cloud edges
- Add --github-workflows flag to scan and demo commands
- Add OIDC attack path recommendations in attack_paths.py
- Fix analyze_risk() clearing upstream scanner flags (GH_OIDC_*, GH_WF_*)
- Add CI summary module (ci_summary.py) for GitHub Step Summary output
- Add action.yml GitHub Action template for PR scanning
- Improve output: HIGH vs CRITICAL visual distinction, ASCII-safe mode
- 232 tests passing, lint clean
- Add ResourceAccess dataclass and _RESOURCE_PATTERNS table (40+ patterns)
- Detect Azure (KV, ACR, AKS, Storage, SQL, CosmosDB, DNS, AD, IAM),
  AWS (S3, Secrets, IAM, EC2, Lambda, ECR, EKS, RDS, DynamoDB, CloudFormation),
  GCP (Compute, GKE, Secrets, SQL, IAM, Storage), K8s, Helm, Docker,
  Terraform, Pulumi, Ansible, Cloudflare resource access in workflows
- Add generic ACCESSES_RESOURCE edge type in identity graph
- Create synthetic privileged resource nodes for attack path analysis
- Wire cloud_resources through WorkflowOIDCConnection -> Identity -> Graph
- Add ACCESSES_RESOURCE recommendation in attack_paths.py
- Clean up: gitignore IMPROVEMENTS*.md and macOS duplicate files
- All 260 tests pass, lint clean
…te 42 risk codes, complete CLI reference, fix architecture tree
… Why section to top, fix all flags and risk codes
@cvemula1 cvemula1 merged commit 4c33d8a into main Mar 17, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant