aboutcode-org / aboutcode-org/vulnerablecode

Multiple 404 errors while running `flag_ghost_packages`

未关闭
#2,284 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
702
派生
328
平均合并
3 天 8 小时
30 天内合并 PR
3

描述

Logs are flooded with following errors

```
INFO 2026-04-28 08:45:12.951284 UTC Pipeline [FlagGhostPackagePipeline] starting
INFO 2026-04-28 08:45:12.951412 UTC Step [flag_ghost_packages] starting
Error while fetching 'https://repo.packagist.org/p2/akaunting/akaunting.json': 404
HTTP error occurred: 404 Client Error: Not Found for url: https://repo.packagist.org/p2/akaunting/akaunting.json
Traceback (most recent call last):
File "/home/ubuntu/vulnerablecode/venv/lib/python3.12/site-packages/fetchcode/package_versions.py", line 519, in get_response
resp.raise_for_status()
File "/home/ubuntu/vulnerablecode/venv/lib/python3.12/site-packages/requests/models.py", line 1026, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://repo.packagist.org/p2/akaunting/akaunting.json

ERROR 2026-04-28 08:45:17.860641 UTC Error while fetching known versions for pkg:composer/akaunting/akaunting: HTTPError('404 Client Error: Not Found for url: https://repo.packagist.org/p2/akaunting/akaunting.json')
Traceback (most recent call last):
File "/home/ubuntu/vulnerablecode/vulnerabilities/pipelines/v2_improvers/flag_ghost_packages.py", line 97, in get_versions
return {v.value.lstrip("vV") for v in versions(str(purl))}
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/vulnerablecode/venv/lib/python3.12/site-packages/fetchcode/package_versions.py", line 244, in get_composer_versions_from_purl
```

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。