Security and hardening · Intermediate · 22 min
Triage security scanner findings without drowning in them
By Padding · Updated 18 Nov 2026
Ubuntu 26.04 · OSV-Scanner 2.7.1
You will take a dependency scan with 14 findings, rank them with CVSS, EPSS and CISA's Known Exploited Vulnerabilities list, check which packages ship and which code is reachable, fix what matters, and record each accepted risk with an owner and an expiry date in osv-scanner.toml and a VEX statement.
On this page
A dependency scanner on a real project rarely reports two or three problems. It reports forty, half of them rated high or critical, and the team either fixes them in the order the tool printed them or stops reading the report. Neither is safe. The finding that gets you breached is often not the one with the biggest score.
Triage is the work of turning that list into a short queue with deadlines. For each finding you ask a few questions in a fixed order: is the advisory right, does the package ship, is anyone exploiting it, can attacker input reach the vulnerable code, and is a fix available. The answer leads to one of four decisions: fix, mitigate, accept or false positive. Every decision that is not a fix gets written down with an owner and an expiry date, so it comes back for review instead of hiding forever.
In this tutorial you build a small demo repository with a Node.js web service and a Java report job, scan it with OSV-Scanner 2.7.1, and work through 14 findings. You join the scan with two public feeds, FIRST's EPSS scores and CISA's Known Exploited Vulnerabilities (KEV) catalogue, in a short jq script that ranks them. Then you fix two packages, accept one risk properly, and re-scan until the build would pass.
Step 1 · Install OSV-Scanner and jq
OSV-Scanner is Google's open-source scanner for the OSV vulnerability database, which collects advisories from GitHub, PyPI, Go, RustSec and others. It reads lockfiles from most ecosystems, so one tool covers both services in the demo. jq reads its JSON output.
Install curl and jq from the Ubuntu archive:
sudo apt update
sudo apt install -y curl jq ca-certificatesOSV-Scanner is a single binary on its GitHub releases page. Download the build for your machine's architecture, check it against the published checksums before you run it, and install it:
ver=2.7.1
arch=$(dpkg --print-architecture)
cd /tmp
curl -fsSLO "https://github.com/google/osv-scanner/releases/download/v${ver}/osv-scanner_linux_${arch}"
curl -fsSLO "https://github.com/google/osv-scanner/releases/download/v${ver}/osv-scanner_SHA256SUMS"
grep " osv-scanner_linux_${arch}\$" osv-scanner_SHA256SUMS | sha256sum -c -
sudo install -m 755 "osv-scanner_linux_${arch}" /usr/local/bin/osv-scanner
rm "osv-scanner_linux_${arch}" osv-scanner_SHA256SUMS
cd ~dpkg --print-architecture prints amd64 or arm64, which match the names of the release files. sha256sum -c prints osv-scanner_linux_amd64: OK (or arm64). If it prints FAILED, the command stops before the install: delete the file and download it again.
A binary installed by hand gets no updates from apt. To upgrade, run the same block with the new version number from the releases page.
Check it worked
osv-scanner --versionThe first line shows osv-scanner version: 2.7.1, followed by the commit and build details.
Step 2 · Build a demo repository with two services
The demo is a throwaway folder with two services. web is a Node.js service with a lockfile that pins an old lodash for the app and an old minimist for the test tooling. reports is a Java job that logs with Log4j 2.14.1, the version behind Log4Shell. Only the lockfiles and a little source code are needed, because OSV-Scanner reads lockfiles without installing anything.
mkdir -p ~/triage-demo/web/src ~/triage-demo/reports/src/main/java/demo
cd ~/triage-demo
cat > web/package-lock.json <<'EOF'
{
"name": "web",
"version": "1.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "web",
"version": "1.0.0",
"dependencies": { "lodash": "4.17.20" },
"devDependencies": { "minimist": "1.2.5" }
},
"node_modules/lodash": {
"version": "4.17.20",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz",
"integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==",
"license": "MIT"
},
"node_modules/minimist": {
"version": "1.2.5",
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz",
"integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==",
"dev": true,
"license": "MIT"
}
}
}
EOF
cat > web/src/server.js <<'EOF'
const http = require("node:http");
const _ = require("lodash");
const settings = { site: { title: "Demo shop" } };
http
.createServer((req, res) => {
res.end(_.get(settings, "site.title", "untitled"));
})
.listen(3000);
EOF
cat > reports/gradle.lockfile <<'EOF'
# This is a Gradle generated file for dependency locking.
# Manual edits can break the build and are not advised.
# This file is expected to be part of source control.
org.apache.logging.log4j:log4j-api:2.14.1=compileClasspath,runtimeClasspath
org.apache.logging.log4j:log4j-core:2.14.1=compileClasspath,runtimeClasspath
empty=annotationProcessor
EOF
cat > reports/src/main/java/demo/ReportJob.java <<'EOF'
package demo;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
public class ReportJob {
private static final Logger log = LogManager.getLogger(ReportJob.class);
public static void main(String[] args) {
// The customer name comes from the upload form on the website.
String customer = args.length > 0 ? args[0] : "unknown";
log.info("Building report for {}", customer);
}
}
EOF"dev": true in the npm lockfile marks minimist as a development dependency. Gradle writes the configurations that use each dependency after the =. runtimeClasspath means Log4j goes into the built job.
Check it worked
find ~/triage-demo -type f | sortFour files are listed: reports/gradle.lockfile, reports/src/main/java/demo/ReportJob.java, web/package-lock.json and web/src/server.js.
Step 3 · Run the first scan and see the size of the problem
Scan the whole repository. -r walks into subfolders and finds both lockfiles:
cd ~/triage-demo
osv-scanner scan source -r . || echo "osv-scanner exit code: $?"The table lists each advisory with its CVSS score, the ecosystem, the package, the version and the lockfile. OSV-Scanner exits with code 1 when it finds anything, which is how it fails a CI job. That is why the || echo is there: it prints the code instead of stopping your shell script. Code 0 means packages were found and none are vulnerable, and 128 means no lockfile was found at all.
The table is for reading. For triage you want the JSON report, which holds the full advisory for every finding:
osv-scanner scan source -r --format json --output-file report.json . || echo "osv-scanner exit code: $?"In the JSON, each package has a vulnerabilities list (the full OSV records) and a groups list. A group joins advisories that are aliases of each other, such as a GitHub advisory and its CVE, so one group is one real problem. Count findings by group, not by record:
jq -r '.results[].packages[] | "\(.groups | length) finding(s) \(.package.name)@\(.package.version)"' report.jsonCheck it worked
The output has four lines, something like:
4 finding(s) lodash@4.17.20
1 finding(s) minimist@1.2.5
1 finding(s) org.apache.logging.log4j:log4j-api@2.14.1
8 finding(s) org.apache.logging.log4j:log4j-core@2.14.1That is 14 findings when this was written, four of them rated critical. New advisories are published every week, so your count may be higher. Sorting by CVSS alone would put the dev-only minimist finding, rated 9.8, above most of the Log4j ones. The next steps show why that order is wrong.
Step 4 · Ask whether each package ships
A vulnerability in a package that never reaches production cannot be exploited in production. Test runners, linters and build helpers still matter, because they run on developer laptops and CI machines that hold secrets, but they belong in a slower queue.
OSV-Scanner copies the dependency group from package-lock.json, pnpm-lock.yaml and poetry.lock into dependency_groups. A package with no group is a production dependency. yarn.lock does not record whether a package is dev or production, so with Yarn every package shows no group and you have to check devDependencies in package.json by hand:
jq -r '.results[].packages[] | "\(.package.name)@\(.package.version) \((.dependency_groups // []) | if length == 0 then "production" else join(",") end)"' report.jsonFor Gradle, read the configuration names in the lockfile itself. Anything in runtimeClasspath is in the built artefact. A dependency only in testCompileClasspath or testRuntimeClasspath is test-only:
grep log4j reports/gradle.lockfileBefore you call something dev-only, confirm how the production artefact is built. A Node.js image built with npm ci --omit=dev leaves dev dependencies out. One built with a plain npm ci ships them.
Check it worked
minimist shows dev. lodash and both Log4j packages show production, and the Gradle lines both end in runtimeClasspath. One of the four critical findings is now in the slow queue.
Step 5 · Add exploit signals from CVSS, EPSS and KEV
Three public signals answer three different questions, and mixing them up is the most common triage mistake.
- CVSS describes the flaw itself: how it is reached, how hard it is, and what it breaks. CVSS 4.0 splits the metrics into Base, Threat, Environmental and Supplemental groups, and the specification asks you to label a score by the groups used: CVSS-B for base metrics only, CVSS-BT once a threat metric such as Exploit Maturity (
E:) is set. OSV-Scanner'smax_severityis the highest score it can compute from an advisory's CVSS vectors (v2, v3 or v4). Many advisories still carry only a 3.1 vector. - EPSS (Exploit Prediction Scoring System, from FIRST) is the probability, from 0 to 1, that exploitation activity for a CVE is seen in the next 30 days. It is recalculated every day from real attack data. The
percentiletells you how it ranks against all other CVEs. - KEV is CISA's catalogue of vulnerabilities with evidence of exploitation in the wild. It was written for US federal agencies, but anyone can use it. A CVE in KEV is no longer a prediction.
See the CVSS 4.0 vector on one lodash advisory:
jq -r '.results[].packages[].vulnerabilities[] | select(.id == "GHSA-xxjr-mmjv-4gpg") | .severity[] | "\(.type) \(.score)"' report.jsonIt prints a CVSS_V3 line and a CVSS_V4 line. The 4.0 vector ends in E:P (proof-of-concept exploit code exists), so a score computed from it is CVSS-BT. Paste it into FIRST's CVSS 4.0 calculator to see how each metric moves the score.
EPSS and KEV are keyed by CVE, so collect the CVE IDs from the report:
mkdir -p feeds
cves=$(jq -r '[.results[].packages[].groups[].aliases[] | select(startswith("CVE-"))] | unique | join(",")' report.json)
echo "$cves"Save today's copies of both feeds. FIRST's API returns scores for only your CVEs, and the KEV feed is one JSON file:
curl -fsSL -o feeds/epss.json "https://api.first.org/data/v1/epss?cve=$cves"
curl -fsSL --compressed -o feeds/kev.json https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.jsonOn a metered or prepaid connection, which is common for small teams across Africa, the API query is a few kilobytes. The full daily EPSS file is about 3 MB compressed, and the KEV feed is about 2 MB uncompressed (less with --compressed). Download them once a day into a shared folder or a CI cache, not on every scan.
Look up your CVEs in each saved copy:
jq -r '.data[] | "\(.cve) epss=\(.epss) percentile=\(.percentile)"' feeds/epss.json
jq -r --arg cves "$cves" '($cves | split(",")) as $mine | "KEV catalogue \(.catalogVersion)", (.vulnerabilities[] | select(.cveID | IN($mine[])) | "\(.cveID) added \(.dateAdded) ransomware use: \(.knownRansomwareCampaignUse)")' feeds/kev.jsonCheck it worked
The EPSS list has a line for each of your CVEs, dated today. Your scores will differ from day to day. The KEV lookup prints the catalogue version and two Log4j CVEs: CVE-2021-44228 and CVE-2021-45046. CVE-2021-45105 has an EPSS score close to 1 but is not in KEV. A high EPSS score is a forecast of attack activity, and a KEV entry is evidence that it happened.
Step 6 · Rank the findings with a triage script
Put the rules in a script so everyone on the team ranks findings the same way. This one starts with a priority for each finding and the deadline that comes with it. You adjust it after the reachability check in the next step:
- P1, fix within 2 days: the package ships and the CVE is in KEV.
- P2, within 7 days: it ships, and EPSS is 0.1 or more, or CVSS is 9.0 or more.
- P3, within 30 days: it ships, and CVSS is 7.0 or more.
- P4, within 90 days: it ships, and nothing above applies.
- P5, review: it does not ship (dev or test only). Deal with it at the next tooling update, or within 90 days at most.
The numbers are a starting point. Agree your own with whoever owns the risk, write them down, and keep the script in step with them.
cat > triage.sh <<'EOF'
#!/bin/sh
# Rank OSV-Scanner findings by KEV, EPSS, CVSS and whether the package ships.
# Usage: ./triage.sh report.json epss.json kev.json
set -eu
jq -r --slurpfile epss "$2" --slurpfile kev "$3" '
def pad($n): tostring | if length < $n then . + (" " * ($n - length)) else . end;
($epss[0].data | map({key: .cve, value: (.epss | tonumber)}) | from_entries) as $e
| ($kev[0].vulnerabilities | map({key: .cveID, value: true}) | from_entries) as $k
| {"P1": "2d", "P2": "7d", "P3": "30d", "P4": "90d", "P5": "review"} as $due
| [ .results[].packages[] as $p
| $p.groups[]?
| (.aliases | map(select(startswith("CVE-")))) as $cves
| {
pkg: "\($p.package.name | split(":") | last)@\($p.package.version)",
id: .ids[0],
cvss: (.max_severity | tonumber? // 0),
epss: ([$cves[] | $e[.] // 0] | max // 0),
kev: any($cves[]; $k[.] // false),
shipped: (($p.dependency_groups // []) | index("dev") | not)
}
| .priority = (if (.shipped | not) then "P5"
elif .kev then "P1"
elif .epss >= 0.1 or .cvss >= 9 then "P2"
elif .cvss >= 7 then "P3"
else "P4" end)
]
| sort_by(.priority, -.epss)
| ("PRI DUE PACKAGE ID CVSS EPSS KEV SHIPS"),
(.[] | "\(.priority | pad(4))\($due[.priority] | pad(8))\(.pkg | pad(19))\(.id | pad(21))\(.cvss | pad(6))\("\(.epss * 1000 | round / 10)%" | pad(8))\(if .kev then "yes" else "no" end | pad(4))\(if .shipped then "yes" else "no" end)")
' "$1"
EOF
chmod +x triage.sh
./triage.sh report.json feeds/epss.json feeds/kev.jsonThe script reads the three files once and builds one row per finding group. A CVE missing from the EPSS file counts as 0, and a group with no CVE alias counts as not in KEV. Missing data is not the same as low risk, so look at those rows by hand.
Check it worked
The first two rows are P1 with a 2-day deadline: the two log4j-core findings that are in KEV. P2 rows follow: the other high-EPSS Log4j CVEs and the lodash command injection, GHSA-35jh-r3h4-6jhm, whose EPSS is about 20%. The minimist row is last, at P5, even though its CVSS of 9.8 is one of the highest in the report.
Step 7 · Check reachability and decide what to do
A priority says how fast to act, not what to do. Now look at your own code and choose one of four outcomes for each package.
- Fix: upgrade to a version without the flaw. When the upgrade is cheap, fix even low-priority findings, because a fix ends the discussion for good.
- Mitigate: block the path some other way until you can fix: a configuration flag, a web application firewall rule, or turning a feature off. Give it a removal date.
- Accept: you decide the risk is acceptable for now, with a reason, an owner and an expiry date.
- False positive: the advisory does not apply. For example, the scanner matched the wrong package, or your distribution backported the fix without changing the version. Report it to the advisory's source so the next team does not repeat the work.
Reachability asks whether attacker-controlled input can reach the vulnerable function. Each advisory names the affected functions. Search the web service for them:
grep -rnE '_\.(template|unset|omit|pullAt|toNumber|trim|trimEnd)\(' web/src || echo "No calls to the affected lodash functions"It prints No calls to the affected lodash functions: the service only calls _.get. A text search is a quick first pass, not a proof. It misses imports such as require("lodash/template"), calls made through a variable, and calls made by other packages that depend on lodash. For Go projects, OSV-Scanner's call analysis does this check properly, as the OSV-Scanner tutorial shows.
Now the report job:
grep -n 'log\.' reports/src/main/java/demo/ReportJob.javaThe job logs the customer name, which comes from a web form. That is the pattern Log4Shell exploits: attacker text passed to the logger. The finding is in KEV, ships and is reachable.
The decisions:
- log4j-core and log4j-api 2.14.1: fix now (P1). Upgrade both to 2.26.1, the latest 2.x release, which has no advisories in OSV.
- lodash 4.17.20: fix. No affected function is called, so the P2 drops to P3, but the upgrade is a minor-version change within 4.x with no breaking changes to the functions you call. Take 4.18.1.
- minimist 1.2.5: accept for 90 days. It is a dev dependency, and the production image is built with
npm ci --omit=dev. Its owner updates the test tooling before the expiry.
In a project with Node.js installed you would run npm install lodash@4.18.1, and in the Gradle build you would change the Log4j version and run ./gradlew dependencies --write-locks. Both rewrite the lockfiles:
cd ~/triage-demo/web && npm install lodash@4.18.1
cd ~/triage-demo/reports && ./gradlew dependencies --write-locksThe demo has lockfiles only, so write the lockfiles those commands produce:
cd ~/triage-demo
cat > web/package-lock.json <<'EOF'
{
"name": "web",
"version": "1.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "web",
"version": "1.0.0",
"dependencies": { "lodash": "4.18.1" },
"devDependencies": { "minimist": "1.2.5" }
},
"node_modules/lodash": {
"version": "4.18.1",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.18.1.tgz",
"integrity": "sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q==",
"license": "MIT"
},
"node_modules/minimist": {
"version": "1.2.5",
"resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz",
"integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==",
"dev": true,
"license": "MIT"
}
}
}
EOF
cat > reports/gradle.lockfile <<'EOF'
# This is a Gradle generated file for dependency locking.
# Manual edits can break the build and are not advised.
# This file is expected to be part of source control.
org.apache.logging.log4j:log4j-api:2.26.1=compileClasspath,runtimeClasspath
org.apache.logging.log4j:log4j-core:2.26.1=compileClasspath,runtimeClasspath
empty=annotationProcessor
EOFCheck it worked
osv-scanner scan source -r --format json --output-file report-fixed.json . || echo "osv-scanner exit code: $?"
jq -r '.results[].packages[] | "\(.groups | length) finding(s) \(.package.name)@\(.package.version)"' report-fixed.jsonOnly 1 finding(s) minimist@1.2.5 is left. The scan still exits with code 1 because of it.
Step 8 · Record the accepted risk in osv-scanner.toml and a VEX statement
An accepted risk that lives only in someone's memory is a forgotten risk. Record it in two places: in osv-scanner.toml, so the scanner stops failing the build until the expiry date, and in a VEX statement, so anyone who scans your shipped product can see why it is not affected.
OSV-Scanner reads osv-scanner.toml only from the same folder as each lockfile, and the file does not apply to subfolders. A single file at the repository root is easier to review, so you will pass it with --config, which applies it to every lockfile. The config file has no owner field, so put the owner in reason. The ignoreUntil key is deprecated in 2.7.1: use effectiveUntil.
cd ~/triage-demo
expiry=$(date -u -d '+90 days' +%F)
cat > osv-scanner.toml <<EOF
# Accepted risks. Each entry needs an owner, a reason and an expiry date.
[[IgnoredVulns]]
id = "GHSA-xvch-5gv4-984h"
effectiveUntil = $expiry
reason = "Accepted. Owner: web team lead. minimist 1.2.5 is a dev dependency of the test tooling and is not in the production image (npm ci --omit=dev). Update the tooling before expiry. VEX: vex/web.openvex.json"
EOF
cat osv-scanner.tomlThe heredoc marker is not quoted, so the shell fills in $expiry with the date 90 days from today. Ignoring a GitHub advisory ID also ignores its aliases, here CVE-2021-44906. You could ignore every dev dependency with a [[PackageOverrides]] entry and group = "dev", but that hides new critical findings in your CI tooling too. One entry per finding keeps each decision visible.
Next, the VEX statement. VEX (Vulnerability Exploitability eXchange) is a short machine-readable document that says whether a product is affected by a vulnerability. This one uses the OpenVEX format. The status not_affected needs a justification from a fixed list. component_not_present fits, because minimist is not in the shipped image:
mkdir -p vex
cat > vex/web.openvex.json <<EOF
{
"@context": "https://openvex.dev/ns/v0.2.0",
"@id": "https://example.com/vex/web-$(date -u +%Y%m%d)",
"author": "Web team <security@example.com>",
"timestamp": "$(date -u +%Y-%m-%dT%H:%M:%SZ)",
"version": 1,
"statements": [
{
"vulnerability": { "name": "GHSA-xvch-5gv4-984h", "aliases": ["CVE-2021-44906"] },
"products": [
{
"@id": "pkg:oci/web",
"subcomponents": [{ "@id": "pkg:npm/minimist@1.2.5" }]
}
],
"status": "not_affected",
"justification": "component_not_present",
"impact_statement": "minimist is a dev dependency used by the test tooling. The production image is built with npm ci --omit=dev and does not contain it."
}
]
}
EOFReplace example.com, the author and pkg:oci/web with your own domain, team and image name. If you later find that an accepted package does ship, change the statement to affected with an action_statement and bump version. If an affected function is shipped but never called, vulnerable_code_not_in_execute_path is the justification to use, and it needs the reachability evidence behind it.
Check it worked
Check that the VEX file is valid JSON and that its justification is one of the five OpenVEX allows:
jq -e '.statements[] | select(.status == "not_affected") | .justification | IN("component_not_present", "vulnerable_code_not_present", "vulnerable_code_not_in_execute_path", "vulnerable_code_cannot_be_controlled_by_adversary", "inline_mitigations_already_exist")' vex/web.openvex.jsonIt prints true. Then prove the expiry works. Make a copy of the config with yesterday's date and scan with it:
cat > expired.toml <<EOF
[[IgnoredVulns]]
id = "GHSA-xvch-5gv4-984h"
effectiveUntil = $(date -u -d 'yesterday' +%F)
reason = "Expired copy, to test the expiry."
EOF
osv-scanner scan source -r --config expired.toml --format json --output-file report-expired.json . || echo "osv-scanner exit code: $?"
jq -r '.results[].packages[] | "\(.groups | length) finding(s) \(.package.name)@\(.package.version)"' report-expired.jsonThe scan exits with code 1 again and minimist is back in the list. When an accepted risk expires, the build fails and someone has to look at it again.
Step 9 · Re-scan with the ignore file and set service levels
Scan again with the real config:
cd ~/triage-demo
osv-scanner scan source -r --config osv-scanner.toml . || echo "osv-scanner exit code: $?"
osv-scanner scan source -r --config osv-scanner.toml --format json --output-file report-final.json . || echo "osv-scanner exit code: $?"
jq '[.results[].packages[].groups[]] | length' report-final.jsonTo keep the queue short from now on:
- Scan on a schedule, not only on push. New advisories arrive for code nobody touched, so a daily scan of the main branch catches them.
- Fail the build on exit code 1. With every decision recorded, the scan exits 0 until something new appears or an acceptance expires.
- Measure against your deadlines. Track how many findings are past their P1 to P4 deadline, not how many findings exist.
- Review
osv-scanner.tomllike code. Each new entry goes through a pull request where someone other than the author checks the reason, owner and expiry.
Check it worked
The table shows no issues, something like No issues found, and both scans exit 0, so neither || echo line prints. The jq count prints 0. If a new advisory has been published since this tutorial was written, it shows up here: run it through the same steps.
When you have finished, remove the demo folder. Keep osv-scanner if you plan to follow the related tutorials. Otherwise remove it too:
rm -rf ~/triage-demosudo rm /usr/local/bin/osv-scannerNext steps
- Learn more of OSV-Scanner, including Go call analysis, guided fixes for npm and offline databases, in Scan any project for known vulnerabilities with OSV-Scanner.
- Compare the npm view of the same problem in Audit Node.js dependencies with npm audit, and the Python view in Find vulnerable Python packages with pip-audit.
- Dependency scanners only see known flaws in other people's code. Find flaws in your own with Find security bugs in your code with Semgrep.
Related tutorials
- Write custom Fail2ban jails and filters for your own appsYou will have Fail2ban 1.1 banning repeated failed sign-ins to your own app and to an nginx basic-auth area, with filters you tested against sample logs, your own addresses allow-listed, and longer bans for repeat offenders.
- Validate file uploads before you store or serve themYou will take a FastAPI image upload route that trusts everything the browser sends, prove its flaws with pytest, and rebuild it with size limits, type checks from the file's own bytes, Pillow re-encoding, random storage names and safe download headers.
- Use SSH certificates instead of copying keys to every serverYou will run a small SSH certificate authority with ssh-keygen, log in to an Ubuntu 26.04 server with an eight-hour user certificate, give the server a host certificate so clients stop asking about fingerprints, and revoke a certificate the server then refuses.
Need this done for you?
Padding does this work for growing companies, from the first diagnosis to a system that keeps working.
Get new tutorials