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.
@elastic/enterprise-search
Advanced tools
Official Node.js client for Elastic Enterprise Search, App Search, and Workplace Search.
Official Node.js client for Elastic Enterprise Search, App Search, and Workplace Search.
:information_source: Read the full documentation for this client at elastic.co.
npm install @elastic/enterprise-search
const { Client } = require('@elastic/enterprise-search')
const client = new Client({
url: 'http://localhost:3002',
// basic auth
auth: {
username: 'elastic',
password: 'changeme'
}
// bearer auth
auth: {
token: 'my-token'
}
})
// Enterprise Search API
const response = await client.enterprise.getHealth()
console.log(response)
// App Search API
const response = await client.app.search({
engine_name: 'games',
body: {
query: 'Pack-Man'
}
})
console.log(response)
// Workplace Search API
const response = await client.workplace.getDocument({
content_source_id: 'test',
document_id: 'id'
})
console.log(response)
This software is licensed under the Apache 2 license.
FAQs
Official Node.js client for Elastic Enterprise Search, App Search, and Workplace Search.
The npm package @elastic/enterprise-search receives a total of 5,874 weekly downloads. As such, @elastic/enterprise-search popularity was classified as popular.
We found that @elastic/enterprise-search demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 59 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.
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.