Skip to content
j3ssiePublic

Latest commit

Β 

History

162 Commits

Folders and files

Repository files navigation

Osmedeus

Osmedeus
A modern orchestration engine for security

What is Osmedeus?

Osmedeus is a security-focused declarative orchestration engine. It defines workflow automation in YAML you can read and audit, with encrypted data handling, credential management, and sandboxed execution.

A workflow composes from modules, so the same YAML runs on your host, in Docker, or over SSH.

Key features

  • Declarative YAML workflows. Define pipelines with hooks, decision routing, module exclusion, and conditional branching across the host, Docker, and SSH runners.
  • Distributed execution. A Redis-backed master and worker setup with a task queue, webhook triggers, and file sync between workers.
  • Function library. 80+ utility functions, including nmap integration, tmux sessions, SSH execution, TypeScript and Python scripting, SARIF parsing, and CDN and WAF classification.
  • Event-driven scheduling. Cron, file-watch, and event triggers with filtering, deduplication, and delayed task queues.
  • Agentic LLM steps. Tool-calling agent loops with sub-agent orchestration, memory management, and structured output, plus ACP subprocess agents (Claude Code, Codex, OpenCode, Gemini).
  • Cloud infrastructure. Provision machines and run scans on DigitalOcean, AWS, GCP, Linode, and Azure, with cost controls and automatic cleanup.
  • CLI. Interactive database queries, bulk function evaluation, workflow linting, progress bars, and usage examples for every command.
  • REST API and web UI. An API server with webhook triggers and database queries, and an embedded dashboard that renders the results.

See Documentation Page for more details.

Installation

curl -sSL http://www.osmedeus.org/install.sh | bash
npm install -g @j3ssie/osmedeus

The npm package ships prebuilt binaries for Linux and macOS on x64 and arm64.

See Quickstart for setup and Installation for advanced configuration.

CLI Usage Web UI Assets
CLI Usage Web UI Assets
Workflow Visualization Vulnerabilities
Workflow Visualization Vulnerabilities

Sponsor: Infistar.cc

Osmedeus and Infistar. Claude, GPT, Gemini, Grok, DeepSeek and more on one key at a fraction of official prices

Infistar.cc serves Claude, GPT, Gemini, Grok, DeepSeek and more on one API key, at a fraction of official prices.

πŸ’₯ Up to 99% off: from 0.1x official pricing βœ… Official upstreams, 100% genuine models: no downgrades, no dilution, every model verifiable ⚑ 1,000+ redundant routes with automatic failover: one route stumbles, the next takes over 🧩 200+ models from 16 brands: text, image and video with one key πŸ† Recommended by 100+ top open-source projects, the largest with 100k+ stars 🎯 Run Osmedeus's agentic LLM workflows and multi-model security automation with one unified API key 🎁 Osmedeus users: sign up through the exclusive link and get Β₯5 free through the exclusive link.

Quick start

# Run a module workflow
osmedeus run -m recon -t example.com

# Run a flow workflow
osmedeus run -f general -t example.com

# Multiple targets with concurrency
osmedeus run -m recon -T targets.txt -c 5

# Dry-run mode (preview)
osmedeus run -f general -t example.com --dry-run

# Start API server
osmedeus serve

# List available workflows
osmedeus workflow list

# Query discovered assets
osmedeus assets -w example.com                          # List assets for workspace
osmedeus assets --stats                                 # Show unique technologies, sources, types
osmedeus assets --source httpx --type web --json        # Filter and output as JSON

# Query vulnerabilities, runs, and steps
osmedeus query vulns --severity high --workspace example.com
osmedeus query runs --status running
osmedeus query steps --run <run-uuid>

# Query database tables
osmedeus db list --table runs
osmedeus db list --table event_logs --search "nuclei"

# Evaluate utility functions
osmedeus func eval 'log_info("hello")'
osmedeus func eval -e 'http_get("https://example.com")' -T targets.txt -c 10

# Platform variables available in eval
osmedeus func eval 'log_info("OS: " + PlatformOS + ", Arch: " + PlatformArch)'

# Install from preset repositories
osmedeus install base --preset
osmedeus install base --preset --keep-setting   # preserve existing osm-settings.yaml
osmedeus install workflow --preset

# Exclude modules from flow execution
osmedeus run -f general -t example.com -x portscan
osmedeus run -f general -t example.com -X vuln    # Fuzzy exclude by substring

# Worker queue system
osmedeus worker queue new -f general -t example.com   # Queue for later
osmedeus worker queue run --concurrency 5              # Process queue

