Dependabot Alerts Triaging
CSecurityAnalyze GitHub Dependabot dependency vulnerability alerts and suggest triage decisions (dismiss/fix/escalate) with explanations. Also reports, per alert, whether a fix PR is open, whether it is current with the default branch, and whether its checks pass. Also checks whether each alert is already tracked in the outlaw-tracker repository. Use when the user needs help reviewing Dependabot alerts, deciding whether dependencies are exploitable, or triaging CVEs across NASA PDS repositories.
- 4 stars
- 0 votes
- 0 copies
- 1 view
- Added November 20, 2026
Works with
Security analysis
67/100- Sends environment variables or credentials to an external URL
- Installs packages at runtime which could introduce malicious dependencies
Pro scans all 3 files and shows the line behind each finding
npx -y skills add NASA-PDS/pds-agent-skills --skill dependabot-alerts-triaging --agent claude-codeAre you the author of Dependabot Alerts Triaging?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/nasa-pds-dependabot-alerts-triaging)---
name: dependabot-alerts-triaging
description: Analyze GitHub Dependabot dependency vulnerability alerts and suggest triage decisions (dismiss/fix/escalate) with explanations. Also reports, per alert, whether a fix PR is open, whether it is current with the default branch, and whether its checks pass. Also checks whether each alert is already tracked in the outlaw-tracker repository. Use when the user needs help reviewing Dependabot alerts, deciding whether dependencies are exploitable, or triaging CVEs across NASA PDS repositories.
---
# Dependabot Alerts Triaging Skill
This skill helps you make informed triage decisions on GitHub Dependabot dependency vulnerability alerts by analyzing each CVE — **one at a time** — in the context of how the affected package is actually used in NASA-PDS code. You review and approve every decision before anything is recorded or applied.
## Prerequisites
- JSON export from `dependabot-alerts-exporting` skill
- `gh` CLI authenticated (for creating outlaw-tracker issues)
- `GITHUB_TOKEN` environment variable and Node.js v18+ (for `check-fix-prs.mjs` and `dismiss-alerts.mjs`). Quickest: `export GITHUB_TOKEN=$(gh auth token)`
- Local clones of affected repositories (strongly recommended — see Step 1a)
## Workflow Position
```
1. dependabot-alerts-exporting → Export alerts to JSON
2. dependabot-alerts-triaging → THIS SKILL: Analyze & decide one by one
check-fix-prs.mjs → Add fix-PR status (open? current? checks passing?) to each alert
check-tracked-issues.mjs → Add outlaw-tracker status (already tracked? closed? stale?) to each alert
3. dismiss-alerts.mjs → Apply dismissal decisions to GitHub
```
## Triage Actions
| Action | When to Use | GitHub API Value |
|--------|-------------|-----------------|
| **fix** | Patched version available; upgrade is feasible | Keep open, create outlaw-tracker issue |
| **tolerable_risk** | Real CVE but attack vector doesn't apply to PDS usage | `tolerable_risk` |
| **inaccurate** | CVE doesn't affect this package/version, or vulnerable function is never called | `inaccurate` |
| **no_bandwidth** | Real issue, acceptable risk for now, defer to backlog | `no_bandwidth` |
## Workflow
### Step 1: Load the Export
Ask the user for the path to their Dependabot alerts JSON file. Parse it and show a brief summary:
```
Loaded 5 alerts for nasa-pds/registry-legacy-solr
HIGH: 1
MEDIUM: 3
LOW: 1
I'll go through each one individually, starting with the highest severity.
Ready? [yes]
```
Wait for the user to confirm before starting.
### Step 1a: Clone Affected Repositories
Before presenting any alerts, identify the unique repositories in the export and clone them into `/tmp`. A local clone enables fast `grep` searches across all source files — much faster and more thorough than the GitHub Search API, which is rate-limited and only indexes certain file types.
```bash
# Get unique repos from the export
jq -r '[.alerts[].repository] | unique[]' alerts.json
# Shallow-clone each one
git clone --depth=1 https://github.com/NASA-PDS/<repo>.git /tmp/<repo>
```
After cloning, check for a `CLAUDE.md` in each repo — it often contains architecture notes, production deployment details, known breaking-change warnings, and dependency constraints that directly inform triage decisions:
```bash
cat /tmp/<repo>/CLAUDE.md 2>/dev/null || echo "No CLAUDE.md"
```
Read and internalize this context before starting the alert-by-alert triage.
### Step 1b: Check Fix PR Status
For every alert, find out whether a pull request that fixes it is already open, whether that PR is current with the repository's default branch, and whether its checks pass. This tells you before the code analysis whether the fix is a quick merge or real work.
```bash
node scripts/check-fix-prs.mjs alerts.json alerts-prs.json
# Skip repositories that are out of scope for this session
node scripts/check-fix-prs.mjs alerts.json alerts-prs.json --exclude repo-a,repo-b
# One repository only
node scripts/check-fix-prs.mjs alerts.json alerts-prs.json --repo registry-api
```
Use `alerts-prs.json` as the working JSON for the rest of the session. Every checked alert gains a `fixPullRequest` object, and the file gains a top-level `fixPrCheck` summary.
**How a PR is matched to an alert (`fixPullRequest.status`):**
| Status | Meaning |
|--------|---------|
| `linked` | GitHub's own alert-to-PR link (`dependabotUpdate`). Reliable. |
| `probable` | No link, but an open Dependabot PR's branch is named for the package. Check the title and target version before relying on it. |
| `none` | No open PR. `updateError` explains why Dependabot could not open one, when GitHub reports it. |
| `unknown` | The alert is no longer open (fixed or dismissed since the export), or the lookup failed. |
**Readiness (`fixPullRequest.readiness`)** is the first blocker found; `blockers` lists all of them:
| Readiness | Meaning | Suggested next step |
|-----------|---------|---------------------|
| `ready` | Open, current with the default branch, checks passing, no conflicts | Review and merge the PR |
| `insufficient-version` | PR target version is below the alert's patched version, or on a different major line | The PR does not fix this alert; treat as no usable PR |
| `conflicts` | Merge conflicts with the base branch | Ask Dependabot to rebase or recreate: comment `@dependabot rebase` |
| `ci-failing` | One or more checks failed (`checks.failing` names them) | Decide whether the failure is caused by the update or is pre-existing (see below) |
| `ci-pending` | Checks still running | Re-run this check later |
| `behind-default` | Checks pass but the branch is behind the default branch (`behindBy`) | Comment `@dependabot rebase`, then re-check |
| `no-ci` | The PR has no checks | Treat as untested |
| `draft`, `base-not-default`, `closed`, `merged` | Draft PR, targets a different base, or no longer open | Not mergeable as-is |
| `no-pr` | No open PR | Fix means a manual update, or the setting below |
**Repository-level signal.** `fixPrCheck.repositories.<repo>.securityUpdates` is `enabled`, `paused`, `disabled`, or `unknown`. When it is `paused` or `disabled`, Dependabot opens no security PRs for that repository, so `no-pr` says nothing about how hard the fix is. Tell the user once when you start that repository. Typical `updateError.errorType` values: `security_update_not_possible` (no non-vulnerable version can be resolved), `update_not_possible`, `dependency_file_not_supported`, `dependabot_timed_out`.
**Reading the results correctly:**
- "Up to date" means 0 commits behind the default branch, measured with GitHub's compare API. Do not use GitHub's `mergeStateStatus`: it reads `BLOCKED` when a review is required, which hides a stale branch.
- Check results belong to the PR's head commit. If the branch is behind, they ran against an old base: a failure may already be fixed on the default branch, and a pass may not hold after the merge. Report both facts and never call a stale green PR "safe to merge".
- If every failing check is the same one across many PRs in a repository, it is probably a pre-existing problem on the old base rather than a problem with the updates. Say so, and check the default branch's own CI.
- PR status describes fix effort only. It never changes your exploitability assessment.
If a repository's alerts come back `unknown` because they are no longer open, tell the user and offer to re-run the export for that repository before triaging it.
### Step 1c: Compare with outlaw-tracker
Some of these vulnerabilities are already tracked in `NASA-PDS/outlaw-tracker`. Compare every alert with the tracker's issues before triaging, so you link to existing tracking instead of creating a duplicate.
```bash
node scripts/check-tracked-issues.mjs alerts-prs.json alerts-tracked.json
```
Run it on the output of Step 1b (or on the raw export) and use `alerts-tracked.json` as the working JSON from here on. Every alert gains an `outlawTracker` object, and the file gains a top-level `trackerCheck` summary. Requires `GITHUB_TOKEN` with read access to the tracker repository, which is private. Use `--tracker <owner/repo>` for a different tracker.
**Alert status (`outlawTracker.status`):**
| Status | Meaning |
|--------|---------|
| `tracked` | An open tracker issue matches with `exact`, `high` or `medium` confidence |
| `tracked-closed` | Matching issues exist but are all closed. The alert is still open, so the earlier fix may be incomplete or the problem has recurred |
| `possible` | Only weak (`low`) matches: the package is named in an issue body, or the same CVE is tracked for a different repository |
| `none` | Nothing found |
**Match confidence** (`matches[].confidence`):
| Confidence | Basis |
|------------|-------|
| `exact` | The issue body links to this alert's Dependabot URL (issues created by this skill do) |
| `high` | The issue names the alert's CVE or GHSA id and the alert's repository |
| `medium` | The issue title names the alert's package and the alert's repository |
| `low` | Package named only in the body, or the id appears for another repository |
**Reading the results correctly:**
- Tracker issues name repositories inconsistently (`wds` for `wds-react-legacy`) and often cover a whole group of CVEs. The script matches shorter forms of a repository name and package names, not exact titles.
- A `medium` match means the *package* is tracked, not necessarily this CVE. When `predatesAlert` is true, the issue was opened before the alert existed: read it before relying on it.
- For `tracked-closed`, read the closing comments first. They say what was done and whether it was deployed, which tells you whether this is a recurrence or an incomplete fix.
- `trackerCheck.openIssuesWithNoMatchingAlert` lists open tracker issues that mention a CVE or Dependabot but match no open alert. The alerts were probably fixed or dismissed, so the issue may be ready to close or may carry an out-of-date target version. Show the list to the user once, after loading, and offer to comment or close. Never close an issue without confirmation. Issues about things Dependabot does not report (infrastructure, WordPress) can appear here too.
### Step 2: Order the Queue
Sort alerts: CRITICAL → HIGH → MEDIUM → LOW. Within the same severity, sort by CVSS score descending.
If the same CVE appears in multiple repos, note it when presenting the first instance ("This CVE also affects 2 other repos — after you decide here, I can apply the same decision to those"). Present each repo's alert individually — never assume the same decision applies without the user confirming.
### Step 3: Triage Each Alert — One at a Time
Present **one alert** using this format, then stop and wait:
```
Alert #1/5 — nasa-pds/registry-legacy-solr — Alert #33
────────────────────────────────────────────────────────
Package: lxml (pip)
Severity: HIGH — CVSS 7.5
CVE: CVE-2026-41066
Advisory: https://github.com/advisories/GHSA-xxxx-xxxx-xxxx
Alert URL: https://github.com/NASA-PDS/registry-legacy-solr/security/dependabot/33
Vulnerable: < 6.1.0 | Fixed: 6.1.0
Manifest: src/main/resources/requirements.txt (runtime)
WHAT IS IT:
lxml's iterparse() and ETCompatXMLParser() use a default libxml2 configuration
that allows XML External Entity (XXE) processing. If untrusted XML is passed to
these functions, an attacker can read arbitrary local files or trigger SSRF.
WHAT I FOUND IN THE REPO:
[Search the repo for lxml imports and usages. Report specifically:
- Which functions are called (parse, iterparse, fromstring, etc.)
- Whether the input comes from user-supplied data or internal sources
- E.g.: "lxml.etree.parse() is called on PDS4 labels in src/harvest/xml_parser.py.
Labels are submitted by external users — XXE is reachable."]
EXPLOITABILITY:
[Based on the code findings, assess whether the vulnerable API is reachable
with attacker-controlled input. Be specific.
E.g.: "HIGH — external XML is parsed without disabling entity resolution."]
FIX PR:
PR: #45 "Bump lxml from 5.2.0 to 6.1.0" (dependabot)
https://github.com/NASA-PDS/registry-legacy-solr/pull/45
Match: linked
Patched version: yes — targets 6.1.0, alert needs >= 6.1.0
Default branch: 3 commits BEHIND main
Checks: PASSING 3/3 (ran against the older base)
Readiness: behind-default — comment "@dependabot rebase", then re-check CI
[With no PR: "None open — Dependabot security updates are PAUSED for this repo"
or the updateError title, taken from fixPullRequest.summary.]
TRACKING:
outlaw-tracker#NN (closed 2026-05-10): "[NASA-PDS/registry-legacy-solr] <earlier CVE>: lxml vulnerability ..."
Match: medium (package in title); opened before this alert existed
Note: the alert is still open after the issue was closed — earlier fix incomplete, or recurrence
[With no match: "Not tracked in outlaw-tracker". Take the wording from outlawTracker.summary.]
MY RECOMMENDATION:
Action: fix
Reason: Patch available (6.1.0). Runtime dep. Likely reachable with external XML.
Comment: "CVE-2026-41066: lxml XXE via iterparse(). Upgrade to >=6.1.0.
— Triaged with assistance from Claude"
Confidence: medium (awaiting code confirmation)
outlaw-tracker: YES
Do you want to:
1. ✅ Fix — keep open + create outlaw-tracker issue
2. 🟡 Dismiss — tolerable_risk (attack vector not applicable to PDS)
3. 🟡 Dismiss — inaccurate (vulnerable function not used / CVE doesn't apply)
4. 🟡 Dismiss — no_bandwidth (real issue, defer)
5. 🔍 Investigate more first
6. ⏭️ Skip for now
```
**Do not present the next alert until the user responds to this one.**
Take the FIX PR block from `fixPullRequest` (run Step 1b first). Let it shape the recommendation without replacing the exploitability analysis:
- A `ready` PR makes **fix** cheap ("review and merge PR #N"). Mention it before suggesting a dismissal, unless the update is a risky major bump.
- A PR that is `ci-failing`, `conflicts` or `insufficient-version`, or no PR at all, means the fix needs manual work. Say what that work is.
- When there is no PR and no patched version exists, upgrading is not possible; weigh `tolerable_risk` or `no_bandwidth`, or replacing the package.
Use the TRACKING block the same way:
- `tracked`: the work is already filed. Link to the existing issue rather than creating one, and say whether it needs an update (an outdated target version, a new CVE for the same package).
- `tracked-closed`: say what the closing comments report and why the alert is still open. Prefer commenting on or reopening the old issue; a new issue is only right when the root cause differs, and it should reference the old one.
- `possible`: mention it, but do not treat it as tracking.
If the user picks option 5 (investigate more), search the repository using available tools:
- Look for imports and usages of the flagged package/function
- Check if the dep appears in test/dev scope only
- Check the manifest for version pinning and transitive dep chains
- Report findings clearly, then re-present options 1–6.
### Step 4: Record the Decision
After the user responds, immediately update the `triage` field for that alert in the working JSON and confirm:
```
✅ Recorded: dismiss (inaccurate) — lxml is only used via lxml.etree.fromstring() on
internally-generated XML, not user input. Vulnerable iterparse() is never called.
Progress: 1/5 done — 4 remaining
```
Fill the triage object:
```json
{
"triage": {
"action": "dismiss",
"dismissedReason": "inaccurate",
"comment": "lxml.iterparse() is never called in this repo. Only fromstring() is used on internally-generated XML. — Triaged with assistance from Claude",
"githubIssueUrl": null,
"reviewer": "jordanpadams",
"triageDate": "2026-04-23T15:30:00Z",
"confidence": "high"
}
}
```
Valid `dismissedReason` values (GitHub API):
- `tolerable_risk` — Risk is real but acceptable in PDS context
- `inaccurate` — CVE doesn't apply (wrong function, version confusion, not used)
- `no_bandwidth` — Real issue, low priority, deferred
### Step 5: Create outlaw-tracker Issue (When action = fix)
When the user approves **fix**, check `outlawTracker.status` first. If it is `tracked` or `tracked-closed`, do not create a new issue: comment on the existing issue with the new alert (for `tracked-closed`, ask whether to reopen it), and record that issue's URL in `triage.githubIssueUrl`. Create a new issue only for `none` or `possible`, or when the user asks for one.
To create a new issue, do it immediately, before moving to the next alert. Write the body to `/tmp/dependabot_issue_body.md` using the Write tool, then:
```bash
gh issue create \
--repo NASA-PDS/outlaw-tracker \
--title "CVE-YYYY-NNNNN: <package> vulnerability in NASA-PDS/<repo>" \
--label "security" \
--body-file /tmp/dependabot_issue_body.md
```
Issue body must include:
- CVE ID and GHSA ID
- Affected repository and manifest path
- Affected package, vulnerable version range, and patched version
- CVSS score and severity
- Brief description of the vulnerability and attack vector
- Exploitability assessment from the code investigation
- Recommended fix command (e.g., `pip install "lxml>=6.1.0"`)
- Fix PR, if one exists: link, readiness, and what remains (e.g., "merge PR #45 after `@dependabot rebase`")
- Link to the Dependabot alert
- Link to the GitHub advisory
Record the returned issue URL in `triage.githubIssueUrl`. Confirm the issue was created, then immediately advance to the next alert.
**All comments must end with:**
```
— Triaged with assistance from Claude
```
### Step 6: Advance to the Next Alert
After recording a decision (and creating any outlaw-tracker issue), present the next alert using the same Step 3 format. Repeat until all alerts are done or the user says stop.
### Step 7: Track Metrics — Update After Every Alert
Maintain two metric files throughout the session, updating them immediately after each alert decision. Do not wait until the end.
#### Create at Session Start
**dependabot-triage-metrics.json** — structured data for programmatic access:
```json
{
"triageSession": {
"startDate": "2026-04-23T15:00:00Z",
"organization": "nasa-pds",
"totalRepositoriesScanned": 1,
"totalAlertsExported": 5,
"bySeverity": { "critical": 0, "high": 1, "medium": 3, "low": 1 },
"repositoriesTriaged": 0,
"alertsTriaged": 0,
"alertsRemaining": 5,
"tokenUsage": {
"total": 0,
"notes": "Update after each repository — check Claude Code token counter"
}
},
"remediationSummary": {
"fix": 0,
"tolerable_risk": 0,
"inaccurate": 0,
"no_bandwidth": 0,
"skipped": 0,
"outlaw_tracker_issues_created": 0
},
"repositoryDetails": []
}
```
**DEPENDABOT_TRIAGE_METRICS.md** — human-readable dashboard:
```markdown
# Dependabot Triage Metrics
**Session Date:** 2026-04-23
**Organization:** nasa-pds
**Status:** In Progress
---
## 📊 Overall Statistics
| Metric | Count |
|--------|-------|
| **Total Repositories Scanned** | 1 |
| **Total Alerts Exported** | 5 |
| ├─ Critical | 0 |
| ├─ High | 1 |
| ├─ Medium | 3 |
| └─ Low | 1 |
| **Alerts Triaged** | 0 |
| **Alerts Remaining** | 5 |
| **Token Usage** | 0 |
---
## 🎯 Remediation Summary
| Decision | Count | % |
|----------|-------|---|
| **fix** | 0 | 0% |
| **tolerable_risk** | 0 | 0% |
| **inaccurate** | 0 | 0% |
| **no_bandwidth** | 0 | 0% |
| **outlaw-tracker Issues Created** | 0 | — |
---
## 📁 Repository Details
_(none yet)_
---
_Last Updated: 2026-04-23T15:00:00Z_
```
#### Update After Each Alert Decision
After recording each alert's decision:
1. Increment `alertsTriaged` and decrement `alertsRemaining`
2. Increment the matching `remediationSummary` counter
3. If action = `fix`, increment `outlaw_tracker_issues_created` and record the URL
4. Add or update the repository entry in `repositoryDetails[]`
5. Update all counts in `DEPENDABOT_TRIAGE_METRICS.md`
6. **Update token usage** — check the Claude Code token counter after each repository and add to `triageSession.tokenUsage.total`
#### Repository Detail Entry Format
```json
{
"repository": "nasa-pds/registry-legacy-solr",
"triagedDate": "2026-04-23T15:30:00Z",
"totalAlerts": 5,
"bySeverity": { "high": 1, "medium": 3, "low": 1 },
"decisions": {
"fix": 1,
"inaccurate": 1,
"no_bandwidth": 2,
"tolerable_risk": 1
},
"outlaw_tracker_issues": [
{
"issueNumber": 22,
"url": "https://github.com/NASA-PDS/outlaw-tracker/issues/22",
"title": "CVE-2026-25645: requests vulnerability in NASA-PDS/registry-legacy-solr",
"relatedAlerts": [29]
}
],
"alertDetails": [
{
"alertNumber": 33,
"package": "lxml",
"severity": "high",
"cveId": "CVE-2026-41066",
"decision": "inaccurate",
"rationale": "lxml never imported or used in codebase",
"fixPr": { "number": 45, "readiness": "behind-default" },
"trackerIssue": 22
}
]
}
```
### Step 8: Session Summary and Save
When all alerts are triaged (or the user types "done"/"save"), show a final summary and write the updated JSON:
```
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Triage Complete — nasa-pds/registry-legacy-solr
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Total: 5
fix: 1 → outlaw-tracker issues: #22
inaccurate: 1
tolerable_risk: 1
no_bandwidth: 2
skipped: 0
Saved:
dependabot-registry-legacy-solr-triaged.json
dependabot-triage-metrics.json
DEPENDABOT_TRIAGE_METRICS.md
Next — apply dismissals:
node scripts/dismiss-alerts.mjs dependabot-registry-legacy-solr-triaged.json --dry-run
```
Write the updated alerts JSON appending `-triaged` before `.json`.
### Step 9: Apply Dismissals
Offer to run the dismissal script after saving:
```bash
# Preview first
node scripts/dismiss-alerts.mjs dependabot-alerts-triaged.json --dry-run
# Apply
node scripts/dismiss-alerts.mjs dependabot-alerts-triaged.json
```
The script PATCHes each alert where `triage.action === "dismiss"` via the GitHub API with the recorded `dismissedReason` and `comment`. Requires `GITHUB_TOKEN` (same as the export step).
### Step 10: Create a PR on outlaw-tracker with Triage Results
After dismissals are applied, commit the triage artifacts to `NASA-PDS/outlaw-tracker` and open a pull request so the session is permanently recorded and reviewable.
#### Files to include
- `dependabot-alerts-triaged.json` — full alert data with triage decisions
- `dependabot-triage-metrics.json` — structured session metrics
- `DEPENDABOT_TRIAGE_METRICS.md` — human-readable dashboard
#### Steps
```bash
# 1. Detect whether we're already inside the outlaw-tracker repo
REPO_ROOT=$(git rev-parse --show-toplevel 2>/dev/null)
REMOTE=$(git remote get-url origin 2>/dev/null)
if echo "$REMOTE" | grep -q "outlaw-tracker"; then
# Already in the repo — use it directly
OUTLAW_DIR="$REPO_ROOT"
else
# Clone it
git clone --depth=1 https://github.com/NASA-PDS/outlaw-tracker.git /tmp/outlaw-tracker
OUTLAW_DIR="/tmp/outlaw-tracker"
fi
cd "$OUTLAW_DIR"
# 2. Create a branch named for the session date and scope
BRANCH="dependabot-triage-$(date +%Y%m%d)"
git checkout -b "$BRANCH"
# 3. Create the triage-reports directory structure
REPORT_DIR="triage-reports/dependabot/$(date +%Y%m%d)"
mkdir -p "$REPORT_DIR"
# 4. Copy triage artifacts into the report directory
cp /path/to/dependabot-alerts-triaged.json "$REPORT_DIR/"
cp /path/to/dependabot-triage-metrics.json "$REPORT_DIR/"
cp /path/to/DEPENDABOT_TRIAGE_METRICS.md "$REPORT_DIR/"
# 5. Commit
git add "$REPORT_DIR"
git commit -m "Add Dependabot triage results for nasa-pds (<date>)
Triaged <N> alerts across <M> repositories.
fix: <N> (outlaw-tracker issues created: <N>)
inaccurate: <N>
tolerable_risk: <N>
no_bandwidth: <N>"
# 6. Push
git push -u origin "$BRANCH"
```
#### PR Body
Write the PR body to `/tmp/triage_pr_body.md` using the Write tool, then create the PR:
```bash
gh pr create \
--repo NASA-PDS/outlaw-tracker \
--base main \
--head "$BRANCH" \
--title "Dependabot triage results — nasa-pds (<date>)" \
--body-file /tmp/triage_pr_body.md \
--label "security"
```
The PR body should include:
- Session date and organization
- Summary table (total alerts, decisions breakdown, outlaw-tracker issues created)
- Links to each outlaw-tracker issue created during the session
- List of repositories triaged with alert counts
- Token usage for the session
- Note that dismissals have already been applied to GitHub
```markdown
## Summary
Dependabot triage session for `nasa-pds` organization on <date>.
| Metric | Count |
|--------|-------|
| Repositories triaged | <N> |
| Total alerts | <N> |
| fix | <N> |
| inaccurate | <N> |
| tolerable_risk | <N> |
| no_bandwidth | <N> |
| outlaw-tracker issues created | <N> |
| Token usage | <N> |
## outlaw-tracker Issues Created
- #<N> — CVE-XXXX-XXXXX: <package> in <repo>
## Repositories Triaged
- `nasa-pds/<repo>` — <N> alerts (<N> fix, <N> dismissed)
## Artifacts
- `triage-reports/dependabot/<date>/dependabot-alerts-triaged.json`
- `triage-reports/dependabot/<date>/dependabot-triage-metrics.json`
- `triage-reports/dependabot/<date>/DEPENDABOT_TRIAGE_METRICS.md`
Dismissals have been applied to GitHub via the Dependabot API.
— Triaged with assistance from Claude
```
## Common False Positive Patterns
**inaccurate — not used**
- The vulnerable function/method is never imported or called in the codebase
- The package is a transitive dep of a dev-only tool (jest, webpack, sphinx)
- The package appears only in `devDependencies` / `requirements-dev.txt`, not in the production artifact
**tolerable_risk**
- CVE requires network exposure but the tool only runs locally (CLI validators, data pipeline tools)
- CVE requires unauthenticated access but PDS services require auth
- CVSS inflated — network-accessible vector described in advisory doesn't match PDS deployment model
- No patch available and the code is EOL legacy with no active maintainer
**inaccurate — version or advisory mismatch**
- Advisory later withdrawn or revised
- Fix already backported to the installed version
**no_bandwidth**
- Real vulnerability, no patch available, EOL library (e.g., commons-lang 2.x)
- Low CVSS, low exploitability, lower priority than other active work
## Notes
- **One at a time, always** — never present multiple alerts at once; wait for the user to respond to each
- **Investigate before guessing** — use available tools to read the code; a specific finding beats a generic assessment
- **"legacy" repo names are a signal** — `no_bandwidth` and `tolerable_risk` are more likely appropriate; call this out explicitly
- **Same CVE, multiple repos** — mention cross-repo impact, but confirm the decision per repo unless the user says "apply to all"
- **When unsure** — say so and recommend human review; a missed real vulnerability is worse than over-caution
- **Fix PR status is about effort, not risk** — a green, current PR does not make an unreachable CVE exploitable, and a missing PR does not make a reachable one safe
- **Never trust a stale green** — a passing PR that is behind the default branch has not been tested against it
- **`probable` and `insufficient-version` matter** — one Dependabot PR often covers several alerts, but not always all of them; check the target version against each alert's patched version
- **Check the tracker before filing** — duplicate issues split the history; link to or reopen the existing one
- **A closed tracker issue does not mean the problem is gone** — if the alert is still open, find out what was closed and why it came back
Files in this skill
- SKILL.md
- scripts/check-fix-prs.mjs
- scripts/dismiss-alerts.mjs
Attribution
Related skills
View all in tools →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.