Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
fluent-plugin-num-comparison
Advanced tools
fluent-plugin-num-comparison is a fluent-plugin that compares the value of a specified key with a threshold value and extracts only the larger or smaller ones.
$ gem install fluent-plugin-num-comparison
Add following line to your Gemfile:
gem "fluent-plugin-num-comparison"
And then execute:
$ bundle
{"access_count": 29},
{"access_count": 30},
{"access_count": 31},
<source>
@type tail
path input.txt
pos_file input.pos
format json
tag test
</source>
<filter test>
@type num_comparison
record_key access_count
threshold 30
inequality larger
</filter>
<match test>
@type stdout
</match>
{"access_count": 30},
{"access_count": 31},
record_key: string
The key of the event record to be compared.
threshold: integer
The threshold value to compare with the event record.
inequality: string (larger
|| smaller
)
Decide whether to output a comparison object that is larger or smaller than the threshold.
The default value is larger
.
FAQs
Unknown package
We found that fluent-plugin-num-comparison 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.