Repository navigation
v0.2.0-alpha.1
Pre-release
Pre-release
0.2.0-alpha.1 - 2026-11-06
Added
- PookieGraph queries (pgq). A
.pgqfile is a TypeScript module of Cypher selectors (PGSelector) and rules (PGRule, with a severity ofinfo,low,medium,highorcritical). Selectors chain throughuses($nameparameters) and follow taint flow withfrom(strict, lenient or deep, plusmaxHops).loadPgq(files)evaluates.pgqfiles in a sandboxed Node process. The process runs under the permission model and can read only its query pack. It can import only other.pgqfiles, andfetch,getBuiltinModuleandkillare removed. Needs Node 22.15 or newer.validatePgq()checks rules, andcheckPgqCypher()compiles their queries against a graph.runPgq(graph, rules)runs rules and returns findings with their source and hop count. Its flow runner comes from js-recon's analyze engine.
PookieGraph.open(path, { readOnly: true })opens a saved graph without writing to it.graph.addFiles()andflattenFiles()load several files as one unit, linked through the bundler's module registry, with the newIMPORTSandEXPORTSedges. Supported registries:- webpack 5 (
pushand__webpack_modules__factories,R.dexports,R(id)namespaces) - webpack 4 (module arrays, the IIFE registry)
- CommonJS (
module.exports,exports.k) withrequire.n/.tinterop import()eval("<literal>")builds, parsed as virtual files- Turbopack from Next.js 15.3 to 16.x
- webpack 5 (
- Builtin pass-through
FLOWS_TOedges for decoders and string methods (decodeURIComponent,slice,trim,concat, ...). Encoders get none. - Versioned docs:
/serves the latest stable release, and/nextserves the docs for alpha and beta releases.
Changed
- The graph is now called a PookieGraph, and
.pgis its file extension.TaintGraphwas renamed toPookieGraph;TaintGraphremains as a deprecated alias.