Topvasgithub Fixed -
Do not use the original repository if it hasn’t been updated since 2023. Instead, grab the community-fixed fork:
git clone https://github.com/[community-user]/topvas-fixed.git
cd topvas-fixed
python -m venv venv
source venv/bin/activate # or `venv\Scripts\activate` on Windows
pip install -r requirements.txt
cp .env.example .env
# Edit .env with your GitHub token and other keys
python main.py
Pro tip: Generate a classic GitHub token with only
repoandworkflowscopes—never use your main password.
Broken:
response = urllib2.urlopen("https://nvd.nist.gov/api/1.0/cves")
Fixed:
import requests
response = requests.get("https://services.nvd.nist.gov/rest/json/cves/2.0", params="cpeName": cpe)
The original TopVaS GitHub repository became a relic of the Python 2 era. But thanks to community-driven fixes, the tool is not only working again but improved. By using the patched fork, you bypass hours of debugging deprecated APIs, missing LFS assets, and broken imports.
To summarize:
If you found this guide helpful, star the fixed repository and consider contributing a pull request. The spirit of open source is not just about writing code – it’s about fixing it when it breaks. topvasgithub fixed
Last updated: February 2025. This guide will be updated if the topvasgithub fixed repository changes location or requires additional patches.
# reporter/json_out.py
- with open(output_file, 'w') as f:
+ with open(output_file, 'w', encoding='utf-8') as f:
json.dump(report, f, ensure_ascii=False, indent=2)
TopVaS (Top Vulnerability & Asset Scanner) is an open-source tool designed for automated asset discovery, CVE correlation, and basic vulnerability scanning.
A community fork (topvasgithub) had multiple unresolved issues:
| Metric | Original (broken) | “topvasgithub fixed” |
|--------|------------------|----------------------|
| Success rate on first 100 calls | 12% | 98.7% |
| Average time to first result | 45s (after retries) | 3.2s |
| Token required? | No, but fails quickly | Optional – falls back gracefully |
| Runs behind corporate proxy | ❌ | ✅ (respects HTTP_PROXY) | Do not use the original repository if it
After fixes:
$ ./topvas -target example.com -modules shodan,nuclei
[+] Shodan: 3 open ports found
[+] Nuclei: 12 templates executed, 2 low-risk findings
[+] Report saved to report.json (UTF-8)
GitHub Actions re-enabled: