# dxa4481/Pastejacking

A demo of overriding what's in a person's clipboard

Repository: https://github.com/dxa4481/Pastejacking
Canonical: https://ross.abutalabs.com/products/pastejacking
Homepage: https://security.love/Pastejacking
Language: HTML
License: GPL-3.0
License Family: copyleft
Last push: 2024-01-02T02:48:28+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3761, "days_push": 974, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1437, forks 100 (observed 2026-08-28T04:04:43.821395+00:00)

## What it is
A proof-of-concept demo of pastejacking: using JavaScript to override a user's clipboard contents when they copy text from a webpage, tricking them into pasting malicious commands into their terminal. It demonstrates clipboard hijacking attacks across Chrome, Firefox, Safari, and Internet Explorer.

## Use cases
- demonstrate clipboard hijacking attacks
- test whether a browser is vulnerable to pastejacking
- educate users about copy-paste terminal attacks
- research clipboard override techniques via copy events
- show how hidden payloads can execute on paste
- raise awareness of phishing via innocent-looking commands

## When to choose
- you need a working demo of pastejacking for security training or awareness
- you are researching browser clipboard API attack vectors
- you want to test terminal paste safety practices

## When to avoid
- you need a production-ready security tool or mitigation library
- you want clipboard management utilities for legitimate apps
- you need a maintained, actively developed project

## Facets
- artifact type: application
- maturity: maintenance
- function: security, browser-extension
- domain: security, web-development, browser-extensions
- platform: browser
- tags: pastejacking, clipboard-hijacking, security-demo, proof-of-concept, social-engineering, web-server

## Member repositories
- dxa4481/Pastejacking (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:43.821395+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:36:43.890746+00:00, confidence not recorded.
  - readme: https://github.com/dxa4481/Pastejacking (fetched 2026-08-28T04:04:43.821395+00:00, sha 41d7b134a12c)
  - homepage: https://security.love/Pastejacking (fetched 2026-08-29T11:47:24.632662+00:00, sha a60750aea484)
- Data as of 2026-08-30T08:39:29.467469+00:00.
