attack

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2026 License: MIT Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package attack maps graph relationships to the MITRE ATT&CK framework and the experimental AgentGraph agent-attack taxonomy (PRD sections 46-47). Per the PRD, not every relationship is forced into ATT&CK; only meaningful mappings are made.

Index

Constants

This section is empty.

Variables

View Source
var (
	AGT001 = AGT{"AGT-001", "Indirect Prompt Injection"}
	AGT002 = AGT{"AGT-002", "Tool Poisoning"}
	AGT003 = AGT{"AGT-003", "Excessive Tool Permission"}
	AGT004 = AGT{"AGT-004", "Agent Credential Exposure"}
	AGT005 = AGT{"AGT-005", "Cross-Agent Trust Abuse"}
	AGT006 = AGT{"AGT-006", "MCP Trust Exploitation"}
	AGT008 = AGT{"AGT-008", "Agent Identity Escalation"}
	AGT009 = AGT{"AGT-009", "Agent-to-Cloud Pivot"}
	AGT010 = AGT{"AGT-010", "Agent-to-CI/CD Pivot"}
)

The agent-attack technique taxonomy (experimental, PRD section 47).

Functions

This section is empty.

Types

type AGT

type AGT struct {
	ID   string `json:"id"`
	Name string `json:"name"`
}

AGT is one AgentGraph taxonomy entry (PRD section 47).

type PathAnalysis

type PathAnalysis struct {
	Techniques []Technique `json:"techniques,omitempty"`
	AGTs       []AGT       `json:"agent_techniques,omitempty"`
}

PathAnalysis is the ATT&CK + AGT view of one attack path.

func AnalyzePath

func AnalyzePath(p *paths.Path) *PathAnalysis

AnalyzePath computes the ATT&CK techniques and AGT classifications for an attack path.

type Technique

type Technique struct {
	ID   string `json:"id"`
	Name string `json:"name"`
}

Technique is one MITRE ATT&CK technique.

Jump to

Keyboard shortcuts

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