Skip to content

SocketDev/socket-btm

Socket BTM

Build infrastructure for Socket's binary artifacts and ML models.

Overview

Monorepo containing:

  • Binary Tools - binject, binpress, binflate (C/C++ binary manipulation)
  • Node.js - Custom Node.js v25 with Socket security patches
  • WASM - ONNX Runtime and Yoga Layout
  • ML Models - Quantized AI models (CodeT5, MiniLM)

Quick Start

# Install dependencies
pnpm install

# Build binary tools
pnpm --filter binject run build
pnpm --filter binpress run build
pnpm --filter binflate run build

# Build Node.js
pnpm --filter node-smol-builder run build

# Build WASM modules
pnpm --filter onnxruntime-builder run build
pnpm --filter yoga-layout-builder run build

# Build ML models
pnpm --filter codet5-models-builder run build
pnpm --filter minilm-builder run build
pnpm --filter models run build

Packages

Binary Tools

  • binject - Binary injection (Mach-O, ELF, PE)
  • binpress - Binary compression (LZFSE)
  • binflate - Binary decompression utility

Infrastructure

  • build-infra - Shared build utilities (checkpoints, CMake, Rust, WASM)
  • bin-infra - Binary infrastructure (LIEF, compression, format handling)
  • bin-stubs - Self-extracting stub binaries for compressed executables

Node.js

WASM Builders

ML Models

License

MIT

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •