How pthoor/fylgyr works
Fylgyr scans GitHub repositories and organizations for supply-chain weaknesses, maps findings to known attack campaigns, and emits actionable reports. Its documented workflow is initiated with Invoke-Fylgyr; organization-wide policy checks are opt-in. A separate drift scan supports scheduled monitoring, and findings can be streamed to Microsoft Sentinel for operational triage. The README documents these capabilities, but no source excerpts were provided, so internal call relationships are omitted where they are not explicit in that documentation.
Main entry points: Invoke-Fylgyr.ps1 Invoke-Fylgyr · Invoke-FylgyrDriftScan.ps1 Invoke-FylgyrDriftScan · Send-FylgyrToLogAnalytics.ps1 Log Analytics sender · Public Repository checks
Components 12
Scan and assess
- Invoke-Fylgyr
src/Fylgyr/Public/Invoke-Fylgyr.ps1 - Repository checks
src/Fylgyr/Public - Organization checks
src/Fylgyr/Public - Attack campaign catalog
src/Fylgyr/Data/attacks.json
Findings and reports
- Console, JSON, SARIF
src/Fylgyr/Private
Drift monitoring
- Invoke-FylgyrDriftScan
src/Fylgyr/Public/Invoke-FylgyrDriftScan.ps1 - Drift checks
src/Fylgyr/Public/Drift
Sentinel operations
- Log Analytics sender
src/Fylgyr/Public/Send-FylgyrToLogAnalytics.ps1 - Sentinel tables and alerts
docs/sentinel - Azure Monitor ingestion
Other components
- Maintainer or security team
- GitHub
Connections 11
- Maintainer or security team → Invoke-Fylgyr: starts scan
README.md - Invoke-Fylgyr → GitHub: scans repositories
README.md - Invoke-Fylgyr → Repository checks: checks repositories
README.md - Invoke-Fylgyr → Organization checks: opts into
README.md - Invoke-Fylgyr → Attack campaign catalog: maps findings
README.md - Invoke-Fylgyr → Console, JSON, SARIF: emits findings
README.md - Maintainer or security team → Invoke-FylgyrDriftScan: starts drift scan
README.md - Invoke-FylgyrDriftScan → GitHub: monitors changes
README.md - Invoke-FylgyrDriftScan → Drift checks: checks for drift
README.md - Log Analytics sender → Azure Monitor ingestion: streams findings
README.md - Azure Monitor ingestion → Sentinel tables and alerts: supports triage
README.md