Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
github.com/cybozu-go/log
This is a logging framework mainly for our Go products.
Be warned that this is a framework rather than a library. Most features cannot be configured.
Light-weight.
Hard-coded maximum log buffer size and 1-pass formatters help cybozu-go/log be memory- and CPU- efficient.
Benchmark results show that it can format about 340K logs per second in JSON.
Built-in logfmt and JSON Lines formatters.
By default, logs are formatted in syslog-like plain text. logfmt and JSON Lines formatters can be used alternatively.
Automatic redirect for Go standard logs.
The framework automatically redirects Go standard logs to itself.
Reopen handler.
The framework comes with a handy writer that reopens the log file upon signal reception. Useful for work with log rotating programs.
Only for non-Windows systems.
Read the documentation.
Read SPEC.md.
FAQs
Unknown package
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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.