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.
pino-postgres
Advanced tools
Pino transport for Postgres
$ npm install pino-postgres
# or
$ yarn add pino-postgres
Usage: pino-postgres [options]
Options:
-V, --version output the version number
--connection <connection> postgres connection string
--table <name> table name (default: "logs")
--schema <name> schema name (default: "public")
--column <name> column name (default: "content")
--flush-interval <number> interval at which logs are flushed in ms (default: 5000)
--buffer-size <number> max number of log entries in buffer (default: 1000)
--max-connections <number> max number of connections (default: 3)
--ssl use ssl (default: false)
--debug debug postgres client (default: false)
--pass-through pass logs through (default: false)
--wrap-non-json wrap non-json messages as json (default: false)
-h, --help display help for command
node app.js | pino-postgres --connection postgres://username:password@localhost:5432/database
pino-postgres does not create the necessary database table, make sure the table with jsonb column exists.
Contributions, issues and feature requests are welcome!
Copyright © 2020 Aldis Ameriks.
This project is MIT licensed.
FAQs
Pino transport for Postgres
The npm package pino-postgres receives a total of 9 weekly downloads. As such, pino-postgres popularity was classified as not popular.
We found that pino-postgres 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
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.