How woodruffw/zizmor works
Main Components
a) Input Processing Layer
• GitHub Actions Workflow Files (.yml)
• Configuration Files
b) Core Analysis Engine
• This in the center as the main processing unit
• Subdivide into audit modules (shown in src/audit/)
• Expression parser (src/expr/)
c) Output Generation Layer
• SARIF Report Generation
• Finding Reporting
• Render this at the bottom
Component Relationships
Input Layer → Core Engine → Output Layer
With detailed flows:
Workflow Files → Parser → Audit Modules → Findings → Renderer
Detailed Component Breakdown
Core Analysis Engine should show these modules (from src/audit/):
• Artipacked Analysis
• Cache Poisoning Detection
• Dangerous Triggers Analysis
• Permissions Analysis
• GitHub Environment Security
• Container Credential Check
• Impostor Commit Detection
• Command Security Analysis
• Action Version Analysis
• Template Injection Detection
Supporting Systems
Auxiliary components:
• GitHub API Interface (github_api.rs)
• Configuration Manager (config.rs)
• State Management (state.rs)
• Registry Handler (registry.rs)
Integration Points
External integration points:
• GitHub API Communication
• File System Interaction
• SARIF Report Generation
• Input Processing
• Analysis Pipeline
• Result Generation
• Any abbreviations