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

tai42-storage-github

Latest version: v4.0.9

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
PyPI package Publisher: tai42
1 Stars
2 Forks
32 Versions
3.1K Downloads
Python Repo language

Scan summary

tai42-storage-github was last scanned on 23 Nov 2026 at version 4.0.9. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 32 versions; the latest 3 were published within 6 days (18–23 Nov 2026).
  • Findings: No rules fired in version 4.0.9.
  • Downloads: 3,084 downloads.

Versions

32 versions published
Versions and the rules that fired in each
VersionPublishedStatus
4.0.9 LATEST 23 Nov 2026 No rules fired
4.0.8 23 Nov 2026 No rules fired
4.0.7 18 Nov 2026 No rules fired
4.0.6 16 Nov 2026 Not shown
4.0.5 12 Nov 2026 Not shown

No rules fired in 4.0.9

Findings

Findings for v4.0.9. 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 4.0.9; other versions have their own rules, not their own score.

README

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

tai42-storage-github

License: Apache 2.0

A GitHub-backed Storage provider for the TAI ecosystem. It stores content as files in a GitHub repository and serves the full tai42_contract.storage.Storage surface — the text methods (load / list / upload / delete / delete_dir) plus the metadata read stat, the bounded read load_range and the binary methods (load_bytes / upload_bytes / load_object).

The TAI ecosystem

TAI is an open-source runtime for MCP tools, agents, and workflows. A Storage backend is "where content physically lives" — a pluggable provider the runtime's ResourceManager loads and renders content over. This package is one such provider (GitHub); siblings back the same contract with S3 (tai42-storage-s3) and the local filesystem (tai42-storage-local). The ecosystem is open-ended: any package can back the same contract, so this repo is this provider's own full doc home, and the documentation site covers the platform-level story:

Install

Requires Python 3.13+. Install from PyPI into the environment that runs the server:

uv add tai42-storage-github

Or from source — clone this repo and add it as an editable dependency; the tai42-* dependencies resolve in-tree from the workspace.

git clone https://github.com/tai42ai/tai42   # next to your app checkout
cd /path/to/your/app
uv add --editable ../tai42/plugins/storage-github

Use

The backend is loaded by import side-effect: importing the tai42_storage_github package runs its @tai42_app.storage.register_storage decorator, making GithubStorage the active storage provider. Point a manifest's storage_module at the package:

# manifest.yml
storage_module: tai42_storage_github

Configuration

Configure through STORAGE_GITHUB_-prefixed environment variables:

Variable Default Description
STORAGE_GITHUB_USERNAME — Repository owner (user or org).
STORAGE_GITHUB_REPO — Repository name.
STORAGE_GITHUB_BRANCH main Branch to read/write.
STORAGE_GITHUB_TOKEN — Access token; omit for a public repository.
STORAGE_GITHUB_TIMEOUT_TOTAL 15.0 HTTP timeout (seconds).
STORAGE_GITHUB_MAX_CONNECTIONS 200 Connection-pool ceiling.
STORAGE_GITHUB_MAX_KEEPALIVE_CONNECTIONS 50 Keep-alive pool size.
STORAGE_GITHUB_KEEPALIVE_EXPIRY 300.0 Keep-alive expiry (seconds).

The token is held as a SecretStr; it authenticates requests but never appears in a log line, repr, or error message.

Reads and writes

  • Reads (load, load_bytes, load_object) are one Contents API call each at the configured branch, asking for the raw form (Accept: application/vnd.github.raw+json), which serves every byte of a file of any size. A directory answers its JSON listing and reads as FileNotFoundError. load_object infers the content type from the path suffix, as stat does.
  • Ranged reads (load_range) resolve the branch's head commit through the Git refs API, then read raw.githubusercontent.com at that commit with a Range header and Accept-Encoding: identity (the raw host compresses, and a compressed answer ranges over the encoded bytes): two calls, one of them REST. Reading at the commit, never at the branch name, means a ranged read answers the branch's current bytes, not a cached copy. An answer that ignores the range or is still encoded raises; there is no whole-object read in its place. A zero-length range sends no request.
  • Rate limit: GitHub allows 60 REST calls an hour without a token and 5000 with one; stat, load and load_bytes cost one REST call each and load_range one.
  • Writes (upload, upload_bytes) go through the Contents API (base64) and are capped conservatively at 1 MiB. A larger payload raises ValueError before the request rather than truncating; the API's own 422 is the backstop.
  • Listing uses the recursive Git Trees API (one request) and raises loudly on a truncated response rather than acting on a partial listing. list(directory) reads the tree of that directory alone (<branch>:<directory>), so it grows with the directory, not the repository; a directory that does not exist answers [] once the branch is confirmed to exist. delete_dir lists the directory the same way.
  • stat is one Contents API call asking for the object form (Accept: application/vnd.github.object+json): it answers the file's size, and infers content_type from the path suffix — GitHub stores no per-object content-type. A missing path and a directory raise FileNotFoundError.

Development

uv venv --python 3.13
uv pip install --no-sources --group dev --editable .
uv run --no-sync pytest --cov --cov-report=term-missing
uv run --no-sync ruff check .
uv run --no-sync ruff format --check .
uv run --no-sync pyright

License

Apache-2.0. See LICENSE and NOTICE.

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 tai42-storage-github

References

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

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

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

Frame 2085668439 (1)
Group 1261154229