Repository navigation
Add a crypto provider template - #4
Open
0xd6cb6d73 wants to merge 1 commit into
Open
0xd6cb6d73 wants to merge 1 commit into
0xd6cb6d73 wants to merge 1 commit into
Conversation
Payload_Type/crypto_provider is a starting point for a Mythic crypto provider: a consuming container of type crypto that implements an agent's cryptographic protocol. It is a complete Go service with no cryptography in it. - internal/service registers with Mythic as a crypto container, consumes its <name>_crypto_provider_rpc queue, checks each request's mythic-auth-context and handles requests concurrently. - internal/provider has one hook for each of prepare_profile, begin_session, open and seal. Each rejects requests until it is implemented. - internal/storage is a client for Mythic's storage RPC: load, commit and get_result. - internal/wirecheck checks messages against the rules and limits of Mythic's crypto provider API; the SDK declares only the types. - internal/transport adapts the MythicContainer SDK's RabbitMQ connection. go.mod points MythicContainer at the fork with the crypto provider types until they are released. The template's README covers running, installing and agent integration, and the repository README links it. Co-authored-by: Codex <codex@openai.com> Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
0xd6cb6d73
marked this pull request as ready for review
December 5, 2026 15:10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
its-a-feature/Mythic#617 adds crypto providers to Mythic: separate services that implement an agent's cryptographic protocol, while Mythic keeps handling transport and routing. This PR adds
Payload_Type/crypto_provider, a starting point for writing one, next to the existing payload type and C2 profile examples.The template is a complete service with the cryptography left out. To build a provider, you implement four hooks.
What's included
Service
cryptocontainer and advertises its capabilities.<name>_crypto_provider_rpcqueue and handles requests concurrently.mythic-auth-contextheader must match the request'sauth_context.Provider hooks (
internal/provider)prepare_profile,begin_session,openandseal.get_result.Storage client (
internal/storage)load,commitandget_result), so a provider can keep its state in Mythic's database instead of running its own.Scaffolding
Dockerfile, aMakefile,.env.example, and a README on running the service and integrating an agent.The template uses the Go types from MythicContainer's
cryptoproviderstructspackage (MythicMeta/MythicContainer#12).🤖 Generated with Claude Code