What problem does it solve? Security auditors and engineers reviewing unfamiliar or polyglot codebases struggle to map call paths, attack surface, and taint flow by reading files manually. Trailmark parses source code into a directed graph of functions, classes, and calls so security-relevant relationships can be queried programmatically. ## Core Features & Use Cases - Code Graph Construction: Parses 16 languages (Solidity, Cairo, Circom, Rust, Go, Python, C/C++, TypeScript, and more) into a graph of nodes (functions, classes, contracts) and edges (calls, inherits, imports) with confidence levels. - Pre-Analysis Passes: Enriches the graph with blast radius estimation, entry point enumeration, privilege boundary detection, and taint propagation, exposed as annotations and named subgraphs. - Security Query API: Query callers, callees, paths between functions, complexity hotspots, and attack surface via CLI or the Python QueryEngine API. - Use Case: Before a smart contract audit, run trailmark on a Solidity repository, execute pre-analysis, and hand off the tainted and privilege-boundary subgraphs to prioritize which functions to review first. ## Quick Start Ask the AI to analyze your project directory with trailmark and list the complexity hotspots and attack surface entry points.