This repository hosts a library of pre-compiled, production-ready WASM filter/transform plugins for ServGate and ServQueue.
Anyone can fork this repository to customize and build their own WebAssembly plugins.
jwt-auth: Asymmetric RS256/HS256 JWT validation and claims header injection.pii-scrubber: Real-time regex scanner that redacts Credit Cards, SSNs, and emails from request/response bodies.json-to-proto: Inline message transcoder converting JSON message payloads into Protobuf format.llm-semantic-router: Routes prompt requests dynamically to optimal LLM endpoints based on complexity.header-enrichment: Automatically injects geo-IP metadata, processing timestamp headers, and instance operational IDs.api-key-auth: Lightweight API key validation filter protecting edge routes.xml-to-json: Converts legacy XML message payloads into JSON dynamically in queue streams.anomaly-detector: Evaluates telemetry payload metrics and halts message pipeline on safety violations.csv-to-parquet: Transforms uploaded raw CSV sheets into columnar JSON-schema formats near the S3 storage boundary.
We compile these plugins targeting WebAssembly WASIP1.
# Build jwt-auth
GOOS=wasip1 GOARCH=wasm go build -o jwt-auth.wasm ./plugins/jwt-auth/main.go
# Build pii-scrubber
GOOS=wasip1 GOARCH=wasm go build -o pii-scrubber.wasm ./plugins/pii-scrubber/main.gotinygo build -o jwt-auth.wasm -target=wasi ./plugins/jwt-auth/main.go