
Research
npm Malware Targets Telegram Bot Developers with Persistent SSH Backdoors
Malicious npm packages posing as Telegram bot libraries install SSH backdoors and exfiltrate data from Linux developer machines.
elasticsearch-query-to-json
Advanced tools
cli tool to fetch all documents from elasticsearch by query.
cli tool to fetch all documents from elasticsearch by query.
$ elasticsearch-query-to-json -h "$ELASTIC_HOST" -i "$ELASTIC_INDEX" -b "$QUERY" -o output.json
--host
(-h
) host eg. http://elasticsearch.co:9200--index
(-i
) index--body
(-b
) query body - some examples below--output
(-o
) output file - leave empty to write results to stdout--scroll
specify how long a consistent view of the index should be maintained for scrolled search - default 1m
--size
- number of hits to return at once - default 1000
--body
timestamp
field'{"query":{"range":{"timestamp":{"gte":"now-1d/d","lt": "now/d"}}}}'
ip
field equals "127.0.0.1"{"query":{"bool":{"must":[{"match_phrase":{"ip":{"query":"127.0.0.1"}}}]}}}
FAQs
cli tool to fetch all documents from elasticsearch by query.
We found that elasticsearch-query-to-json 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
Malicious npm packages posing as Telegram bot libraries install SSH backdoors and exfiltrate data from Linux developer machines.
Security News
pip, PDM, pip-audit, and the packaging library are already adding support for Python’s new lock file format.
Product
Socket's Go support is now generally available, bringing automatic scanning and deep code analysis to all users with Go projects.