Skip to content
cloud

GitHub Action

VirusTotal Link Checker

v1.0.0 Pre-release

VirusTotal Link Checker

cloud

VirusTotal Link Checker

Github Action to check links using VirusTotal API

Installation

Copy and paste the following snippet into your .yml file.

              

- name: VirusTotal Link Checker

uses: arddluma/gh-action-virustotal-link-checker@v1.0.0

Learn more about this action in arddluma/gh-action-virustotal-link-checker

Choose a version

gh-action-virustotal-link-checker

GitHub action to check for Malicious URLs using VirusTotal API

Get VirusTotal API KEY here

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

Idea: Thanks to Eric Siu a.k.a randomishwalk issue link

Demo action run

Example:

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/gh-action-virustotal-link-checker@v1.0.0
        with:
            virustotal-api-key: ${{ secrets.VIRUS_TOTAL_API_KEY }}
            filename: 'README.md'
            malicious_threshold: 1
            suspicious_threshold: 1