Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
🐙🖥️🐍➕👮🏻☃️🔧4️⃣👯♀️🫢📁(🚫🗃️)⏭️📋
(A mͫuͧltͭiͥplaͣtͭfoͦrͬmͫ python library and command line tool for copying 𝕬𝖈𝖙𝖚𝖆𝖑 𝕱𝖎𝖑𝖊𝖘 (ie, not their content) to the clipboard.)
OS | 🍎 | 🐧 | 🪟 |
---|---|---|---|
Integration available | ✅ | ✅ | ✅ |
Tested on device | ✅ | ✅ | 🙊[1] |
extra requirements | none | xclip | pwsh |
macOS and Linux are supported and tested; the latter via xclip
(apt-get install xclip
)
Windows should be supported (I can run it on mac Powershell via pwsh
), but I don't have a Windows machine to test it on.
Use pip, poetry, or your favorite python package manager to install the latest version of the clipboard maximiser: clipboard_maximizer
.
Install with pipx:
pipx install clipboard_maximizer
The script is available as climax
:
climax --help # show help
climax file1 [file2] # copy file1 and file2 to the clipboard
climax file1 --clipboard xclip # use a specific clipboard.
# xclip, powershell (custom script) and applescript
# are supported).
Install:
pip install clipboard_maximizer
Or, if you use poetry:
poetry add clipboard_maximizer
Use:
from clipboard_maximizer import copy_to_clipboard;
# copy file to clipboard
copy_to_clipboard("file1")
# use a specific clipboard (see above)
copy_to_clipboard("file1", clipboard="xclip")
poetry install
poetry run pytest
Contributions, in particular windows-related, are welcome.
If you plan to turn this into a full multiplatform clipboard manager, please fork the project and do so; I'll happily transfer the name to you.
License: MIT.
FAQs
Unknown package
We found that clipboard-maximizer demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.