queryByHash

1 credit per call

Find packages matching a file hash. Useful for identifying unknown packages from artifacts. Supports npm, Cargo, Maven, NuGet, PyPI, and RubyGems.

Try it

Open in playground
kirha tools run depsdev_queryByHash \
  --input '{
    "hashType": "MD5",
    "hashValue": "<hashValue>"
  }'

Uses the key saved by kirha auth login.

  • hashTypestring, required

    One of MD5, SHA1, SHA256, SHA512

  • hashValuestring, required

    Base64-encoded hash value

  • limitnumber, default 5, 1 to 20