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.
This is a PEP 561
type stub package for the mock
package.
It can be used by type-checking tools like
mypy,
pyright,
pytype,
PyCharm, etc. to check code that uses
mock
.
This version of types-mock
aims to provide accurate annotations
for mock==5.1.*
.
The source for this package can be found at
https://github.com/python/typeshed/tree/main/stubs/mock. All fixes for
types and metadata should be contributed there.
See https://github.com/python/typeshed/blob/main/README.md for more details.
This package was generated from typeshed commit 273e9ea6ddc2d5cad2db7dd25a0383a61be15675
and was tested
with mypy 1.10.0, pyright 1.1.360, and
pytype 2024.4.11.
FAQs
Typing stubs for mock
We found that types-mock 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.