Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

trust-path

Latest version: v0.8.1

Overview

Last scanned
27 Nov 2026
Published
27 Nov 2026
PyPI package Publisher: jacob-adm
1 Stars
0 Forks
10 Versions
797 Downloads
Python Repo language

Scan summary

trust-path was last scanned on 27 Nov 2026 at version 0.8.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 10 versions; the latest 5 were published within 7 days (21–27 Nov 2026).
  • Findings: No rules fired in version 0.8.1.
  • Downloads: 797 downloads.

Versions

10 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.8.1 LATEST 27 Nov 2026 No rules fired
0.7.0 26 Nov 2026 No rules fired
0.6.1 24 Nov 2026 No rules fired
0.6.0 23 Nov 2026 Not shown
0.5.0 21 Nov 2026 Not shown

No rules fired in 0.8.1

Findings

Findings for v0.8.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.8.1; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

trust-path

trust-path lists the paths by which untrusted input can reach a secret or a publishing credential in a repository's GitHub Actions workflows, as far as the workflow files show them: repository settings and the code of the actions a step uses are outside what it reads (see Limitations). Untrusted input is text or code that anyone can supply: a pull request title, an issue body, a comment, a fork's branch name or code. A sink is what that input can reach: a secret, an OIDC token (id-token: write), a write permission of the workflow token, a deployment environment, or an AI agent action holding a credential.

These paths are used. In May 2026 a self-propagating worm in TanStack's workflows read an OIDC token from the GitHub Actions runner's memory and published 84 malicious versions of TanStack packages with it (postmortem). Researchers showed that text in issue bodies, pull request descriptions and comments can make an AI agent action leak its secrets (Microsoft) and that instructions hidden in an issue can make agents run commands (Cloud Security Alliance). trust-path shows where such paths exist, including paths that cross from one workflow to another through workflow_run and reusable workflows. It reports; it does not change workflows or decide what to do about a path.

zizmor and poutine check many more things. They report an untrusted input, a broad secret or a broad permission at the place in a file where it appears. trust-path adds four things: it pairs each source with the secret, permission or environment it reaches; it follows a source from one workflow to the next through workflow_run chains and local reusable workflows; it follows pull request code through the Actions cache to the release and push jobs that restore it, the path of the TanStack worm; and it treats AI agent actions as sinks. See Using it with other tools.

Requirements

  • Python 3.9 or later, standard library only.
  • Written for Linux, macOS and Windows. The tests have been run on macOS with Python 3.9 and 3.14; .github/workflows/test.yml runs them on all three systems with Python 3.9 and 3.13 where GitHub Actions is enabled.

Install

From PyPI:

pip install trust-path

From a clone:

git clone https://github.com/jacob-adm/trust-path
cd trust-path
pip install .

Either way pip installs trust-path as a console script. Without installing, it runs from a clone as python3 -m trust_path.

How it works

  1. Read the workflows. trust-path reads every .yml and .yaml file in DIR/.github/workflows with its own YAML reader, which refuses any construct it does not read rather than guess. A refused file is named on standard error with the reason, the other files are still checked, and the exit status is 2.
  2. Find untrusted runs. A workflow runs with untrusted input when it has a trigger such as pull_request_target, issues or issue_comment, when it runs on workflow_run after such a workflow or after a pull_request workflow (followed through chains), or when it is a local reusable workflow called from such a run.
  3. Find where input enters each job. A step enters untrusted input when it uses a context such as github.event.pull_request.title in run: or with: (directly, or through ${{ env.NAME }}, or by passing such a variable to eval or sh -c or writing it to GITHUB_ENV), checks out or fetches the pull request's head, downloads an artifact from the upstream run, expands the changed file names of a pull request, or is an AI agent action.
  4. Collect what it reaches. The entry step and every later step of the same job are reached. trust-path collects the secrets they use and the job's write permissions, id-token: write, environment and AI agent actions holding a credential.
  5. Print one record per path. Each record is source, workflow, job, step, sink and detail, tab-separated and sorted. Like grep, trust-path exits 1 when it finds a path, 0 when it finds none and 2 on an error, including any refused file.

Commands

trust-path [--json | --audit-json] DIR
trust-path [--json | --audit-json] --ref REF [DIR]

--json writes the records as a JSON array. --ref REF reads the workflows from git at a branch, tag or commit without checking it out; it is the only option that runs git. See Command for the fields and exit status.

Quick start

From a clone, run it on the test fixture with an AI agent action:

trust-path tests/fixtures/agent
issues:event text read by agent .github/workflows/triage.yml    triage  anthropics/claude-code-action@v1    agent:anthropics/claude-code-action gate=anyone; tools=action-default
issues:event text read by agent .github/workflows/triage.yml    triage  anthropics/claude-code-action@v1    permissions.issues:write    gate=anyone; tools=action-default
issues:event text read by agent .github/workflows/triage.yml    triage  anthropics/claude-code-action@v1    secrets.ANTHROPIC_API_KEY   gate=anyone; tools=action-default
issues:event text read by agent .github/workflows/triage.yml    triage  anthropics/claude-code-action@v1    secrets.GITHUB_TOKEN    gate=anyone; tools=action-default
issues:github.event.issue.body  .github/workflows/triage.yml    triage  anthropics/claude-code-action@v1    agent:anthropics/claude-code-action gate=anyone; tools=action-default
issues:github.event.issue.body  .github/workflows/triage.yml    triage  anthropics/claude-code-action@v1    permissions.issues:write    -
issues:github.event.issue.body  .github/workflows/triage.yml    triage  anthropics/claude-code-action@v1    secrets.ANTHROPIC_API_KEY   -
issues:github.event.issue.body  .github/workflows/triage.yml    triage  anthropics/claude-code-action@v1    secrets.GITHUB_TOKEN    -

The workflow runs when an issue is opened and gives anthropics/claude-code-action the issue body in its prompt, an API key and a token that can write issues. The last field shows how the workflow sets the agent up: gate=anyone because allowed_non_write_users is *, so the agent runs for users without write access, and tools=action-default because the workflow does not limit its tools. Anyone who can open an issue writes that text, and the agent acts on it while holding the key and can write text into issues that other workflows and agents read. Run trust-path . in a repository checkout to check its workflows.

Documentation

License

Apache License 2.0; see LICENSE.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases trust-path

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229