vt

package
v0.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

README

VirusTotal

Search threat indicators (IP addresses, domains, file hashes, URLs) from VirusTotal for malware and threat intelligence analysis.

Configuration

Environment Variable CLI Flag Required Description
WARREN_VT_API_KEY --vt-api-key Yes VirusTotal API key
WARREN_VT_BASE_URL --vt-base-url No Base URL (default: https://www.virustotal.com/api/v3)

Available Functions

Function Description
vt_ip Search IPv4/IPv6 address reputation and associated information
vt_domain Search domain reputation, DNS records, and associated information
vt_file_hash Search file hash (MD5/SHA1/SHA256) for malware analysis results
vt_url Search URL for scan results and reputation

Setup

  1. Create a VirusTotal account at virustotal.com
  2. Navigate to your API key page
  3. Copy your API key
  4. Set WARREN_VT_API_KEY environment variable

The tool is automatically enabled when the API key is configured. It is skipped if the key is not set.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action struct {
	// contains filtered or unexported fields
}

func (*Action) Configure

func (x *Action) Configure(ctx context.Context) error

func (*Action) Flags

func (x *Action) Flags() []cli.Flag

func (*Action) Helper

func (x *Action) Helper() *cli.Command

func (*Action) LogValue

func (x *Action) LogValue() slog.Value

func (*Action) Name

func (x *Action) Name() string

func (*Action) Prompt

func (x *Action) Prompt(ctx context.Context) (string, error)

Prompt returns additional instructions for the system prompt

func (*Action) Run

func (x *Action) Run(ctx context.Context, name string, args map[string]any) (map[string]any, error)

func (*Action) Specs

func (x *Action) Specs(ctx context.Context) ([]gollem.ToolSpec, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL