Docker · Compose · Kubernetes · GitHub pull requests
Vulnerability notifications and remediation PRs, resolution checks after deployment
KestreLynx is open-source software that reports vulnerabilities in images used by running containers, compares update candidates, and creates remediation PRs on GitHub. After you merge and deploy, the next scan carries history forward to check for resolution.
Open source · AGPL-3.0 · Scans with Trivy · Prioritizes with CISA KEV and EPSS
Fix plan notification from the demo
- Created PRs “Pull request” #1, #2, and #3 and “File to change” identify where the changes go.
- A candidate without a PR The python 3.12.15-slim candidate introduces vulnerabilities and is marked “Needs a decision”; you decide whether to update or wait for another tag.
- Updates to dependent packages Updating body-parser and path-to-regexp also updates express, which depends on them, from 4.18.2 to 4.22.3.
How it works
Remediation PRs and resolution checks
Comparing update candidates
Rescans before and after an update use the same conditions to compare resolved, remaining, and newly introduced findings.
Creating remediation PRs
KestreLynx creates PRs in GitHub repositories mapped to running containers, updating existing files. Version specifications can stay where they are.
Checking resolution
After you merge a PR and deploy the new image, the next scan carries history forward to check for resolution.
- Published image tags
- Compose files · plain Kubernetes manifests · Kustomize
images[].newTag· Helm values - Base image tags
- Dockerfile
- Dependency files
- npm · pnpm · pip · uv · Go · Maven (
pom.xml) · Gradle (gradle.lockfile) · Rust (Cargo.lock)
Demo remediation example (experimental)
One PR, from proposal to resolution check
Actual output in English from the demo repository, which pins older images and dependencies. The generated PRs are also public.
Remediation pull request
nginx 1.27.0 → 1.27.5
The candidate scan comparison records 17 targeted vulnerabilities resolved and 86 remaining.
proxy container was replaced with nginx 1.27.5, the next scan reported resolutions for four packages with history carried over.Creating a candidate or PR does not fix the running image. Checking the comparison scope and running CI are required before merging. You rebuild and deploy the image.
GitHub is the only supported source host, and language packages are retrieved only from public registries. Remediation plans and pull requests (experimental) →
Scanning and notifications
Vulnerability changes and priorities
Changes since the last scan
Notifications show changes in findings since the previous scan.
Remediation priorities
Priorities combine severity, known exploitation (KEV), and predicted exploitation probability (EPSS).
Scanning with Trivy
Trivy scans report HIGH and CRITICAL vulnerabilities by default, including findings without available fixes.
Setup
Steps with Docker Compose
Setup requires a Docker host with Docker Compose and at least one notification destination: Slack Incoming Webhook, a Slack bot and channel, email, or a generic webhook.
# 1. Clone the repository and enter its directory
git clone https://github.com/kitsunetrail/kestrelynx.git
cd kestrelynx
# 2. Copy the example; set a notification destination
cp config.example.yml config.yml
${EDITOR:-vi} config.yml
# 3. Start KestreLynx and check startup and scans in the logs
docker compose up -d
docker compose logs -f
The example configuration runs one scan at startup, then scans daily at 09:00. Remediation planning and PR creation are disabled by default.
Setup instructions → Run on Kubernetes → Enable remediation plans →
Documentation, development logs, and articles
Documentation
Development logs
Bug reports and suggestions go to GitHub Issues; trial reports go to Discussions.