
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
logging-rate-limiter
Advanced tools
a simple logging filter which can be used to limit the amount of logs getting out from a system. It uses token bucket algorithm internally.
pip install logging_rate_limiter
tests/test_logging.py for a complete example"DEBUG": {
"tokens_per_sec": 1,
"starting_tokens": 1, # optional, default=0
"max_tokens_balance": 1 # optional, default=infinity
}
tokens_per_sec: the number of tokens(logs) which will be available for a given log levelstarting_tokens: the number of tokens already available at the start of the logging initialisationmax_tokens_balance: the maximum number of tokens that can be accumulated if the logs for a particular level are not being requested as much as the tokens_per_sec allowed. kind of limited burst balance.default key with this config.default is supplied and there is no config supplied for a requested log level then this requested log level will be checked against this default config. useful for scenario where you want an overall rate shared across multiple log levels.result_callback can be supplied which will be called everytime a log record goes through filter functionresult_callback must accept 2 params result which is a boolean telling whether the log record was filtered or not and record the original log record.FAQs
rate limiting filter for python logging module.
We found that logging-rate-limiter 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
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.