match

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Operation

type Operation int8
const (
	// Unknown item represents package is not detected.
	Unknown Operation = 0
	// Confusion item represents package is suspect a malicious package.
	Confusion Operation = 1
	// Malware item represents package is discovered as malicious package.
	Malware Operation = 2
)

type Suspicion

type Suspicion struct {
	Types      Operation
	OriginPack string
}

func NpmMatch

func NpmMatch(pack string) Suspicion

func PyMalwareScan

func PyMalwareScan(filename string) Suspicion

PyMalwareScan the malicious packages from pip reference: https://github.com/DataDog/guarddog

func PyMatch

func PyMatch(pack string) Suspicion

Jump to

Keyboard shortcuts

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