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

tabby-drop-n-paste

Latest version: v0.1.0

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: dmarcelino
0 Stars
0 Forks
2 Versions
TypeScript Repo language

Scan summary

tabby-drop-n-paste was last scanned on 29 Nov 2026 at version 0.1.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 2 versions, all published on 29 Nov 2026.
  • Findings: No rules fired in version 0.1.0.

Versions

2 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.0 LATEST 29 Nov 2026 No rules fired
0.0.0-stage 29 Nov 2026 Not shown

No rules fired in 0.1.0

Findings

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

README

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

tabby-drop-n-paste

Paste or drag and drop files, folders and screenshots into remote TUIs (Claude Code, Codex, …) running over SSH in Tabby.

In an SSH tab, paste with any of Ctrl+V, Cmd+V, Ctrl+Shift+V, Shift+Insert, right-click or middle-click. If the clipboard holds

Clipboard Result
a screenshot / copied image (pixels) uploaded as clipboard.png
files or folders copied in the file manager, of any type uploaded unchanged with their original names; folders with everything inside; several items at once (Windows lists them via the built-in PowerShell)
text normal paste

everything is packed into one tar stream, sent over the tab's existing SSH connection (built-in SSH tabs: new exec channel, no extra login) and unpacked into a new folder per paste, ~/.cache/tabby-drop-n-paste/<YYYYMMDD-HHMMSS-pid>/, on the host (the folder can be changed in Settings), or, if you choose so, straight into the terminal's current folder. The absolute path of each pasted item is then typed at the cursor, followed by a space.

Nothing to install on the host: it only needs POSIX sh and tar (plus mkdir, date, chmod, find, mv, id). If tar is missing, the paste stops with tar not found on host before anything is sent, and the normal paste happens instead. No X11/Wayland needed.

Client side: Linux (X11/Wayland), macOS, Windows — local tabs and text pastes are untouched.

