clientlib

package
v0.4.14 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package clientlib finds known-vulnerable client-side libraries loaded by a live page. It reads the <script src> / <link href> URLs, extracts each library's name and version (from CDN paths and versioned filenames), and matches them against known vulnerabilities via the intel layer (OSV), enriched with exploitation intelligence (CISA KEV + FIRST EPSS).

This is the black-box complement to software composition analysis: it needs no repository or lockfile, only the running app — the version is right there in the asset URL (jquery-3.4.1.min.js, cdn.jsdelivr.net/npm/vue@2.6.10, …).

Safe mode: one GET of the page through the guarded client; no attack payloads.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Scan

type Scan struct{}

Scan reports client-side libraries with known vulnerabilities.

func (Scan) ASVS

func (Scan) ASVS() []string

func (Scan) Category

func (Scan) Category() core.Category

func (Scan) Description

func (Scan) Description() string

func (Scan) ID

func (Scan) ID() string

func (Scan) Mode

func (Scan) Mode() core.Mode

func (Scan) OWASP

func (Scan) OWASP() []string

func (Scan) Run

func (Scan) Run(ctx context.Context, t core.Target) ([]core.Finding, error)

Jump to

Keyboard shortcuts

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