Is there any way to get model scan results

I know that I can check out unsafe models or security can results from here,
but I want to know is there any way to get scan results as metadata or by APIs

I download models via huggingface-cli,
so I was wondering if I can get the scan results before I download malicious files

1 Like

I think we can see scan results using this.

expand (bool, optional, defaults to False) — Whether to fetch more information about the tree’s files and folders (e.g. last commit and files’ security scan results). This operation is more expensive for the server so only 50 results are returned per page (instead of 1000). As pagination is implemented in huggingface_hub, this is transparent for you except for the time it takes to get the results.