{"categories":[{"label":"Security","url":"https://skillfed.io/packages/category/security/3"}],"enrichment":{"capability":"Parses source code into a queryable graph of functions, classes, calls, and semantic annotations using tree-sitter and rustworkx for security and code-structure analysis.","skillfed_tags":["static-analysis","code-graph","security-audit"],"use_cases":["Map call chains from user-controlled entrypoints to sensitive functions for security auditing.","Identify functions with high cyclomatic complexity and trace which code paths reach them.","Analyze cross-file dependencies and detect circular imports or unexpected coupling.","Augment static-analysis findings (SARIF, weAudit) with transitive reachability context.","Generate attack-surface reports showing which functions are reachable from external inputs."],"what_it_does":"Trailmark converts source code into a queryable directed graph of semantic entities\u2014functions, classes, methods, calls, and annotations\u2014across multiple programming languages. It uses tree-sitter for language-agnostic AST parsing and rustworkx for graph storage and traversal, extracting nodes (functions, classes, structs, etc.), edges (calls, inheritance, imports), and metadata (type annotations, cyclomatic complexity, exception types, docstrings). The package operates in three phases: parse (walk directories and extract code structure), index (load into a rustworkx graph with bidirectional mappings), and query (provide a high-level API for graph traversal and analysis).\n\nThe QueryEngine exposes methods to find callers, callees, transitive reachability, call paths between functions, complexity hotspots, entrypoint paths, and attack surface. It also supports semantic annotations (adding custom metadata to nodes), structural diffs between graphs, and integration with SARIF and weAudit findings. This makes it useful for security analysis, code review, impact assessment, and identifying gaps between code assumptions and test coverage.","worth_installing":"Yes, if you need multi-language code-structure analysis for security or code-review workflows. The package is actively maintained, has no known vulnerabilities, and covers multiple languages. The Python 3.12 requirement and early version number (0.5.0) mean it is not yet universally deployable, but the low install friction and permissive license make it a reasonable choice for teams already on modern Python. Verify performance and accuracy for your specific codebase before relying on it for critical security decisions."},"id":"trailmark","links":{"html":"https://skillfed.io/packages/trailmark","md":"https://skillfed.io/packages/trailmark.md","pypi":"https://pypi.org/project/trailmark/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-17","license_spdx":"Apache-2.0","license_treatment":"permissive","name":"trailmark","python_support":"supports_current","summary":"Parse source code into a queryable graph of functions, classes, calls, and semantic annotations"},"popularity":{"monthly_downloads":77202,"position":14549,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.5.0"}
