Automic VaultAutomic Vault

brew

使用 Homebrew 安装 joern

查看 joern 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install joern

local Homebrew formula metadata

概览

软件包摘要

Open-source code analysis platform based on code property graphs

命令和别名

  • abap2cpg
  • c2cpg.sh
  • csharpsrc2cpg
  • ghidra2cpg
  • gosrc2cpg
  • javasrc2cpg
  • jimple2cpg
  • joern
  • joern-cpg2scpg
  • joern-export
  • joern-flow
  • joern-parse
  • joern-scan
  • joern-slice
  • joern-vectors
  • jssrc2cpg.sh
  • kotlin2cpg
  • php2cpg
  • pysrc2cpg
  • rubysrc2cpg
  • rust2cpg
  • schema-extender.sh
  • swiftsrc2cpg.sh

历史

项目历史与用法

Joern is an open-source code analysis platform built around code property graphs, a graph representation that lets security researchers query syntax, control flow, and data flow through a Scala-based domain-specific language. Its Homebrew formula packages a large CLI surface, including language frontends and helper commands for parsing, scanning, slicing, exporting, and vectorizing code.

项目历史

The code property graph idea was introduced in vulnerability-research work on C system code and the Linux kernel. Joern grew from that research lineage into a practical tool for creating and querying CPGs, with later research from 2014 to 2016 extending the representation and 2017 onward work at ShiftLeft turning the format into a broader static-analysis foundation.

The public joernio/joern repository was created in 2019 and the project documentation records several architectural shifts: older Joern versions used general-purpose graph databases and Gremlin, later versions moved to OverflowDB, Joern v2 changed the implementation line from Scala 2 to Scala 3, and Joern v4 moved from OverflowDB to flatgraph.

采用历史

Joern's adoption is strongest in security research and static-analysis workflows where importing incomplete or build-hostile code is valuable. The documentation lists mature or partially mature frontends for C/C++, Java, JavaScript, Python, binary analysis through Ghidra, JVM bytecode, Kotlin, PHP, Go, Ruby, Swift, and C#.

Homebrew distribution makes Joern convenient on macOS and Linux while preserving its JVM/Scala toolchain shape through OpenJDK and sbt-related packaging.

使用方式

A typical Joern workflow parses source, bytecode, or binaries into a CPG, stores the graph in Joern's graph database, and then uses CPGQL or bundled commands such as joern-scan, joern-slice, and joern-export to inspect code patterns and vulnerability-relevant flows.

为什么软件包爱好者会关心

Joern matters to package nerds because it turns a research-heavy static-analysis stack into a single installable CLI formula with many frontends. It also shows the unusual packaging profile of modern security tooling: JVM runtime, Scala build tooling, external parsers, and a fast-moving release stream tied to graph storage changes.

时间线

  • 2014: Code property graphs were introduced for vulnerability discovery in C system code.
  • 2014-2016: Research extended the CPG concept for interprocedural analysis, data-flow learning, dominator-tree integration, and dynamic-language analysis.
  • 2017: The CPG became a foundation for static-analysis products at ShiftLeft.
  • 2019: The joernio/joern GitHub repository was created.
  • 2023: Joern v2 marked the Scala 2 to Scala 3 transition.
  • 2026: Joern v4 documented the move from OverflowDB to flatgraph.

Related projects

  • Related projects and concepts include the Code Property Graph specification, Ocular and Qwiet AI, OverflowDB, flatgraph, Ghidra frontends, and the older Gremlin/property-graph ecosystem that influenced early Joern storage and querying.

安全态势

尚未找到受保护工具覆盖

没有找到 joern 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 4 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
abap2cpgcli全局可执行文件
c2cpg.shcli全局可执行文件
csharpsrc2cpgcli全局可执行文件
ghidra2cpgcli全局可执行文件
gosrc2cpgcli全局可执行文件
javasrc2cpgcli全局可执行文件
jimple2cpgcli全局可执行文件
joerncli全局可执行文件
joern-cpg2scpgcli全局可执行文件
joern-exportcli全局可执行文件
joern-flowcli全局可执行文件
joern-parsecli全局可执行文件
joern-scancli全局可执行文件
joern-slicecli全局可执行文件
joern-vectorscli全局可执行文件
jssrc2cpg.shcli全局可执行文件
kotlin2cpgcli全局可执行文件
php2cpgcli全局可执行文件
pysrc2cpgcli全局可执行文件
rubysrc2cpgcli全局可执行文件
rust2cpgcli全局可执行文件
schema-extender.shcli全局可执行文件
swiftsrc2cpg.shcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本4.0.580
管理器更新时间2026-07-14
本地数据OK
上游当前
检测到的最新版本v4.0.580

https://github.com/joernio/joern

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:joern
版本4.0.580
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/joern
主页https://joern.io/
仓库https://github.com/joernio/joern
上游文档https://docs.joern.io/
许可证Apache-2.0
源码归档https://github.com/joernio/joern/archive/refs/tags/v4.0.580.tar.gz
最后更新2026-07-14T12:44:08Z
Pulseupdated
依赖astgen, coreutils, openjdk@25, php
构建依赖sbt
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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