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

@narumitw/pi-sync

Latest version: v0.68.1

Overview

Last scanned
28 Nov 2026
Published
28 Nov 2026
npm package Publisher: narumitw
806 Stars
163 Forks
52 Versions
7.3K Downloads
TypeScript Repo language

Scan summary

@narumitw/pi-sync was last scanned on 28 Nov 2026 at version 0.68.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 52 versions; the latest 5 were published within 5 days (24–28 Nov 2026).
  • Findings: No rules fired in version 0.68.1.
  • Downloads: 7,273 downloads.

Versions

52 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.68.1 LATEST 28 Nov 2026 No rules fired
0.68.0 27 Nov 2026 No rules fired
0.67.3 26 Nov 2026 No rules fired
0.67.1 25 Nov 2026 Not shown
0.67.0 24 Nov 2026 Not shown

No rules fired in 0.68.1

Findings

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

README

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

☁️ pi-sync — Sync Pi Settings Across Machines

npm Pi extension License: MIT

Pi Sync synchronizes selected Pi settings and content across machines through Git, WebDAV, Cloudflare R2, or another S3-compatible store. Reusable storage connections hold credentials, while named sync setups define exactly what to sync, where to store it, and whether to sync automatically. Pi owns the interface; the separate @narumitw/pi-sync-daemon service owns execution.

Experimental daemon migration: close or upgrade older Pi processes and review ownership before real-data use. See migration and release restrictions.

✨ Features

  • Manages Git, WebDAV, Cloudflare R2, and general S3-compatible storage through /sync.
  • Separates reusable storage connections from named setups with exact reviewed remote paths.
  • Uses one ordered include list for Pi roots, safe agent-relative paths, and privacy-sensitive sessions, with optional path/glob exclusions.
  • Protects changes with immutable snapshots, secret scanning, locks, conflict checks, pull backups, transactional apply, and recovery journals.
  • Keeps snapshot selection portable and free of credentials.
  • Offers opt-in file and directory size limits for new local applies and remote publications.
  • Writes settings atomically, preserves unknown fields, rejects stale edits, and fails closed on unsafe configuration.
  • Offers an opt-in, one-shot startup transfer when the setup has an accepted baseline and no conflicts.
  • Shares one detached synchronization service across Pi clients, with a generated split UI client runtime.
  • Bundles an on-demand skill for configuration questions and authorized local settings edits.

📦 Install

Use Node.js 22.19.0 or later for the daemon, the same minimum as the standalone package. The Pi Sync npm package includes the daemon code; no separate daemon installation is needed. The daemon still runs as a separate process.

pi install npm:@narumitw/pi-sync

Try without installing permanently:

pi -e npm:@narumitw/pi-sync

Build and try a local checkout from the repository root:

npm install
npm --workspace @narumitw/pi-tui-kit run build
npm --workspace @narumitw/pi-sync-daemon run build
npm --workspace @narumitw/pi-sync run build
pi -e ./packages/pi-sync

Pi loads dist/index.ts from the package directory, so build Kit and complete the local daemon build before building Pi Sync. The runtime-only daemon output from Git installation preparation is not enough for this build.

Extensions run with Pi's permissions, so install only packages from sources you trust.

Update Pi Sync to get a newer bundled daemon; updating the standalone package does not change this copy. Revoke retained unattended permission before updating, then start Pi or use /reload. An older daemon that supports guarded upgrades is replaced only when no sync work is active. If the update is deferred, wait for the work to finish and use /reload again. Older builds without this check require a one-time manual restart. /sync daemon status compares the running and expected builds without starting or replacing a daemon.

Use a Pi runtime that satisfies this package’s declared peer floor. Installing an extension dependency does not upgrade a separately installed Pi runtime. The declared Kit floor supplies exact scrolling/paginated review and configured-keybinding support.

🚀 Quick start

Run /sync and choose Set up sync. Name the setup once; its first storage connection uses the same name. Input prompts show examples or an explicit default that you can accept by submitting an empty value; cancelling never accepts a default. Remote URLs, endpoints, usernames, and credentials require your own values, not the displayed examples. All new setups default to storage path ./: the Git repository root, the WebDAV collection URL, or the selected R2/S3 bucket root. Git also suggests branch main. Use different folders or prefixes for independent setups sharing a WebDAV collection or bucket; existing settings and paths are unchanged. If another configured setup already uses the chosen location, setup asks for a different path before the content selection and review; Git requires a different branch, even when the directory differs. New setups recommend Selected paths: choose the files and folders to sync. Agent directory can include eligible current and future files unless excluded. Sessions require a separate opt-in. Choose Join an existing remote to save with sessions and automatic sync off, then review its policy. Before saving, review the exact destination, scope and rules, automatic-sync choice, and hidden-credential summary. R2/S3 always asks for an existing bucket; an example bucket name is not a default.

