trailmark-structural
Pass
Audited by Gen Agent Trust Hub on Sep 17, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The skill uses the
Bashtool to execute Python scripts, passing the user-supplied directory path (args) as a command-line argument to analyze the codebase. - [DYNAMIC_EXECUTION]: The skill dynamically generates Python code via shell heredocs to interact with the
trailmarkAPI, facilitating complex structural analysis and graph generation from a fixed template. - [EXTERNAL_DOWNLOADS]: The skill uses
uv run --with trailmarkto execute its logic. This command may download and install thetrailmarkpackage from a public registry if it is not locally available. This package is a resource provided by the skill's author (trailofbits). - [INDIRECT_PROMPT_INJECTION]: The skill analyzes untrusted codebases, creating a potential surface for indirect prompt injection.
- Ingestion points: Files within the target directory specified by the
argsparameter inSKILL.mdare processed by the analysis engine. - Boundary markers: No explicit markers are defined; the skill processes all files detected as supported languages within the target scope.
- Capability inventory: Access to
Bash,Read,Grep, andGlobtools allows for command execution and filesystem access during the analysis process. - Sanitization: The skill relies on the
trailmarklibrary's internal parsing and does not perform additional sanitization of the code content before analysis.
Audit Metadata