Automic VaultAutomic Vault

brew

Install keystone with Homebrew, apk, apt, MacPorts, Nix, pacman

Assembler framework: Core + bindings. Version 0.9.2 via Homebrew; verified 2026-05-15.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install keystone

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install keystone

MacPorts ports tree · devel/keystone/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add keystone

Alpine Linux edge package indexes · keystone · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install keystone

Debian stable package indexes · keystone · source: deb.debian.org

Nixverified · 92%
nix profile install nixpkgs#keystone

nixpkgs package indexes · pkgs/by-name/ke/keystone/package.nix · source: api.github.com

Arch Linux pacmanverified · 92%
sudo pacman -S keystone

Arch Linux sync databases · keystone · source: geo.mirror.pkgbuild.com

overview

Package summary

Assembler framework: Core + bindings

Commands and aliases

  • kstool

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2016-05-31: Keystone 0.9 initial public release.
  • 2016-07-27: Keystone 0.9.1 added kstool improvements and Haskell and OCaml bindings.
  • 2020-06-13: Keystone 0.9.2-rc1 added Ethereum VM support and additional bindings.
  • 2020-06-21: Keystone 0.9.2 fixed Python binding packaging.

Related projects

  • Capstone is the closely related disassembly framework from the same broader tooling ecosystem. LLVM provides the machine-code infrastructure on which Keystone is based.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 2 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
kstoolcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version0.9.2
manager updated2026-05-15
local dataok
upstreamcurrent
latest detected0.9.2

https://github.com/keystone-engine/keystone

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:keystone
Version0.9.2
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/keystone
Homepagehttps://github.com/keystone-engine/keystone
Repositoryhttps://github.com/keystone-engine/keystone
Upstream docshttps://github.com/keystone-engine/keystone#readme
LicenseGPL-2.0-only
Source archivehttps://github.com/keystone-engine/keystone/archive/refs/tags/0.9.2.tar.gz
Last updated2026-05-15T08:40:30-04:00
Pulseupdated
Build dependenciescmake, python@3.14
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namekeystone
Version Scheme0
Revision1
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

keystone 2:27.0.0-3+deb13u1

OpenStack identity service

http://keystone.openstack.org/

sudo apt install keystone
  • Section: python
  • Architecture: all
  • 13 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Keystone
Debian stable package indexes · deb.debian.org · Debian stable package indexes: keystone from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

keystone-doc 2:27.0.0-3+deb13u1

OpenStack identity service - documentation

http://keystone.openstack.org/

sudo apt install keystone-doc
  • Section: doc
  • Architecture: all
  • Source Package: keystone
  • 1 dependencies
  • normalized package name match
  • Matched by: Keystone
Debian stable package indexes · deb.debian.org · Debian stable package indexes: keystone-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

python3-keystone 2:27.0.0-3+deb13u1

OpenStack identity service - library

http://keystone.openstack.org/

sudo apt install python3-keystone
  • Section: python
  • Architecture: all
  • Source Package: keystone
  • 32 dependencies
  • normalized package name match
  • Matched by: Keystone
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-keystone from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

keystone

nix profile install nixpkgs#keystone
  • normalized package name match
  • Matched by: Keystone
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ke/keystone/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

keystone 2:25.0.0-0ubuntu1

OpenStack identity service - Daemons

https://opendev.org/openstack/keystone

sudo apt install keystone
  • Section: python
  • Architecture: all
  • 6 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: Keystone
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: keystone from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

keystone-common 2:25.0.0-0ubuntu1

OpenStack identity service - Common files

https://opendev.org/openstack/keystone

sudo apt install keystone-common
  • Section: python
  • Architecture: all
  • Source Package: keystone
  • normalized package name match
  • Matched by: Keystone
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: keystone-common from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

keystone-doc 2:25.0.0-0ubuntu1

OpenStack identity service - Documentation

https://opendev.org/openstack/keystone

sudo apt install keystone-doc
  • Section: doc
  • Architecture: all
  • Source Package: keystone
  • 2 dependencies
  • normalized package name match
  • Matched by: Keystone
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: keystone-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

python3-keystone 2:25.0.0-0ubuntu1

OpenStack identity service - Python 3 library

https://opendev.org/openstack/keystone

sudo apt install python3-keystone
  • Section: python
  • Architecture: all
  • Source Package: keystone
  • 32 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: Keystone
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3-keystone from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

keystone 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 keystone
  • License: custom
  • Architecture: x86_64
  • Source Package: keystone
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Keystone
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: keystone from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

keystone-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-dev
  • License: custom
  • Architecture: x86_64
  • Source Package: keystone
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Keystone
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: keystone-dev from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

keystone-python 0.9.2-r6

keystone python3 bindings

https://www.keystone-engine.org/

sudo apk add keystone-python
  • License: custom
  • Architecture: x86_64
  • Source Package: keystone
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Keystone
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: keystone-python from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

keystone-python-pyc 0.9.2-r6

Precompiled Python bytecode for keystone-python

https://www.keystone-engine.org/

sudo apk add keystone-python-pyc
  • License: custom
  • Architecture: x86_64
  • Source Package: keystone
  • 1 dependencies
  • normalized package name match
  • Matched by: Keystone
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: keystone-python-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
pacman95%

keystone 0.9.2-8

Lightweight multi-platform, multi-architecture assembler framework

https://www.keystone-engine.org/

sudo pacman -S keystone
  • License: GPL2
  • Architecture: x86_64
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Keystone
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: keystone from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

keystone

sudo port install keystone
  • normalized package name match
  • Matched by: Keystone
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/keystone/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment