AppThreat / AppThreat/vulnerability-db
Json errors leads to crashes and failures
- Dominant language
- Python
- Stars
- 151
- Forks
- 23
- Avg merge
- 22m
- Merged PRs (30d)
- 7
Description
```
2026-03-25T09:00:45.7191770Z INFO [2026-03-25 09:00:45,719] Refreshing AquaSource
2026-03-25T09:26:17.7201740Z INFO [2026-03-25 09:26:17,720] Refreshing OSVSource
2026-03-25T09:35:23.8778770Z INFO [2026-03-25 09:35:23,877] Refreshing GitHubSource
2026-03-25T09:35:45.2029720Z
2026-03-25T09:35:45.2030580Z ___
2026-03-25T09:35:45.2031460Z /\ ._ ._ | |_ ._ _ _. _|_
2026-03-25T09:35:45.2031990Z /--\ |_) |_) | | | | (/_ (_| |_
2026-03-25T09:35:45.2032480Z | |
2026-03-25T09:35:45.2032700Z
2026-03-25T09:35:45.2117030Z Traceback (most recent call last):
2026-03-25T09:35:45.2149160Z File "/Users/appthreat/actions-runner/_work/vdb/vdb/vulnerability-db/vdb/cli.py", line 319, in
2026-03-25T09:35:45.2150410Z main()
2026-03-25T09:35:45.2150760Z ~~~~^^
2026-03-25T09:35:45.2151670Z File "/Users/appthreat/actions-runner/_work/vdb/vdb/vulnerability-db/vdb/cli.py", line 284, in main
2026-03-25T09:35:45.2152800Z s.refresh()
2026-03-25T09:35:45.2153180Z ~~~~~~~~~^^
2026-03-25T09:35:45.2154120Z File "/Users/appthreat/actions-runner/_work/vdb/vdb/vulnerability-db/vdb/lib/nvd.py", line 222, in refresh
2026-03-25T09:35:45.2155270Z return self.download_all()
2026-03-25T09:35:45.2155760Z ~~~~~~~~~~~~~~~~~^^
2026-03-25T09:35:45.2156820Z File "/Users/appthreat/actions-runner/_work/vdb/vdb/vulnerability-db/vdb/lib/gha.py", line 97, in download_all
2026-03-25T09:35:45.2158060Z data, page_info = self.fetch(vtype=last_id)
2026-03-25T09:35:45.2158680Z ~~~~~~~~~~^^^^^^^^^^^^^^^
2026-03-25T09:35:45.2159740Z File "/Users/appthreat/actions-runner/_work/vdb/vdb/vulnerability-db/vdb/lib/gha.py", line 120, in fetch
2026-03-25T09:35:45.2160850Z json_data = r.json()
2026-03-25T09:35:45.2162070Z File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/site-packages/httpx/_models.py", line 832, in json
2026-03-25T09:35:45.2163400Z return jsonlib.loads(self.content, **kwargs)
2026-03-25T09:35:45.2164020Z ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
2026-03-25T09:35:45.2165050Z File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/json/__init__.py", line 346, in loads
2026-03-25T09:35:45.2165960Z return _default_decoder.decode(s)
2026-03-25T09:35:45.2166390Z ~~~~~~~~~~~~~~~~~~~~~~~^^^
2026-03-25T09:35:45.2167260Z File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/json/decoder.py", line 345, in decode
2026-03-25T09:35:45.2168220Z obj, end = self.raw_decode(s, idx=_w(s, 0).end())
2026-03-25T09:35:45.2168740Z ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
2026-03-25T09:35:45.2169650Z File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/json/decoder.py", line 363, in raw_decode
2026-03-25T09:35:45.2177270Z raise JSONDecodeError("Expecting value", s, err.value) from None
2026-03-25T09:35:45.2178090Z json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
2026-03-25T09:35:45.5216300Z ##[error]Process completed with exit code 1.
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.