aboutcode-org / aboutcode-org/vulnerablecode

Multiple 404 errors while running `flag_ghost_packages`

Open
#2,284 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
702
Forks
328
Avg merge
3d 8h
Merged PRs (30d)
3

Description

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
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.