
Security News
CISA Extends MITRE Contract as Crisis Accelerates Alternative CVE Coordination Efforts
CISA extended MITRE’s CVE contract by 11 months, avoiding a shutdown but leaving long-term governance and coordination issues unresolved.
PyJoern lifts Joern data and APIs into Pythonic form, focused on graph manipulation.
A Python frontend and lifter for Joern API, focused on CFG manipulation.
This package requires you to have Java 19, Graphviz, and Unzip installed on your machine before running the pip installer. In you don't have them on your system, use the install_dependencies.sh script found in the source repo.
pip3 install pyjoern && pyjoern --install
Running pyjoern --install
will init the Joern package for this first time, which will download the backend.
Use PyJoern as a library for collecting info on source and getting a CFG. The IL the source CFG is lifted to is described in JIL.
from pyjoern import parse_source, fast_cfgs_from_source
# for full parsing
functions = parse_source("tests/source/simple.c")
main = functions["main"]
print(main.start_line)
print(main.cfg)
# for only the CFG
cfgs = fast_cfgs_from_source("tests/source/simple.c")
main_func = cfgs["main"]
print(main_func.edges)
The current version of PyJoern can be found in [pyjoern/__init__.py] as __version__
.
The point in the version is the PyJoern specific updates.
The first three are the current version of Joern that PyJoern is supporting.
Example:
__version__ = "v1.2.18.1"
This would mean Joern version v1.2.18
, with PyJoern update 1
.
FAQs
PyJoern lifts Joern data and APIs into Pythonic form, focused on graph manipulation.
We found that pyjoern demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISA extended MITRE’s CVE contract by 11 months, avoiding a shutdown but leaving long-term governance and coordination issues unresolved.
Product
Socket's Rubygems ecosystem support is moving from beta to GA, featuring enhanced security scanning to detect supply chain threats beyond traditional CVEs in your Ruby dependencies.
Research
The Socket Research Team investigates a malicious npm package that appears to be an Advcash integration but triggers a reverse shell during payment success, targeting servers handling transactions.