# Worker management
osmedeus worker status                          # Show workers
osmedeus worker eval -e 'ssh_exec("host", "whoami")'  # Eval with distributed hooks

# Run an ACP agent interactively
osmedeus agent "analyze this codebase"
osmedeus agent --agent codex "explain main.go"
osmedeus agent --list

# Cloud infrastructure management
osmedeus cloud create --instances 3                    # Provision cloud machines
osmedeus cloud setup 1.2.3.4 5.6.7.8                  # Setup existing machines
osmedeus cloud list                                    # List active infrastructure
osmedeus cloud run -f general -t example.com --instances 3

# Show all usage examples
osmedeus --usage-example

Docker

# Show help
docker run --rm j3ssie/osmedeus:latest --help

# Run a scan
docker run --rm -v $(pwd)/output:/root/workspaces-osmedeus \
    j3ssie/osmedeus:latest run -f general -t example.com

For more CLI usage and example commands, refer to the CLI Reference.

High-level architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                   Osmedeus Orchestration Engine                           β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  ENTRY POINTS                                                             β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”                β”‚
β”‚  β”‚   CLI    β”‚  β”‚ REST API β”‚  β”‚Scheduler β”‚  β”‚ Distributed β”‚                β”‚
β”‚  β””β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”˜  β””β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”˜                β”‚
β”‚       β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                        β”‚
β”‚                              β”‚                                            β”‚
β”‚                              β–Ό                                            β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”‚
β”‚  β”‚ CONFIG ──▢ PARSER ──▢ EXECUTOR ──▢ STEP DISPATCHER ──▢ RUNNER       β”‚  β”‚
β”‚  β”‚                          β”‚                                          β”‚  β”‚
β”‚  β”‚  Step Executors: bash | function | parallel | foreach | remote-bash β”‚  β”‚
β”‚  β”‚                  http | llm | agent | agent-acp | SARIF/SAST       β”‚  β”‚
β”‚  β”‚  Hooks: pre_scan_steps β†’ [main steps] β†’ post_scan_steps             β”‚  β”‚
β”‚  β”‚                          β”‚                                          β”‚  β”‚
β”‚  β”‚  Runners: HostRunner | DockerRunner | SSHRunner                     β”‚  β”‚
β”‚  β”‚  Queue: DB + Redis polling β†’ dedup β†’ concurrent execution           β”‚  β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

For more information about the architecture, refer to the Architecture Documentation.

Roadmap and status

The plan for the project, in order:

# Step Status
1 Rebuild the Osmedeus engine on a new architecture βœ…
2 Flexible workflows and step types βœ…
3 Event-driven model and the trigger event categories βœ…
4 Web UI for results and workflow diagrams βœ…
5 Rewrite the workflows for the new architecture and syntax βœ…
6 Test more utility functions, such as notifications βœ…
7 SAST integration with SARIF parsing (Semgrep, Trivy, and others) βœ…
8 Cloud integration that runs a scan on a cloud provider βœ…
9 Diff reports listing new, removed, and unchanged assets between runs ❌
10 A step type that runs on a cloud provider's serverless platform ❌
N Further features, to be decided ❌

Documentation

Topic Link
Getting Started docs.osmedeus.org/getting-started
CLI Usage & Examples docs.osmedeus.org/getting-started/cli
Writing Workflows docs.osmedeus.org/workflows/overview
Event-Driven Triggers docs.osmedeus.org/advanced/event-driven
Deployment docs.osmedeus.org/deployment
Architecture docs.osmedeus.org/concepts/architecture
Development docs.osmedeus.org/development and HACKING.md
Extending Osmedeus docs.osmedeus.org/development/extending-osmedeus
Security Model SECURITY.md and docs.osmedeus.org/others/security-warning
Full Documentation docs.osmedeus.org

Disclaimer

Osmedeus executes arbitrary code and commands from user-supplied input through the CLI, the API, and workflow definitions. That is intentional and central to how the engine operates.

Read the Security Warning page for how to stay safe. SECURITY.md draws the line between the code execution that is intentional and what counts as a vulnerability, and is where to start if you want to report one.

Think twice before you:

  • Run workflows downloaded from untrusted sources
  • Execute commands or scans against targets you don't own or have permission to test
  • Use workflows without reviewing their contents first

You are responsible for what you run. Always review workflow YAML files before execution, especially those obtained from third parties.

License

Osmedeus is made with β™₯ by @j3ssie and it is released under the MIT license.