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.
sentry-stack-checker
Advanced tools
Pylint plugin for finding logging calls inside exception handlers, and suggest they include exc_info=True
, or change extra={'stack': True}
to exc_info=True
to get the stack from the exception instead of the one from the log statement.
::
$ pip install sentry_stack_checker
::
$ pylint --load-plugins sentry_stack_checker <module> -E -d all -e R9501
$ pylint --load-plugins sentry_stack_checker <module> -E -d all -e R9502
The option report-loggers
can be provided to restrict the logging methods that are checked:
::
$ pylint --load-plugins sentry_stack_checker <module> --report-loggers=warning,error
FAQs
Pylint plugin for checking usage of log.exception
We found that sentry-stack-checker 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.