Configuration & Runtime Profiles
TraceForge provides an adaptive runtime architecture allowing operators to tailor execution between pure Python reference implementations and compiled native Go helpers.
1. Runtime Profiles
The active profile determines which language engine handles analytical operations:
Profile |
Application Logic |
Fast-Path Tasks (Hash/IOC/Triage) |
External Toolchain |
|---|---|---|---|
|
Python 3 |
Compiled Go Helpers ( |
Standard recommended (~50 tools) |
|
Python 3 |
Pure Python |
Standard recommended (~50 tools) |
|
Python 3 (Minimal) |
Compiled Go Helpers |
Go utilities only |
|
Python 3 |
Pure Python |
Core built-in utilities only (~15 tools) |
|
Python 3 |
Compiled Go Helpers |
All 152 catalog tools |
|
Operator-defined |
Operator-defined |
Fine-tuned per component |
2. Managing Profiles
View Active Profile
traceforge profile
Switch Active Profile
traceforge profile python-go
# or
traceforge profile minimal
3. Feature Fast-Path Overrides
You can override the engine used for specific analytical tasks:
# Force compiled Go fast-path for IOC extraction
traceforge config set ioc.runtime go
# Force pure Python engine for file hashing
traceforge config set hash.runtime python
# Reset to automatic profile recommendation
traceforge config set hash.runtime auto
Available configurable features:
hash.runtime: Cryptographic hashing and evidence directory indexing.ioc.runtime: Streaming indicator of compromise extraction and defanging.diff.runtime: Universal snapshot differing for DNS and web responses.triage.runtime: Web access log and syslog triage engine.graph.runtime: Node and edge relationship graph generation.pcap.runtime: Offline packet capture summary and protocol dissection.
4. Configuration Storage & CLI Settings
TraceForge persists configuration settings in config.json:
# View entire active configuration
traceforge config list
# Get a specific setting
traceforge config get profile
5. Environment Variables
Variable |
Description |
Default |
|---|---|---|
|
Override active runtime profile for the session |
|
|
Custom directory path for case workspaces |
|
|
Path to compiled |
|
|
Enable verbose runtime execution tracing |
|