권한이 있는 모든 인덱스 목록 확인
vulncheck indices browse
특정 용어 "nvd"로 모든 인덱스 검색
vulncheck indices browse nvd
인덱스 탐색
vulncheck index browse vulncheck-kev
인덱스 백업 다운로드
vulncheck backup download mitre-attack-cve
인덱스에서 CVE 조회
vulncheck index list exploits --cve cve-2024-3400
CPE 관련 취약점 조회
vulncheck cpe "cpe:2.3:o:fortinet:fortios:*:*:*:*:*:*:*:*"
PURL 관련 취약점 조회
vulncheck purl "pkg:pypi/aioxmpp@0.6.0"
파일 또는 stdin에서 대량 PURL 조회 (v1.0.0+, 서버 측 배치 엔드포인트 사용):
vulncheck purl --from-file purls.txt --json
cat purls.txt | vulncheck purl --json
대량 CPE 조회 (v1.0.0+, 클라이언트 측 순차 루프):
vulncheck cpe --from-file cpes.txt --json
특정 pubstart 날짜의 인덱스 레코드 조회
vulncheck index list vulncheck-kev --pubstartdate 2024-10-20
특정 pubend 날짜의 인덱스 레코드 조회
vulncheck index list vulncheck-kev --pubenddate 2023-10-20
특정 pubstart ~ pubend 날짜 사이의 인덱스 레코드 조회
vulncheck index list vulncheck-kev --pubstartdate 2024-10-01 --pubenddate 2024-10-05
위협 행위자 인덱스에서 위협 행위자 조회
vulncheck index list threat-actors --threat_actor "Cozy Bear"
봇넷 인덱스에서 봇넷 조회
vulncheck index list botnets --botnet "Kinsing"
랜섬웨어 인덱스에서 랜섬웨어 패밀리 조회
vulncheck index list ransomware --ransomware Cactus
호스트명 관련 IP 조회
vulncheck index list ipintel-3d --hostname router.asus.com
IP 주소 범위 조회
vulncheck index list ipintel-3d --cidr 100.20.0.0/14
특정 CVE에 취약하거나 잠재적으로 취약한 IP 조회
vulncheck index list ipintel-3d --cve CVE-2023-27350
IPIntel 인덱스에서 국가, ASN, ID 기준으로 IP 조회
vulncheck index list ipintel-3d --country=Sweden --asn=AS16509 --id=initial-access
호스트명에 “.gov”가 포함되고, CVE-2024-24919에 잠재적으로 취약하며, 미국에 위치한 IP 조회
vulncheck index list ipintel-3d --hostname=.gov --country_code=US --cve=CVE-2024-24919
기본 디렉토리 스캔
vulncheck scan /path/to/directory
JSON 출력으로 스캔 — stdout에는 순수 JSON만 출력되고, 진행 상황은 stderr로 출력됩니다 (v1.0.0+):
vulncheck scan /path/to/project --json
vulncheck scan /path/to/project --json | jq '.vulnerabilities | length'
스캔 결과를 파일로 저장
vulncheck scan /path/to/project --file
사용자 지정 파일명으로 스캔 결과 저장
vulncheck scan /path/to/project --file --file-name security-report.json
CPE 분석 포함 스캔
vulncheck scan /path/to/project --include-cpes
프롬프트 / TUI 없이 스캔 (헤드리스) — --json 사용 시 자동 적용되며, 명시적으로 설정할 수도 있습니다:
vulncheck scan /path/to/project --no-interactive
오프라인 스캔 (캐시된 인덱스 필요)
vulncheck scan /path/to/project --offline
CVE 메타데이터 포함 오프라인 스캔 (vulncheck-nvd2 인덱스 필요)
vulncheck scan /path/to/project --offline --offline-meta
SBOM을 생성하는 대신 기존 SBOM 파일 스캔
vulncheck scan --sbom-input-file /path/to/existing-sbom.json
취약점 스캔 없이 SBOM만 생성
vulncheck scan /path/to/project --sbom-only
SBOM 생성 후 사용자 지정 파일로 저장
vulncheck scan /path/to/project --sbom-only --sbom-output-file project-sbom.json
보강된 SBOM 생성 (네트워크를 통해 라이선스 및 패키지 메타데이터를 가져옴)
vulncheck scan /path/to/project --sbom-only --enrich all --sbom-output-file project-sbom.json
지원되는 범위: all, golang, java, javascript, python. 제외하려면 앞에 -를 붙입니다(예: all,-java). --offline 또는 --sbom-input-file과 함께 사용할 수 없습니다.
인덱스 누락 시 경고 표시 (종료하지 않음)
vulncheck scan /path/to/project --warn-on-index
여러 옵션을 사용한 종합 스캔
vulncheck scan /path/to/project --include-cpes --json --file --file-name full-report.json --warn-on-index
CVE별로 VulnCheck Canary Intelligence 탐색
vulncheck index browse vulncheck-canaries --cve CVE-2024-5276
출발지 국가별로 VulnCheck Canary Intelligence 탐색
vulncheck index browse vulncheck-canaries --src_country IR
목적지 국가별로 VulnCheck Canary Intelligence 탐색
vulncheck index browse vulncheck-canaries --dst_country US
저장소 취약점 스캔
vulncheck scan ./npm-seven/
VulnCheck Initial Access Intelligence의 모든 Snort 룰 목록
vulncheck rule snort
VulnCheck Initial Access Intelligence의 모든 Suricata 룰 목록
vulncheck rule suricata
IP Intelligence에서 특정 태그와 연관된 모든 IP 목록
vulncheck tag "vulncheck-c2"
NVD API 2.0 호환 엔드포인트마다 하나의 명령어가 있으며, NVD 쿼리 파라미터마다 하나의 플래그가 있습니다.
NVD가 게시한 형태 그대로 CVE 조회
vulncheck nvd cves --cve-id CVE-2024-3400 --json
커서를 사용해 CISA KEV의 CVE 페이지 순회
vulncheck nvd cves --has-kev --results-per-page 100 --cursor "" --full --json | jq -r .nextCursor
vulncheck nvd cves --has-kev --results-per-page 100 --cursor <nextCursor> --json
CVE에 대한 NVD 분석의 변경 내역 확인
vulncheck nvd cvehistory --cve-id CVE-2024-3400 --json
CVE의 매치 기준을 CPE 이름으로 확장
vulncheck nvd cpematch --cve-id CVE-2024-3400 --json
전체 인덱스를 하나의 JSON 배열로 자동 페이지네이션
vulncheck index list vulncheck-kev --json --all
토큰 목록을 명시적으로 페이지네이션
vulncheck token list --json --limit 20 --page 2
vulncheck token list --json --all # walk every page automatically
전체 명령어 표면을 JSON으로 덤프
vulncheck commands
vulncheck commands | jq '.root.subcommands[].name'
vulncheck commands | jq '.root.subcommands[] | select(.name=="scan") | .flags'
CLI 버전 및 인증 상태 확인 (에이전트 사전 검사)
vulncheck version --json | jq -r .version
vulncheck auth status --json | jq -e '.authenticated'
토큰 목록 — 정보 라인 접두사 없이 순수 JSON:
vulncheck token list --json
새 토큰 생성, 시크릿은 stderr로 캡처 — --json 페이로드에는 opt-in하지 않는 한 원본 시크릿이 포함되지 않습니다:
vulncheck token create "ci-runner" --json 2> secret.txt
cat secret.txt # vc_...
JSON에 시크릿을 포함하여 토큰 생성 (opt-in, 리디렉션은 직접 관리):
vulncheck token create "ci-runner" --json --allow-token-on-stdout
토큰 삭제
vulncheck token remove <token-id> --json