
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
logstash-codec-bytes
Advanced tools
Logstash codec plugin to chunk an input into an event every specified number of bytes.
This is a plugin for Logstash.
It is fully free and fully open source. The license is MIT, meaning you are pretty much free to use it however you want in whatever way.
To get started, you'll need JRuby with the Bundler gem installed.
Install dependencies
bundle install
$ bundle install
$ bundle exec rspec
bin/logstash-plugin install logstash-codec-bytes
bin/logstash -e 'input { file { path => "/path/to/file" delimiter => "" codec => bytes { length => X } } }'
where length X is the number of bytes you want to read before emitting an event.
Note: we recommend sending smaller, more frequent events into the bytes codec for the best performance. With the file input plugin above, we set the delimiter to "" because otherwise it defaults to emitting an event every \n character. If a file were only one line, the entire file would be fed into the bytes codec, leading to reduced performance.
Make sure you have JRuby and Bundler installed. Copy and paste the following commands in your projects directory.
git clone https://github.com/lob/logstash-codec-bytes.git
cd logstash-codec-bytes
bundle install
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)=======================
Copyright © 2016 Lob.com
Released under the MIT License, which can be found in the repository in LICENSE
.
FAQs
Unknown package
We found that logstash-codec-bytes demonstrated a not healthy version release cadence and project activity because the last version was released 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.