Invalid fields ask for a correction without restarting setup. A temporary local save failure keeps the review for another Save; changed settings require reopening and reviewing the current values. Saving writes local settings and may create a starter rule file. It does not start a transfer or grant permission for one. A connection saved through Add a new storage connection… remains saved if you later cancel the setup.

Buckets and remote repositories must already exist. Git uses existing non-interactive SSH or credential-helper configuration and never stores Git credentials. It owns the entire selected branch: use an empty repository or a new branch if main already contains unrelated content. At ./, Git stores manifest.json and files/ at the repository root; it does not modify your local working tree. WebDAV and R2/S3 store latest.json, history.json, and snapshots/ directly under their selected root, not under a literal ./ prefix.

🧭 Manager, conflicts, and recovery

The /sync manager opens a searchable action palette in TUI mode, with up to five visible choices and help for only the selected action. The heading identifies the active setup without relying on the summary, which can be hidden in a short terminal. The summary uses local state without contacting remote storage and shows the configured storage path:

Manage sync · home
Storage: Cloudflare R2 · r2 · personal-pi · pi-sync/home
Remote status: Not checked
Last applied: Never synced

Use Sync… (Sync now in RPC) to merge both ways. Push to remote uses this device's version for managed files; Pull from remote uses the remote version. After initial daemon handover, each choice can replace or remove managed files at the destination without a second transfer confirmation. Push preserves the previous remote version in History; Pull creates a local backup before applying changes. History rollback still follows the current sync rules; see Recover excluded files from History for files those rules no longer select. Use View differences first if you want a preview. Selecting a direction does not authorize background transfers or model use. If a file-queue release cannot be confirmed, Pi Sync attempts recovery within the same action. It does not repeat a known commit or guess when the write outcome is unknown. Use the same Pull from remote action to review and continue a pending ignore-rule Pull. It uses the recorded snapshot, not the latest remote snapshot. See daemon recovery if it cannot recover the owner.

Type to filter actions; navigation scrolls the list. Settings, History, and Diagnostics remain directly available. Switching appears only when multiple valid setups exist; review and access-recovery actions appear when needed.

The summary distinguishes cached observations, recorded background state, and the last successful background transfer; none proves current remote equality. Missing or invalid background evidence is not shown as Waiting. Automatic-transfer permissions and possible AI costs remain visible when enabled; detailed preferences stay in Settings. Setup-specific actions stay bound to the displayed setup; if its configuration changes while the menu is open, review the refreshed setup before continuing. Choose Check remote status for a fresh check or View differences for file differences; /sync status, /sync diff, and /sync help remain available. Last applied shows a compact snapshot ID and states when application time is unavailable; History retains full IDs.

After Pi Sync detects an included-content mismatch, the manager shows Sync status: Review needed and puts Review synced content (recommended) first. Sync now remains unavailable until you review the mismatch. Opening the manager does not make another remote request. Settings opens Pi Sync Settings directly as one searchable list. It shows the content-policy controls for the current setup. Compare the remote path policy separately from file contents. Storage location edits only the current setup's bucket, branch, or path; it does not change the connection or included content. Manage sync setups and Manage storage connections open the existing catalogs. Connections hold reusable server addresses and sign-in details, and edits show every affected setup. Make another setup current before changing its preferences. Each description identifies the setup, device-wide, or shared-connection scope. Simple preferences report saving and durable save results; Back does not undo saved changes. Complex editors and risky changes retain their reviews. RPC reports the manual settings path and preserves catalog management without opening the TUI preference editor.

Diagnostics asks for confirmation before checking configuration and storage. /sync doctor remains the direct route. S3/R2 performs a read-only request: success does not prove write access or snapshot validity, and an ambiguous 404 does not prove a bucket is missing. Check the indicated credentials, address, bucket, or path before retrying. Git checks remote reads and the local cache, not write access. WebDAV uses an isolated write/cleanup probe and repairs the active snapshot's history entry if missing. History opens the snapshot list directly for reviewed rollback. Recorded unresolved groups have a separate Review unresolved conflicts action.

