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

@einsia/agent-git

Latest version: v0.2.64

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
npm package Publisher: forever_nana, tibo92021
414 Stars
37 Forks
63 Versions
8.7K Downloads
Rust Repo language

Scan summary

@einsia/agent-git was last scanned on 28 Nov 2026 at version 0.2.64. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 63 versions; the latest 5 were published within 3 days (26–28 Nov 2026).
  • Findings: No rules fired in version 0.2.64.
  • Downloads: 8,690 downloads.

Versions

63 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.2.64 LATEST 28 Nov 2026 No rules fired
0.2.63 27 Nov 2026 No rules fired
0.2.61 27 Nov 2026 No rules fired
0.2.60 26 Nov 2026 Not shown
0.2.59 26 Nov 2026 Not shown

No rules fired in 0.2.64

Findings

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

README

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

agit

License: MIT Built with Rust

Lossless version control for every agent session: publishable, resumable. Works with Claude Code, Codex, OpenCode, and Cursor.

On disk, sessions are just JSONL files that get overwritten, compacted, and cleaned up at any moment. agit puts snapshots and versions on top of them, so "that conversation last Wednesday that finally cracked the bug" becomes something you can find, continue, and hand to a teammate.

agit                              choose a session to continue
agit new                          choose a repo and name a fresh conversation
agit import                       choose an existing runtime conversation to adopt
agit log                          choose a session and browse its history
agit push                         choose a saved session to publish
agit share                        choose a session and review link settings
agit run owner/repo@ref           open a saved source, forking when needed

These bare commands open their interfaces in a human terminal. agit resume continues the same session and never forks; agit run can start a new writable session from a tag, historical point or another author's source.

Inside an adopted agent session, agit commit saves completed turns and agit push publishes that session. For scripts, pass the target explicitly, for example agit push owner/repo@branch --json. Directory branch pins do not choose targets for commit, push or share.

On user-facing startup, agit checks for a newer release at most once a day and prints a reminder to stderr; it never upgrades automatically. JSON/quiet/CI and internal hook/MCP paths skip this reminder.

Adopting and recording the first version are one command — the in-between state ("linked, but unversioned") means nothing to anyone. To mark a session without versioning it (e.g. offline), pass --link-only.

Use a full native session ID and an explicit runtime and destination for lineage discovery. The terminal offers verified local bases, independent import, or cancellation. Noninteractive calls return choices without writing; pass --onto <ref> or --independent to select a path. --propose-lineage prints a read-only report without adopting the session. Inspecting lineage in an existing repository requires NUL-framed Git worktree output, normally available in Git 2.36 or newer. An unsupported Git reports git_worktree_format; explicit --onto, --independent, and --link-only imports retain their ordinary checks.

agit clone fetches repository history locally. Use agit run or agit resume to start a runtime. A clone is read-only by default on the Hub: nothing is created in your name and origin points at the source. agit clone --mine creates your copy, repoints origin and remembers the source as upstream.

The full command list is in agit --help.

Install

Users: npm
npx -y create-agit@latest          # one-shot: installs agit + wires skills/hooks/MCP
# or as a global package:
npm install -g @einsia/agent-git --allow-scripts=@einsia/agent-git
agit --version

Both routes install a prebuilt binary — no Rust toolchain required. npm picks the platform sub-package matching your os/cpu; on platforms with no prebuilt binary (e.g. FreeBSD) running agit prints the source-build recipe. Details and environment variables: npm/README.md.

Windows x64 packages include the native peer RC daemon. On Windows, Linux and macOS, run agit login followed by agit rc start --detach to register the device and allow your own account to control it from Workspaces. Windows owner RPC uses a local named pipe restricted to the current user. RC state requires a private, user-owned directory.

The global package wires skills, hooks and MCP from its install script. npm 12 and later skip an install script that has not been allowed, which is what --allow-scripts above is for; an organization policy (strict-allow-scripts, ignore-scripts) can block or skip it too. Under pnpm (pnpm add -g @einsia/agent-git) the install script configures nothing. If the install script did not run, run agit setup once yourself. It sets up the runtimes installed at the time, so run it again after installing another.

Setup lists the hook configuration files, events and purposes it installs. See hook installation and controls for installation timing, inspection and the different scopes of pausing capture, stopping automatic saving and disabling a runtime hook.

The Linux artifact is musl static-linked, so no minimum glibc — the release pipeline runs every Linux binary inside an Alpine / Amazon Linux / Debian / Ubuntu container matrix before publishing.

Prebuilt binaries include Git and Git LFS, extracted into a private cache on first use. Your shell PATH and global Git configuration stay unchanged. Source builds use system Git; AGIT_USE_SYSTEM_GIT=1 selects it in a prebuilt binary too. See runtime configuration and source prerequisites.

Do not install @einsia/agentgit (no hyphen) — that is the pre-rewrite CLI; its protocol does not match this branch and it will not work.

Contributors / eager users: from source
git clone https://github.com/Einsia/agent-git
cd agent-git
./setup.sh

setup.sh checks the toolchain (rustc, a C compiler), builds, and installs the binary to ~/.local/bin/agit. Common flags:

./setup.sh --debug      # no LTO, much faster while hacking
./setup.sh --test       # run cargo test --lib before installing
./setup.sh --help

