Repository navigation
Releases
v0.5.0
Full Changelog: v0.4.2...v0.5.0
v0.4.2
v0.4.1
v0.4.0
Speaks VGI protocol 3.3 (vgi-python 0.51.0) and requires the current VGI DuckDB extension; 3.2 extensions are incompatible. No worker-visible SQL changes.
v0.3.0
Ported to VGI protocol 3.2: vgi-python 0.49.0 -> 0.50.0 (vgi-rpc unchanged at 0.53.1). Catalog metadata updated for vgi-lint-check 2.2: shorter vgi.title ("Executable Binary Triage", VGI147) and a new one-sentence vgi.subtitle (VGI148). Requires haybarn 2.0 community vgi extension that speaks protocol 3.2.
v0.2.0
Ported to VGI protocol 3.1 (vgi.v3) / haybarn 2.0: vgi-python 0.46.1 -> 0.49.0, vgi-rpc 0.52.0 -> 0.53.1. This release requires haybarn 2.0's community vgi extension; it is not compatible with haybarn 1.5 / vgi.v2.
v0.1.0
First release of vgi-pe — static, read-only triage of executable binaries (Windows PE, Linux ELF, macOS Mach-O) as DuckDB SQL functions, backed by LIEF. Defensive malware-triage: the worker only reads and describes the bytes, it never executes the sample.
Install / run
- Container image (multi-arch amd64+arm64):
ghcr.io/query-farm/vgi-pe:0.1.0(also:latest,:edge). Serves HTTP (/health, default) orstdio. - Python:
pip install vgi_pe-0.1.0-py3-none-any.whl(sdist + wheel attached below), exposes thevgi-pe-workerconsole script.
INSTALL vgi FROM community; LOAD vgi;
ATTACH 'pe' (TYPE vgi, LOCATION 'vgi-pe-worker');
SELECT pe.binary_format('sample.exe'); -- 'PE'
SELECT pe.imphash('sample.exe'); -- import-hash for clustering
SELECT * FROM pe.sections('sample.exe') ORDER BY entropy DESC;Functions
Per-binary scalars (format, architecture, entry point, signing, PE build timestamp, imphash, whole-file entropy) and set-returning tables (sections, imports, exports, strings), each taking a VARCHAR path or a BLOB. Hostile/malformed input degrades to NULL / no rows.