On secondary menus, Back and Escape return to the previous screen. In setup inputs and save reviews, cancellation (including Ctrl+C) discards the current unsaved draft and returns to its owning menu. Session replacement or shutdown closes the owning flow. Specialized operation and masked-credential prompts show the effective cancellation bindings and keep Ctrl+C as a hard-cancel input when Back is remapped. Other destructive, credential-bearing, and externally visible actions show previews and confirmations where applicable. Automatic transfers require their own authorization.

Review transfer changes

Unless another explicit transfer authorization applies, a merged Sync now transfer shows one confirmation with separate local and remote file changes, remote snapshot publication, session inclusion, and unresolved groups. No, cancel is initially selected in TUI mode. Up and Down select actions without scrolling the summary. If the summary does not fit, use Page Up and Page Down (or their configured selection-page bindings) to review it before confirming Yes. A terminal resize resets the review and selects No. Cancellation remains available throughout. This scrollable summary intentionally replaces Kit's clipped choice context, and the safe default differs from Pi's native Yes-first confirmation.

In TUI, select Yes from the first confirmation to proceed. View details is optional and shows the complete add/update/delete lists and unresolved paths. It cannot apply changes. Escape returns to confirmation with No selected; Ctrl+C cancels the whole TUI flow. RPC can show details in bounded pages and can require opening them first. RPC offers No first but the client controls visual selection, and protocol cancellation from details returns to confirmation. Session replacement or shutdown closes the flow; local files and remote state are rechecked before transfer.

Unresolved paths stay unchanged on each side. A backup and recovery journal protect the transfer; resources do not reload automatically. Remote snapshot publication is shown separately because it can occur without file-content changes. File lists on the main screen are shortened when needed; details retain every path. --yes does not bypass a required policy-transition review. Automatic transfers require their own authorization and a compatible policy. The direct /sync push and /sync pull routes retain their reviewed behavior and existing flags. Their TUI previews show directional add/update/remove counts and safety notes. Individual file paths are in View details, so a large file list does not delay confirmation. Loaded sessions are excluded from local change counts. Pull and rollback also list case-variant path cleanup; changed aliases invalidate approval. Push describes changes to the active immutable snapshot, not physical deletion of retained history. RPC and History rollback keep their existing confirmation protocols, with the complete directional summary. Local bytes, settings, baseline, and remote head are rechecked before applying a reviewed transfer.

Restore sync access

While an operation is running, the manager shows its command and process ID, disables sync and settings changes, and puts Refresh operation status first. When an active guard still protects lock metadata, the manager asks you to wait because another Pi Sync process may be starting or finishing. It never offers lock removal while an owner or guard may still be active.

If a stopped operation leaves its local lock behind, the manager shows Sync paused and puts Restore sync access… (recommended) first. Unreadable metadata receives a stronger warning because Pi Sync cannot verify its owner. Close every other Pi session that may still be syncing, review the local-lock-only confirmation, and choose Remove local lock and continue. Before removal, the guarded recovery path rechecks metadata and ownership.

Successful recovery changes no settings, local files, sync state, or remote data and returns to the normal manager. Cancellation leaves the lock unchanged. If ownership changes or a guard is still expiring, Pi Sync refuses removal and keeps refresh or retry available. After the same no-other-sync verification, /sync unlock --stale provides a deterministic fallback.

Resolve conflicts in the manager

Sync now merges independent file additions, edits, and deletions against an established baseline. Equal concurrent edits are accepted. With the settings field merge opt-in enabled, supported settings.json fields can also merge using a verified accepted ancestor; arrays, nested objects and coupled fields remain atomic. Other divergent file edits, delete/modify conflicts, protected-session changes, selection changes, and case/file-directory collisions still require review; one unresolved path stops the entire merged transfer unless partial sync is explicitly enabled. Explicit push and pull remain directional.

When Sync now requires a direction choice, the manager opens Resolve sync conflict. The flow names the current setup and explains whether local content, remote content, or the included-content policy changed.

An explicit remote content-list mismatch opens Synced content differs in the same manager flow. Nothing changes until you choose an action. Choose Review all paths (recommended) first to compare exact remote-only paths, device-only paths, and both ordered lists. If membership matches but order differs, the review says that only ordering differs. Then choose one action:

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 @narumitw/pi-sync

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

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Frame 2085668439 (1)
Group 1261154229