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

@leitwerk-dev/pi-session-transfer

Latest version: v0.5.15

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: drieks, jonas.vonandrian
2 Stars
0 Forks
24 Versions
2.3K Downloads
TypeScript Repo language

Scan summary

@leitwerk-dev/pi-session-transfer was last scanned on 29 Nov 2026 at version 0.5.15. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 24 versions; the latest 5 were published within 2 days (28 and 29 Nov 2026).
  • Findings: No rules fired in version 0.5.15.
  • Downloads: 2,271 downloads.

Versions

24 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.5.15 LATEST 29 Nov 2026 No rules fired
0.5.14 28 Nov 2026 No rules fired
0.5.13 28 Nov 2026 No rules fired
0.5.12 28 Nov 2026 Not shown
0.5.11 28 Nov 2026 Not shown

No rules fired in 0.5.15

Findings

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

README

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

Pi session transfer for Leitwerk

Copy a retained Leitwerk process workspace and its primary Pi conversation into local Pi. The import keeps the conversation tree and workspace files. Future turns use the local Pi installation's models, credentials, extensions, skills, and tools.

Install

pi install npm:@leitwerk-dev/pi-session-transfer

Update or remove it through Pi:

pi update npm:@leitwerk-dev/pi-session-transfer
pi remove npm:@leitwerk-dev/pi-session-transfer

Use

Create a link from More actions → Create local transfer link in Leitwerk. Then run in interactive Pi:

/leitwerk-transfer https://leitwerk.example/api/session-transfers/agt_…/trg_…#token=…

With no argument, the command asks for the link. It defaults the new destination to <current-directory>/<process-instance-id>. The destination must not exist. After validation, Pi reserves it exclusively; a directory created there during the transfer is preserved and the import fails.

The link is a bearer credential. Do not paste it into logs, tickets, or chat. Confirm the exact Leitwerk origin shown by Pi before claiming it. A transfer must start within one hour. Press Esc before the final local commit to cancel; the link can be explicitly retried while its grant remains valid. Pi waits for cancellation cleanup before closing the progress view.

What is copied

The transfer contains:

  • the complete portable process workspace, including nested Git directories, index and dirty state, untracked and ignored files, executable bits, timestamps, and safe relative symlinks;
  • the primary Pi JSONL conversation tree.

The transfer excludes Pi agent state, provider and repository credentials, dependency and mise caches outside the workspace, private Docker state, temporary process state, and all unrelated process-volume paths. Ownership, ACLs, extended attributes, devices, sockets, FIFOs, and hard-link identity are not preserved.

The importer accepts Pi session format V3 only. It verifies the compressed stream digest and byte count, validates Git branch and HEAD evidence, rewrites only the session cwd, removes source parentSession metadata, places the validated JSONL in Pi's normal session store without running Pi migration code, and then offers to switch to it.

Each import uses one mode-0600 recovery record. Verified entries move into the owned destination before the local session is written. The record then transitions atomically from temporary import state to a token-free completion receipt. Pi removes only stale incomplete paths that still carry the matching ownership marker. Completed records let acknowledgement and session switching be retried safely. A pending acknowledgement does not prevent opening the completed local session; use the same link to retry acknowledgement without copying again. An incomplete recovery record is retained if cleanup fails and cannot be overwritten by another import of the same link.

V1 supports interactive TUI mode only.

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 @leitwerk-dev/pi-session-transfer

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

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

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Frame 2085668439 (1)
Group 1261154229