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.
gopkg.in/xlab/clipboard.v2
Uses Qt's facilities to store or load text in/out of the clipboard. This branch utilizes qml.Common
to make calls to QClipboard wrapper. This way is a little slower (than master), but code is much cleaner and tends to be safer.
See the requirements of go-qml. If they're met and PKG_CONFIG_PATH
is set:
$ go get gopkg.in/xlab/clipboard.v2
This clipboard package can be used on all platforms that are supported by go-qml. Requires installed gopkg.in/qml.v1
package (N.B. clipboard.v1
depends on qml.v0
respectively).
The package atotto/clipboard might be incompatible with go-qml machinery, see progress on Issue #26.
This package utilizes CGO and qml.Common
in order to use QApplication::clipboard
. Also the benchmarks are better:
BenchmarkReadAll 200000 9770 ns/op
BenchmarkWriteAll 10000 185354 ns/op
ok github.com/xlab/clipboard.v2 5.079s
BenchmarkReadAll 100 20067708 ns/op
BenchmarkWriteAll 100 19592142 ns/op
ok github.com/atotto/clipboard 4.119s
License is MIT.
FAQs
Unknown package
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.