Workflow Kinds
Osmedeus supports two workflow kinds:| Kind | Purpose |
|---|---|
module | Single execution unit with steps |
flow | Orchestrates multiple modules |
Basic Structure
Module Workflow
Flow Workflow
Step Types
bash - Execute Shell Commands
function - JavaScript Utility Functions
parallel-steps - Run Steps Concurrently
foreach - Loop Over Input
[[variable]] syntax inside foreach loops to avoid template conflicts.
http - Make HTTP Requests
llm - AI-Powered Analysis
Template Variables
Built-in Variables
| Variable | Description |
|---|---|
{{Target}} | Current target |
{{Output}} | Output directory for this run |
{{BaseFolder}} | Osmedeus installation directory |
{{Binaries}} | Binary tools directory |
{{Data}} | Data directory (wordlists, etc.) |
{{Workflows}} | Workflows directory |
{{Workspaces}} | Workspaces directory |
{{threads}} | Thread count based on tactic |
{{Version}} | Osmedeus version |
Foreach Loop Variables
Use double brackets[[variable]] inside foreach loops:
Exports and Variable Passing
Pass data between steps using exports:Decision Routing
Branch workflow execution based on conditions:Handlers (on_success / on_error)
Runner Configuration
Host Runner (Default)
Docker Runner
SSH Runner
Per-Step Runner Override
Complete Example
Running Your Workflow
Next Steps
- See CLI References for all command options
- See Extending Osmedeus to add custom step types
- See Advanced Configuration for API keys and storage setup