grype
Auth/lab ref: fast vulnerability scanner for container images, filesystems, SBOMs, and directories.
v2026.11.13-21cd5683 установки+3 за 7 дней39 ЗвездыApache-2.0синхронизировано 11 часов назад
Установка
Ещё нет NotHoly CLI? Сначала установите её.
$ curl -fsSL https://notholy.com/install.sh | sh$ notholy skills install aeondave/grypeПишет в ~/.notholy/skills после проверки подписи и SHA-256.
ПодписьПодписано, ed25519
Пакетe233a259…8d468df3
e233a259fb21…a6bc8d468df32 файла · 3.5 KBПроверкаСредний2 замечания
- command.pipe_to_shellreferences/config-ignore.md:112
- Ссылки на внешние домены
Источникgithub.com/AeonDave/malskill/tree/main/offensive-tools/vuln-scanners/grype@21cd568
Эта запись еще не переведена на русский, поэтому показан текст на другом языке: English.
На странице
Fast vulnerability scanner with composite risk scoring — CVEs in images, code, SBOMs.
Quick Start
# Scan Docker image
grype nginx:latest
# Scan directory
grype dir /path/to/project
# Scan SBOM file
grype sbom:sbom.json
# Only show fixable HIGH+
grype nginx:latest --only-fixed -f highScan Targets
grype <image> # Docker/OCI image (pulls from registry)
grype dir:<path> # Local filesystem/directory
grype sbom:<file> # SBOM file (SPDX or CycloneDX)
grype docker-archive:<file> # Saved Docker archive (.tar)
grype registry:<image> # Force registry sourceCore Flags
| Flag | Purpose |
|---|---|
-o, --output <fmt> |
Output format: table / json / sarif / cyclonedx / template |
--file <path> |
Write output to file |
-f, --fail-on <sev> |
Exit 2 if severity ≥ level: critical/high/medium/low/negligible |
--only-fixed |
Show only vulns with available fix |
--only-notfixed |
Show only unfixed vulns |
--ignore-states <states> |
Ignore fix states: wont-fix,unknown,fixed,not-affected |
-s, --scope <scope> |
Layer scope: squashed (default) / all-layers |
--sort-by <key> |
Sort: severity / epss / risk / kev / package |
--add-cpes-if-none |
Generate CPEs for packages missing them |
--by-cve |
Group by CVE instead of vulnerability ID |
--platform <os/arch> |
Platform for multi-arch images (linux/amd64) |
--distro <dist:ver> |
Override distro detection |
--vex <file> |
Apply VEX document for result filtering |
--show-suppressed |
Display suppressed findings |
-q, --quiet |
Suppress logs |
-v / -vv |
Verbose / debug |
-c, --config <file> |
Config file path |
Database Management
grype db status # Show current DB metadata
grype db check # Check for updates
grype db update # Download latest DB
grype db list # Available databases
grype db search CVE-2021-44228 # Query DB for specific CVE
grype db search --package curl # Find vulns for packageRisk Scoring
grype provides composite risk score (0.0–10.0) combining:
- CVSS — base severity
- EPSS — 30-day exploitation probability (percentile)
- KEV — CISA Known Exploited Vulnerabilities catalog status
# Sort by risk score (highest = most actionable)
grype nginx:latest --sort-by risk
# Sort by EPSS (exploitation likelihood)
grype nginx:latest --sort-by epss
# Sort by KEV status first
grype nginx:latest --sort-by kevCommon Workflows
# CI gate: fail on HIGH+ unfixed
grype myapp:latest --only-fixed -f high
echo $? # 0 = clean, 2 = findings at threshold
# JSON report with all details
grype nginx:latest -o json --file vuln_report.json
# SARIF for GitHub Advanced Security
grype myapp:latest -o sarif --file grype.sarif
# Scan with ignore rules
grype myapp:latest -c .grype.yaml
# Scan all image layers (not just squashed)
grype myapp:latest --scope all-layers
# Scan SBOM from syft
syft nginx:latest -o json | grype sbom:- --output json
# Explain a specific CVE
grype explain --id CVE-2021-44228
# Check if image has any KEV-listed vulns
grype myapp:latest --sort-by kev -o tableOutput Parsing
grype nginx:latest -o json --file scan.json
# Extract findings
cat scan.json | jq '.matches[] | {cve: .vulnerability.id, pkg: .artifact.name, severity: .vulnerability.severity, fix: .vulnerability.fix.versions[0]}'
# Count by severity
cat scan.json | jq '[.matches[].vulnerability.severity] | group_by(.) | map({sev: .[0], count: length})'
# Only CRITICAL with fixes
cat scan.json | jq '.matches[] | select(.vulnerability.severity=="Critical" and (.vulnerability.fix.versions | length > 0)) | {cve: .vulnerability.id, pkg: .artifact.name, fix: .vulnerability.fix.versions[0]}'Resources
| File | When to load |
|---|---|
references/config-ignore.md |
.grype.yaml ignore rules, registry auth, syft integration, VEX |
Файлы этой версии
references/13.9 KB
- config-ignore.md3.9 KB
- SKILL.md4.2 KB
Права
| Право | Заявлено | Найдено проверкой |
|---|---|---|
| Читает файлы | Да | Да |
| Пишет файлы | Нет | Нет |
| Выполняет команды shell | Да | Да |
| Ходит в сеть | Да | Да |
| Использует коннекторы | Нет | Нет |
| Управляет браузером | Нет | Нет |
Замечания проверки
Проверено 13 нояб. 2026 г.
- СредняяКоманда · command.pipe_to_shellreferences/config-ignore.md:112
- ИнфоСсылка · Ссылки на внешние домены
Чистая проверка снижает риск, но не доказывает, что пакет безопасен. Читайте то, что ставите.
| Версия | Опубликована | Коммит | SHA-256 | Подпись | Изменение прав |
|---|---|---|---|---|---|
| v2026.11.13-21cd568 | 13 нояб. 2026 г. | 21cd568 | e233a259 | Подписана | – |
Ещё от AeonDave
Всё от этого издателяЕще в категории «Реверс-инжиниринг и фаззинг»
Вся категорияСпрашивайте обо всём, что позволяет ваш скоуп.
Создайте аккаунт, пополните баланс и задайте первый вопрос в чате или в терминале.
- 1/3
Создайте аккаунт
Личный или для компании. Позже можно перейти на аккаунт компании без потери баланса и ключей.
ЛичныйКомпания - 2/3
Пополните баланс
Картой. Оплата за токены, без подписки.
$5.00минимальное пополнение - 3/3
Спрашивайте
В чате, или установите CLI и выполните notholy login в терминале.
$ notholy login