kosa8 docs Dashboard
esc
↑ ↓ move↵ openRuns in your browser; nothing you type is sent anywhere.

CLI / attack

kosa8 attack

Test kosa8's controls against AI-agent attacks and write a signed scorecard

Runs a fixed catalogue of the things a hijacked agent tries — exfiltrate a secret, read the host's keys, reach an unapproved host or 169.254.169.254, destroy work, call a poisoned or unapproved MCP tool, install from a look-alike registry, persist — through kosa8's real decision code: the tool-call rules, the egress broker, the host network guard, the MCP policy and tool pins. Each scenario is mapped to the OWASP Top 10 for LLM Applications 2025 and to MITRE ATLAS.

Every scenario is run against two postures: this machine's defaults, and the recommended hardened setup. Results are BLOCKED, NEEDS APPROVAL or ALLOWED, and a scenario the default allows names the setting that stops it.

This is a self-test of kosa8's controls, not a penetration test or a certification.

Example#

  kosa8 attack list
  kosa8 attack run -o scorecard.json
  kosa8 attack verify scorecard.json

Subcommands#

The kosa8 weekly

Agent security news, one industry deep-dive and a hands-on challenge, every Monday. Unsubscribe in one click.

© 2026 kosa8 · kosa8.com · Zero Trust cybersecurity infrastructure for AI agents · Local models served by llamay · Agent gateway: MAQPNA