Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Mythic Payload Type Container

The mythic_container library provides the steps for defining and utilizing payload types, c2 profiles, translation containers, webhook containers, and logging containers for Mythic. Mythic is a Command and Control (C2) framework for Red Teaming with the code on GitHub (https://github.com/its-a-feature/Mythic) and the Mythic project's documentation on GitBooks (https://docs.mythic-c2.net).

Installation

You can install the mythic scripting interface from PyPI:

pip install mythic-container

How to use

Use it with Mythic version 3.3.0.

For the main execution of the heartbeat and service functionality, simply import and start the service:

import mythic_container
import [my agent | my c2 profile | my translation container | my webhooks | my loggers | my eventing | my auth]
mythic_container.mythic_service.start_and_run_forever()

Chat containers

AI chat containers subclass mythic_container.ChatBase.Chat. The base class provides Mythic request/response types, response helpers, typed config/secret readers, chat-channel API token delegation, reusable MCP tool primitives, and optional light/dark SVG icon sync via agent_icon_path or agent_icon_bytes. Provider connection semantics stay in each chat container.

See CHAT_CONTAINERS.md for subclassing, typed settings, response helper, MCP connection, confirmation-flow, sub-agent delegation, and lazy tool-output examples.

Where is the code?

The code for this PyPi package can be found at https://github.com/MythicMeta/MythicContainerPyPi

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mythic_container-0.7.0rc7.tar.gz (131.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mythic_container-0.7.0rc7-py3-none-any.whl (179.8 kB view details)

Uploaded Python 3

File details

Details for the file mythic_container-0.7.0rc7.tar.gz.

File metadata

  • Download URL: mythic_container-0.7.0rc7.tar.gz
  • Upload date:
  • Size: 131.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for mythic_container-0.7.0rc7.tar.gz
Algorithm Hash digest
SHA256 d0fcce2073a4e28a8a9dbc76e87d4053aff508a773b2f1616d0d2b9cc1eece31
MD5 666c39df20a1a1ad21d880d4e14c190f
BLAKE2b-256 db2417221a6c2a7eb12a73b561787664343c79eab06ed7b672491c476ff1750c

See more details on using hashes here.

File details

Details for the file mythic_container-0.7.0rc7-py3-none-any.whl.

File metadata

File hashes

Hashes for mythic_container-0.7.0rc7-py3-none-any.whl
Algorithm Hash digest
SHA256 add1a62ceec34bff74752e3ee6a04bf190687d6c6d031be2a31915626972a224
MD5 4c3e8a690a08192f94a6d1584cdb81ea
BLAKE2b-256 f868075b6659ccdda952786caa3af80a5f4b6b6ced65ce9a4d7cddddc8be167b

See more details on using hashes here.

Release history Release notifications | RSS feed

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page