To build a binary whose built-in hub is the development deployment, set the build-time default explicitly. Runtime AGIT_HUB_URL and agit config hub.url ... still take precedence:

AGIT_DEFAULT_HUB_URL=https://dev.agent-git.com cargo build --release --locked

Internal GitLab pipelines package commit-addressed dev builds with this setting embedded. Their agit --version output includes the channel and source commit, and agit upgrade is disabled for them so an acceptance-test binary cannot silently turn into the public release. Only an existing GitHub agit-v* tag produces the prod channel. The tag push runs the Release workflow automatically; operators may also select the same reviewed tag through the workflow's manual production input to retry a failed release without creating a different artifact identity.

Requires rustc >= 1.88 and a C compiler (rusqlite uses the bundled feature, so sqlite's C sources are compiled during the build). The reason for the toolchain floor is in docs/01_setup.md.

Both paths install the same binary. npm is for "users who don't want to touch Rust"; setup.sh is for "people changing the code" and "people running unreleased versions".

Docs

Goal Where
Build, run the backend, sign in, debug docs/01_setup.md
How sessions are stored locally docs/02_session_store.md
The terminal interface for humans docs/07_tui.md
Login / token mechanics docs/commands/auth.md
Local low-entropy secret filtering docs/05_global_secret_filter.md
Reversible repository secret placeholders docs/06_repository_secret_dictionary.md
Probed storage formats of each runtime docs/mechanism-probing/
npm package behavior and env vars npm/README.md
Release artifact naming contract .github/RELEASE_ARTIFACTS.md
What changed in each release CHANGELOG.md

The server (AgentGit) is a separate repository, deployed on its own.

Release

Cargo.toml is the single source of the version; every npm manifest must agree with it (node scripts/check-version.js — run in CI and before npm pack). To move the version, change every spot in one shot:

node scripts/bump-version.mjs 0.1.0    # Cargo.toml + Cargo.lock + all npm manifests

Release notes live in CHANGELOG.md, and they come first: write the version's ## [x.y.z] section, then bump. bump-version.mjs refuses to touch a file for a version that has no section, and check-version.js refuses one in CI and before npm pack. The section becomes the GitHub Release body (scripts/release-notes.mjs extracts it in release.yml, with repository-relative links pinned to the release tag) and ships inside the @einsia/agent-git package.

Only the release branch (release/<version>) edits CHANGELOG.md. Every other merge request puts one line per user-visible change in its description, or Changelog: none:

Changelog: Added|Changed|Fixed|Security: <one sentence for users>

The release branch collects those lines into the version's section. CI's changelog:released fails any other merge request that changes the file: a line it adds under ## [Unreleased] can merge into a released section without a conflict.

After the release merge request passes CI and review, merge it cleanly into GitLab main with the standard Merge branch 'release/<version>' into 'main' title. After the release commit's required jobs succeed, release:github-tag runs automatically. The tag job requires that commit's Linux, macOS and Windows builds and its verified source-to-mirror receipt. It creates agit-v<version> on the recorded public projection, even if a later commit has advanced either main branch. It never substitutes a newer branch tip. Release tags are immutable.

mirror:github does not wait for the Windows build; the release tag job does. The GitHub Release workflow builds and checks Windows again before npm publication.

The mirror rewrites commit IDs, so the source SHA is not the release SHA. Do not push release tags directly to GitHub. The CI-created tag starts the GitHub Release workflow, which builds and checks the binaries of every target, Windows included, and then triggers npm publication.

Distribution to users runs through the npm registry: each target ships as a platform sub-package (@einsia/agent-git-linux-x64 and friends, gated by os/cpu — npm installs only the matching one), and the main @einsia/agent-git pulls them in via optionalDependencies. The GitHub Release holds the canonical tarballs plus SHA256SUMS (contract).

Publishing to npm is the npm publish workflow. It runs automatically once the Release workflow finishes green (and can be dispatched manually — Actions → npm publish — for retries, next dist-tag trials, or a dry_run). It publishes the whole family in dependency order — platform packages → @einsia/agent-git → create-agit — with a real global install of the main tarball as a preflight in between, authenticating via npm trusted publishing (OIDC, no stored token). The equivalent local fallback:

gh release download agit-v0.1.0 -p 'agit-*.tar.gz' -D /tmp/agit-dist
node npm/publish.mjs /tmp/agit-dist        # platform packages → main → create-agit

npm/create-agit/ is the one-shot installer behind npx -y create-agit@latest — it depends on the main package and turns the npx cache copy into a durable ~/.local/bin/agit, then wires skills/hooks/MCP via agit setup. There is deliberately no unscoped alias package: agit on npm belongs to an unrelated project, and npm's typosquat rule blocks agent-git for being one punctuation mark away from a third party's agentgit.

The version oracle (GET /api/cli/version on the hub) and agit upgrade both read the npm registry; integrity verification uses the registry's SRI (sha512). Self-hosted hubs that pin an internal fork set AGIT_BACKEND_CLI_REPO and the whole chain reverts to the GitHub path.

@einsia/agent-git is a fresh package name with no existing users, so the first release goes straight to latest — no need to hide in next first. (The old @einsia/agentgit stays put; it points at the pre-rewrite CLI.)

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).

  • npm @einsia/agent-git

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

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Frame 2085668439 (1)
Group 1261154229