You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+50-23Lines changed: 50 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,39 +1,37 @@
1
1
# Malcontent GitHub Action
2
2
3
-
A GitHub Action that runs [malcontent](https://github.com/chainguard-dev/malcontent) on PR diffs to detect security changes between versions.
3
+
A GitHub Action that runs [malcontent](https://github.com/chainguard-dev/malcontent) on PR diffs to detect security-relevant changes between code versions.
4
4
5
5
## Features
6
6
7
-
- 🔍 **Diff Analysis**: Compares malcontent findings between base and head commits
8
-
- 📊 **Risk Scoring**: Calculates risk scores and detects increases/decreases
9
-
- 💬 **Enhanced PR Comments**: Shows detailed behaviors, not just counts
10
-
- 📝 **Workflow Summary**: Outputs to GitHub Actions summary for non-PR contexts
11
-
- 🎯 **Flexible Modes**: Supports both `diff` and `analyze` modes
12
-
- 📁 **Path Filtering**: Can analyze specific directories with `base-path`
7
+
- 🔍 **Security Diff Analysis**: Compares malcontent findings between base and head commits
8
+
- 📊 **Risk Scoring**: Calculates risk scores and tracks increases/decreases
9
+
- 💬 **Detailed PR Comments**: Shows specific behaviors with risk levels and match examples
10
+
- 📝 **Workflow Summary**: Outputs findings to GitHub Actions summary for non-PR contexts
11
+
- 📁 **Path Filtering**: Analyze specific directories with `base-path`
13
12
- 🚀 **Docker-based**: Uses malcontent Docker image for consistent results
13
+
- 🎯 **Risk-based Actions**: Take different actions based on risk magnitude with `risk-delta` output
14
14
15
-
## What's New
15
+
## PR Comment Example
16
16
17
-
### Enhanced PR Comments
18
-
Instead of just showing behavior counts, the action now displays:
0 commit comments