Skip to main content
Version: Next

Terminology

Terms​

  • taintwire is the whole technology: this library, which turns JavaScript into a graph and queries it.
  • A PookieGraph is the graph taintwire generates from your code. It's an embedded LadybugDB database, saved as a single .pg file. See the graph model.
  • A PookieGraph Query (pgq) is a .pgq file of queries you run on a PookieGraph. See Query files (pgq).
  • PookieGraph aliases (pga) are short names for Cypher fragments that repeat across queries. They live in .pgq library files in the taintwire-queries pack, not in a file type of their own. See PookieGraph aliases (pga).

Why these names? No reason at all.

File extensions​

ExtensionHoldsMade byRead by
.pgOne PookieGraph, a LadybugDB database filePookieGraph.open(path), js-recon taintwire buildPookieGraph.open(path), js-recon taintwire analyze
.pgqA TypeScript module of selectors and rules (a PookieGraph Query)You, or a query pack such as taintwire-queriesloadPgq(), js-recon taintwire analyze and validate
.twA tar of one .pg per unit plus a manifest.json, so large builds load one unit at a time (see memory)js-recon taintwire build -o app.twjs-recon taintwire analyze -g app.tw

.tw is a js-recon format: the taintwire package itself only reads and writes .pg and .pgq files.