
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Pcodec is a codec for numerical sequences. Example usage:
>>> from pcodec import standalone, ChunkConfig
>>> import numpy as np
>>>
>>> np.random.seed(0)
>>> nums = np.random.normal(size=1000000)
>>>
>>> # compress
>>> compressed = standalone.simple_compress(nums, ChunkConfig())
>>> print(f'compressed to {len(compressed)} bytes')
compressed to 6946278 bytes
>>>
>>> # decompress
>>> recovered = standalone.simple_decompress(compressed)
>>>
>>> np.testing.assert_array_equal(recovered, nums)
For pcodec's uses, design, and benchmarks, see the main repo.
Documentation is served on readthedocs. It's sometimes incomplete, but the types and functions largely mirror those of the better-documented Rust API.
FAQs
Good compression for numerical sequences
We found that pcodec 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.