
Research
PyPI Package Disguised as Instagram Growth Tool Harvests User Credentials
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
log4js-logstash-tcp
Advanced tools
This is a copy of the logstashUDP appender but instead sending via UDP send via TCP to avoid the maximum 64k bytes message size with the logstashUDP appender.
This is a copy of the logstashUDP appender but instead sending via UDP send via TCP to avoid the maximum 64k bytes message size with the logstashUDP appender
You can install log4js-logstash-tcp by adding this .git url to your package.json or do a npm install log4js-logstash-tcp
In the "input" part of the logstash server conf :
input {
tcp {
codec => "json"
port => 5050
type => "tcp-input"
}
}
Plain javascript
var log4js = require('log4js');
log4js.configure({
"appenders": [
{
"category": "tests",
"type": "log4js-logstash-tcp",
"host": "localhost",
"port": 5050,
"fields": {
"instance": "MyAwsInstance",
"source": "myApp",
"environment": "development"
}
},
{
"category": "tests",
"type": "console"
}
],
"levels": {
"tests": "DEBUG"
}
});
var log = log4js.getLogger('tests');
// adding context and add it as additional field to each log entry
log.addContext('customer', {id: 123, name: 'John Doe'});
log.error('hello hello');
FAQs
This is a copy of the logstashUDP appender but instead sending via UDP send via TCP to avoid the maximum 64k bytes message size with the logstashUDP appender.
The npm package log4js-logstash-tcp receives a total of 2,526 weekly downloads. As such, log4js-logstash-tcp popularity was classified as popular.
We found that log4js-logstash-tcp demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.