Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
threading2: like the standard threading module, but awesomer.
This module is designed as a drop-in replacement and extension for the default "threading" module. It has two main objectives:
* implement primitives using native platform functionality where possible
* expose more sophisticated functionality where it can be done uniformly
The following extensions are currently implemented:
* ability to set (advisory) thread priority
* ability to set (advisory) CPU affinity at thread and process level
* thread groups for simultaneous management of multiple threads
* SHLock class for shared/exclusive (also known as read/write) locks
The following API niceties are also included:
* all blocking methods take a "timeout" argument and return a success code
* all exposed objects are actual classes and can be safely subclassed
This has currently only been tested on WinXP and Ubuntu Karmic; similar platforms should work OK, and other platforms should fall back to using sensible default behaviour, but I'm not making any guarantees at this stage.
Additional planned extensions include:
* make stack_size a kwarg when creating a thread
* native events, semaphores and timed waits on win32
* native conditions and timed waits on pthreads platforms
* native SHLock implementations (SRW on Win Vista+, pthread_rwlock)
FAQs
like the standard threading module, but awesomer
We found that threading2 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.