High-performance STIX 2.1 library written in Rust with bindings for Python, Go, and Node.js.
This project is heavily based on github.com/oasis-open/cti-rust-stix - the official OASIS TC reference implementation.
- Rust core: Fast STIX 2.1 serialization/deserialization
- Python: Idiomatic Python API via pyo3/maturin
- Go: Using Extism WASM bindings
- Node.js: TypeScript-compatible bindings via napi-rs
- Wasm plugin: Universal STIX object builder
cd python
pip install -e .from stixflayer import AttackPattern
attack_pattern = AttackPattern(name="Spear Phishing", description="Phishing attack")
print(attack_pattern.to_json())cd go
go mod tidy
go test -v ./...cargo check --workspace
cargo test --workspacerust/ - Core STIX library
python/ - Python bindings
node/ - Node.js/TypeScript bindings
go/ - Go bindings (Extism)
wasm-plugin/ - WASM plugin for universal bindings
java/ - Java bindings (experimental)
BSD-3-Clause - see LICENSE file for details.