
Research
/Security News
Malicious npm Packages Target WhatsApp Developers with Remote Kill Switch
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
⚠ This library is deprecated ⚠
The API endpoints currently living in elasticsearch-xpack
will be moved into elasticsearch-api
in version 8.0.0 and forward. You should be able to keep using elasticsearch-xpack
and the xpack
namespace in 7.x
. We're running the same tests in elasticsearch-xpack
, but if you encounter any problems, please let us know in this issue.
However, be aware in 8.0
, the xpack library and namespace won't be available anymore.
A Ruby integration for the X-Pack extension for Elasticsearch.
Install the package from Rubygems:
gem install elasticsearch-xpack
If you use the official Ruby client for Elasticsearch, require the library in your code, and all the methods will be automatically available in the xpack
namespace:
require 'elasticsearch'
require 'elasticsearch/xpack
client = Elasticsearch::Client.new(url: 'http://elastic:changeme@localhost:9200')
client.xpack.info
# => {"build"=> ..., "features"=> ...}
The integration is designed as a standalone Elasticsearch::XPack::API
module, so it's easy to mix it into a different client, and the methods will be available in the top namespace.
For documentation, look into the RDoc annotations in the source files, which contain links to the official X-Pack for the Elastic Stack documentation.
For examples, look into the examples
folder in this repository.
You can use the provided test:elasticsearch
Rake task to launch a Docker-based Elasticsearch node with the full X-Pack license preinstalled.
This software is licensed under the Apache 2 license.
FAQs
Unknown package
We found that elasticsearch-xpack 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
/Security News
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
Research
/Security News
Socket uncovered 11 malicious Go packages using obfuscated loaders to fetch and execute second-stage payloads via C2 domains.
Security News
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.