OpenAI is partnering with Hacktron to find vulnerabilities in its systems. Read the announcement.

Skip to content Hacktron Sign in [S]
Hacktron Sign in [S] Customers Docs Contact Sign in

Get batch verdicts

1 min
, View, ChatGPT, Claude, Perplexity, OpenAPI

Copy page

Get batch verdicts

View MarkdownOpen in ChatGPTOpen in ClaudeOpen in PerplexityDownload OpenAPI

Returns fast dependency verdicts for a list of packages in a single request. Landing page scans and GitHub Action scans use it to flag known-malicious dependencies. Put the packages to check in the packages array of the request body.

To look up a single package instead, use GET /hfw/verdict/{ecosystem}/{packageName}.

This is a public, fast-mode endpoint. It covers feed-backed verdicts only and returns straight away. It may move behind the X-Api-Key header later.

Request

POST /hfw/verdicts/batch

This endpoint takes no API key.

Body

A required application/json body.

FieldDescription
packages
array of object, required
packages[].ecosystem
string, required
One of npm or pypi.
packages[].package
string, required
packages[].version
string, required

Responses

200 OK

FieldDescription
status
string, required
verdicts
array of object, required
verdicts[].status
string, required
One of ready, pending, or scanning.
verdicts[].ecosystem
string, required
One of npm or pypi.
verdicts[].package
string, required
verdicts[].version
string, required
verdicts[].level
string, required
One of clean, suspicious, malicious, or unknown.
verdicts[].confidence
string, required
verdicts[].summary
string, required
verdicts[].findings
array of object, required
verdicts[].source
string
verdicts[].osv_id
string
errors
array of object, required
[↓] [↑] [enter] to visit
Menu
[M]
Next in menu
[J]
Previous in menu
[K]
Find
[F]
Ask
[A]
Sign in
[S]
Copy page
[C]
Listen
[L]
Justification
[R]
Language
[G]
Dark mode
[D]
High contrast
[H]
Shortcuts
[I]
Close
[Esc]