macOS
brew install keystonelocal Homebrew formula metadata
sudo port install keystoneMacPorts ports tree · devel/keystone/Portfile · source: api.github.com
brew
Assembler framework: Core + bindings. Version 0.9.2 via Homebrew; verified 2026-05-15.
install
brew install keystonelocal Homebrew formula metadata
sudo port install keystoneMacPorts ports tree · devel/keystone/Portfile · source: api.github.com
sudo apk add keystoneAlpine Linux edge package indexes · keystone · source: dl-cdn.alpinelinux.org
sudo apt install keystoneDebian stable package indexes · keystone · source: deb.debian.org
nix profile install nixpkgs#keystonenixpkgs package indexes · pkgs/by-name/ke/keystone/package.nix · source: api.github.com
sudo pacman -S keystoneArch Linux sync databases · keystone · source: geo.mirror.pkgbuild.com
overview
Assembler framework: Core + bindings
history
Keystone Engine is a multi-architecture assembler framework created for reverse-engineering, binary instrumentation, exploit-development, and dynamic-code-generation tooling. It is commonly discussed alongside Capstone, its disassembler sibling, because Keystone fills the assembler side of the same multi-architecture tooling space.
Keystone's own changelog records version 0.9 as the initial public release on May 31, 2016. The project describes itself as a lightweight, multi-platform, multi-architecture assembler framework implemented in C/C++, based on LLVM, and exposing bindings for many languages.
The 0.9.1 release on July 27, 2016 added Haskell and OCaml bindings and improved kstool and architecture support. The 0.9.2 release on June 21, 2020 focused on Python packaging, while the 0.9.2 release-candidate notes list Ethereum VM support, more language bindings, Android cross-compilation improvements, and assembly-behavior fixes across X86, Arm, Arm64, Mips, and PowerPC.
Keystone gained adoption in reverse-engineering culture because it offered a reusable assembler library rather than a single command-line assembler. The repository documents language bindings for Java, Masm, C#, PowerShell, Perl, Python, NodeJS, Ruby, Go, Rust, Haskell, VB6, and OCaml, which made the engine usable from scripting environments and binary-analysis frameworks.
Package-manager coverage in this batch includes Homebrew, Debian, Ubuntu, Arch, MacPorts, Nix, and Alpine, indicating that Keystone moved beyond its upstream source tree into the normal packaging channels used by security researchers and systems developers.
The CLI entry point packaged by Homebrew is kstool, while the main value of Keystone is the library API: programs call the engine to turn architecture-specific assembly text into machine-code bytes. Its multi-architecture scope makes it useful for tests, shellcode generation, binary rewriting, and educational tooling.
Keystone matters to package nerds because it is infrastructure for other tooling: a small command in a package manager represents a large cross-platform assembly engine, LLVM-derived internals, and a bundle of language bindings. It is also a good example of reverse-engineering tools becoming ordinary installable packages across Unix-like distributions.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
kstool | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/keystone-engine/keystone
install metadata
| Package key | brew:keystone |
|---|---|
| Version | 0.9.2 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/keystone |
| Homepage | https://github.com/keystone-engine/keystone |
| Repository | https://github.com/keystone-engine/keystone |
| Upstream docs | https://github.com/keystone-engine/keystone#readme |
| License | GPL-2.0-only |
| Source archive | https://github.com/keystone-engine/keystone/archive/refs/tags/0.9.2.tar.gz |
| Last updated | 2026-05-15T08:40:30-04:00 |
| Pulse | updated |
| Build dependencies | cmake, python@3.14 |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | keystone |
| Version Scheme | 0 |
| Revision | 1 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
keystone 2:27.0.0-3+deb13u1
OpenStack identity service
http://keystone.openstack.org/
sudo apt install keystonekeystone-doc 2:27.0.0-3+deb13u1
OpenStack identity service - documentation
http://keystone.openstack.org/
sudo apt install keystone-docpython3-keystone 2:27.0.0-3+deb13u1
OpenStack identity service - library
http://keystone.openstack.org/
sudo apt install python3-keystonekeystone
nix profile install nixpkgs#keystonekeystone 2:25.0.0-0ubuntu1
OpenStack identity service - Daemons
https://opendev.org/openstack/keystone
sudo apt install keystonekeystone-common 2:25.0.0-0ubuntu1
OpenStack identity service - Common files
https://opendev.org/openstack/keystone
sudo apt install keystone-commonkeystone-doc 2:25.0.0-0ubuntu1
OpenStack identity service - Documentation
https://opendev.org/openstack/keystone
sudo apt install keystone-docpython3-keystone 2:25.0.0-0ubuntu1
OpenStack identity service - Python 3 library
https://opendev.org/openstack/keystone
sudo apt install python3-keystonekeystone 0.9.2-r6
Keystone assembler framework: Core (Arm, Arm64, Hexagon, Mips, PowerPC, Sparc, SystemZ & X86) + bindings
https://www.keystone-engine.org/
sudo apk add keystonekeystone-dev 0.9.2-r6
Keystone assembler framework: Core (Arm, Arm64, Hexagon, Mips, PowerPC, Sparc, SystemZ & X86) + bindings (development files)
https://www.keystone-engine.org/
sudo apk add keystone-devkeystone-python 0.9.2-r6
keystone python3 bindings
https://www.keystone-engine.org/
sudo apk add keystone-pythonkeystone-python-pyc 0.9.2-r6
Precompiled Python bytecode for keystone-python
https://www.keystone-engine.org/
sudo apk add keystone-python-pyckeystone 0.9.2-8
Lightweight multi-platform, multi-architecture assembler framework
https://www.keystone-engine.org/
sudo pacman -S keystonekeystone
sudo port install keystonesource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.