Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/arddluma/gh-action-virustotal-link-checker

GitHub action to check for Malicious URLs using VirusTotal API
https://github.com/arddluma/gh-action-virustotal-link-checker

gh-actions virustotal

Last synced: 10 days ago
JSON representation

GitHub action to check for Malicious URLs using VirusTotal API

Awesome Lists containing this project

README

        

# gh-action-virustotal-link-checker
## GitHub action to check for Malicious URLs using VirusTotal API

Get VirusTotal API KEY [here](https://support.virustotal.com/hc/en-us/articles/115002100149-API)

**Due to VirusTotal API personal limits, GH Action checks each url every 30 seconds**

*Idea: Thanks to [Eric Siu](https://github.com/randomishwalk) a.k.a randomishwalk [issue link](https://github.com/4337Mafia/awesome-account-abstraction/issues/187)*

[Demo action run](https://github.com/arddluma/awesome-account-abstraction/actions/runs/7530060851/job/20495640081)

Example:
```bash
name: Check Malicious Links

on:
push:
branches:
- 'main'
pull_request:
branches:
- 'main'

jobs:
check-links:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4

- name: Run VirusTotal Link Checker
uses: arddluma/[email protected]
with:
virustotal-api-key: ${{ secrets.VIRUS_TOTAL_API_KEY }}
filename: 'README.md'
malicious_threshold: 1
suspicious_threshold: 1