What gets uploaded

  • Names are kept exactly, including spaces, several dots, no extension or a leading dot. They travel inside the archive and never pass through a shell on the host. When two pasted items have the same name (copied from different folders; names are compared ignoring case, as a macOS host would), the later one becomes notes_2.txt, notes_3.txt, … (Makefile_2, .env_2, archive.tar_2.gz; no space or parenthesis is added, so the typed path stays one word at a shell prompt) The one exception to exact names: in the name of a pasted item itself, control characters (ESC, CR, …) and shell syntax ($ ` ; | & < > ( ) ' " \ !) become _, because that name is typed into the terminal, unquoted when the app or shell enabled bracketed paste (so Photo (1).png arrives as Photo _1_.png). Spaces are kept. Names inside pasted folders are untouched.
  • Folders are uploaded with all their files and subfolders; the path typed is the folder's. Symlinks inside a folder stay symlinks; a copied symlink is replaced by what it points to. Sockets, devices and FIFOs are skipped.
  • Limits: at most 100 MB and 1,000 files per paste, counting files inside folders. Above either, nothing is uploaded: an error notification names the limit and the normal paste happens.
  • Typed paths: when the app enabled bracketed paste (Claude Code, Codex, …) each path is sent as its own paste, exactly like drag-and-drop, so the TUI shows [Image #1] for images. Spaces and shell characters in it get a backslash, as terminals escape a dropped file (My\ Project/shot.png): bash also turns bracketed paste on at its prompt, and the terminal's current folder can have any name. Otherwise, at a shell prompt, the paths are typed as text, single-quoted when they contain spaces or other shell characters.

Drag and drop

Dropping files or folders onto an SSH tab (a built-in SSH tab, or a local tab running ssh, see below) uploads them the same way as a paste: one upload per drop, into a new folder ~/.cache/tabby-drop-n-paste/<YYYYMMDD-HHMMSS-pid>/ on the host (or under the upload folder set in Settings), or straight into the terminal's current folder when Dropped files go to says so, with the same names, limits, permissions and cleanup. The remote path of each dropped item is then typed in the tab you dropped on, even when it is not the focused pane of a split tab.

  • Overlay: while you drag files over a tab that can upload them, the tab says where a drop will go: Drop to upload to \ (the upload folder), Drop to copy into \ on \ (the terminal's current folder), or Drop to upload to \ (terminal's current folder unknown). The host is the profile's host for built-in SSH tabs and the ssh destination for local tabs. If the tab is still uploading an earlier paste or drop, it shows Upload in progress instead. Tabs that cannot upload show nothing.
  • Files without a local path, such as an image dragged from a web browser, are uploaded under the name they come with. If they have no name, they become dropped plus an extension for common image types (dropped.png).
  • Normal drop otherwise: on a tab that is not connected over SSH, and whenever an upload fails or is refused (no tar on the host, over a limit, connection error), Tabby's normal drop happens, typing the local paths. Failures also show an error notification (Drop failed: … or, over a limit, Drop refused: …).
  • One at a time: a drop onto a tab that is still uploading is ignored.
  • Dragged text and links are not uploaded; they reach Tabby unchanged.
  • Turning it off: with Dropped files go to set to Off in Settings, the plugin leaves every drop to Tabby, which types the local paths, and shows no overlay. Pasting still uploads.

Install

  1. In Tabby, open Settings → Plugins.
  2. Search for drop-n-paste. Tabby lists the plugin under that name, without the tabby- prefix.
  3. Click Install, then restart Tabby.

The first terminal tab you open then shows tabby-drop-n-paste \ is active. It works in Tabby's built-in SSH tabs and in local tabs where you run ssh (see below).

Tabby finds plugins through npm's search. A new release can take a while to appear in the list, until npm's search index includes it.

Upgrading from tabby-paste-plus (the earlier name): first delete node_modules/tabby-paste-plus from Tabby's plugin folder (Windows %APPDATA%\tabby\plugins, macOS ~/Library/Application Support/tabby/plugins, Linux ~/.config/tabby/plugins), or both plugins load and every paste is handled twice. You can also delete its old log files, ~/.tabby-paste-plus.log and ~/.tabby-paste-plus.log.old.

Install from source

Use this to run a build of this repo instead, for example to try unreleased changes. If you installed the plugin from Settings → Plugins, uninstall it there first: both ways use the same folder, plugins/node_modules/tabby-drop-n-paste.

Requires Node.js (22.18 or later to run the tests) and npm.

npm ci
npm run build

Link the repo into Tabby's user plugins folder as plugins/node_modules/tabby-drop-n-paste, then restart Tabby. Run the commands from the repo folder. The first command creates plugins/node_modules if Tabby hasn't created it yet, which happens when no plugin has been installed.

  • macOS:
    mkdir -p ~/Library/Application\ Support/tabby/plugins/node_modules
    ln -s "$PWD" ~/Library/Application\ Support/tabby/plugins/node_modules/tabby-drop-n-paste
  • Linux:
    mkdir -p ~/.config/tabby/plugins/node_modules
    ln -s "$PWD" ~/.config/tabby/plugins/node_modules/tabby-drop-n-paste
  • Windows (PowerShell):
    New-Item -ItemType Directory -Force -Path "$env:APPDATA\tabby\plugins\node_modules" | Out-Null
    New-Item -ItemType Junction -Path "$env:APPDATA\tabby\plugins\node_modules\tabby-drop-n-paste" -Target $PWD

After each npm run build, restart Tabby to load the new build. To go back to the released version, delete the link (this leaves the repo alone) and install from Settings → Plugins.

Local tabs running ssh

Built-in SSH tabs (and tomux tabs) are the main case: the plugin uses the tab's own connection and knows which server it talks to. Local tabs running ssh are supported on a best-effort basis: the plugin has to find the ssh process and start a second one, and some setups (a local tmux, password-only hosts, wrappers around ssh) don't work.

If you connect with the system ssh from a Tabby local shell (ssh myhost, aliases from ~/.ssh/config, jump hosts, keys in ssh-agent), the plugin finds the ssh process that the tab's shell is running, reuses its options and starts a second, non-interactive ssh (-T -o BatchMode=yes) to upload the paste. Therefore:

  • the host must be reachable without a prompt: key/agent auth, or ControlMaster/ControlPersist in ~/.ssh/config (password-only hosts fail with an error toast);
  • ssh must be started directly from the tab's shell (not inside a local tmux/screen). tmux on the remote host is fine;
  • if nothing is running ssh in the tab, pasting behaves exactly as before.

The terminal's current folder

Pastes and drops can go straight into the folder the shell on the server is in, next to your work, instead of a new subfolder of the upload folder. Choose Terminal's current folder for Pasted files go to and/or Dropped files go to in Settings. Files copied there are never removed by the cleanup.

The shell on the server must report its folder. The plugin reads it from the terminal output, per tab: OSC 1337;CurrentDir=<folder> (what Tabby's wiki adds to the prompt) and OSC 7;file://<host>/<path> (sent by some shells and shell integrations, such as VTE's; whether fish sends it in Tabby without setup is not verified yet). It never uses the folder of the local shell. If you set up the server from Tabby's wiki page Shell working directory reporting, there is nothing to do. Otherwise, for bash or zsh, add Tabby's line at the end of the startup file on the server:

# bash, in ~/.bash_profile
export PS1="$PS1\[\e]1337;CurrentDir="'$(pwd)\a\]'
# zsh, in ~/.zshrc
precmd () { echo -n "\x1b]1337;CurrentDir=$(pwd)\x07" }

The settings page shows the same lines while either dropdown is set to the terminal's current folder. For fish, a server with no ~/.bash_profile yet, how to check that the setup works, tmux and troubleshooting, see the setup guide. The folder is reported again with every prompt, so after cd the next prompt updates it.

  • Fallback: while the folder is unknown (the shell does not report it, or nothing has been reported since the tab connected or reconnected), or when the reported folder no longer exists or cannot be written on the server, the files go to a new subfolder of the upload folder as usual, in the same transfer. The notification then says Saved in the upload folder: … and why: The terminal's current folder is unknown: see Settings > Drop & Paste., \ does not exist on the server. or \ cannot be written on the server. The folder is never created.
  • Full-screen programs: opening vim, less, tmux or any other program that switches to the full screen makes the folder unknown until the next prompt.
  • tmux: nothing to set up. tmux on the server drops the shell's folder reports, so in a built-in SSH tab the plugin asks tmux itself, over the tab's connection, for the folder of the pane on screen in the tab's own tmux client. After you switch panes, the next paste or drop goes to the pane now shown. In some cases the folder stays unknown, such as while another tab is open to the same server as the same user, in a local tab running ssh, or with a tmux started with -L or -S: see tmux users. If you added the older _tabby_cwd function from an earlier version of this plugin, replace it with Tabby's line: the guide says why.
  • tomux: in tomux tabs (tmux control mode) the plugin asks tomux for the pane's folder. This works with no line on the server. A folder reported by the shell, such as with Tabby's wiki line, still comes first.
  • Nested ssh, su, containers: a shell reached through a nested ssh, su, sudo -s or docker exec reports its own folder, which may belong to another machine or user; the overlay and the notification always name the folder, so you can tell. In a local tab running ssh, only reports that arrive while that ssh runs are used for uploads over it, so a folder reported by the local shell (before ssh, or right after exit) is never used, even when the local shell has the same line. A report that names this computer is never used either.
  • Name clashes keep both: a pasted report.pdf next to an existing one arrives as report_2.pdf (then report_3.pdf, …), with the same rule as duplicates within one paste; a pasted folder assets next to an existing one arrives as assets_2 and is never merged. A broken symbolic link counts as taken. The typed path is the final one.
  • Permissions follow your umask on the server, like scp: with the usual umask 022 a 644 file stays 644 and a 755 script stays 755 (as root, group and other write are removed). While the transfer runs, the files sit in a private hidden folder .tabby-drop-n-paste-<token> inside the target folder and appear under their final names only once fully written; that folder is removed when the transfer ends, also when it fails.
  • A copy that fails partway: the items already copied stay in the folder, and the error notification names them (… (already in \: a.txt, b.txt)). The rest are removed with the hidden folder.
  • csh and tcsh: if your login shell on the server is csh or tcsh, a paste or drop fails with Event not found while the terminal's current folder (or the upload folder in Settings) has a ! in its name. csh treats ! as history even inside quotes.

Settings

Tabby → Settings → Drop & Paste, top to bottom:

  • Upload folder on the server: the folder on the server that each paste or drop gets its own subfolder in. Empty (the default, shown greyed out as ~/.cache/tabby-drop-n-paste) means ~/.cache/tabby-drop-n-paste; clearing the field goes back to it. ~ and ~/… mean your home folder on the server, and other relative paths start from the folder you log in to. The same path is used for every server, and missing folders are created. A path with control characters (a newline, a tab) or a backslash is refused with an error notification.
  • Pasted files go to: Upload folder (the default) or Terminal's current folder (see above). Choosing the terminal's current folder in either dropdown shows Tabby's shell lines and a link to its wiki page.
  • Dropped files go to: Upload folder (the default), Terminal's current folder, or Off. Off leaves drops to Tabby (it types the local paths) and shows no overlay; pasting still uploads.
  • Delete uploads after N days: paste and drop subfolders of the upload folder older than this are deleted on the next upload to that server. Empty (shown greyed out as 7) means 7 days; 0 means never; a value below 0 counts as 0, above 365 as 365, and a fraction is rounded up to the next whole day. Files copied into a terminal's current folder are never deleted.

Changes are saved at once and apply to the next paste, drag or drop, in tabs that are already open too.

Configuration

These are constants in the source; rebuild (npm run build) after changing them.

  • Path prefix: PATH_PREFIX in src/paste.ts (default ''). '@' only works as a file mention in Claude Code.
  • Limits per paste: MAX_PASTE_BYTES (default 100 MB) and MAX_PASTE_FILES (default 1,000) in src/archive.ts.

Development

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 tabby-drop-n-paste

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

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

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Frame 2085668439 (1)
Group 1261154229