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

Metadata

Release files for mythic-container 0.7.0rc11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mythic-container 0.7.0rc11
File Size Uploaded Provenance Actions
mythic_container-0.7.0rc11.tar.gz 134.3 kB Without provenance Details for mythic_container-0.7.0rc11.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mythic-container 0.7.0rc11
File Interpreter ABI Platform Actions
mythic_container-0.7.0rc11-py3-none-any.whl Python 3 none any Details for mythic_container-0.7.0rc11-py3-none-any.whl

Total release size: 315.6 kB

Release files / mythic_container-0.7.0rc11.tar.gz

Download URL mythic_container-0.7.0rc11.tar.gz
Size 134.3 kB
Tags Source
SHA-256 checksum
How to use checksums
96bfa630c4594889c8dd22d6fb1cf639d532f4a87e8fde9636c69c9d0eb05add
BLAKE2b-256 checksum
How to use checksums
272f332d7d465e5046ccf8b2e9d5130b91d4d1073d8e84386eae9227db143d06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / mythic_container-0.7.0rc11-py3-none-any.whl

Download URL mythic_container-0.7.0rc11-py3-none-any.whl
Size 181.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e662c43b70d61d5e346c6cf8ea02b8d9c790945615505a5dea6b8b533b2af744
BLAKE2b-256 checksum
How to use checksums
f59e1426d29746fc530a2aa51c478ada4a57f1344052cbdf591ac0326d2d7b02
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Security for mythic-container 0.7.0rc11

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page