
Research
NPM targeted by malware campaign mimicking familiar library names
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.
Alkampfer.KernelMemory.ElasticSearch
Advanced tools
ElasticSearch connector for Kernel Memory implements the IDbMemory interface.
In this project there is an opinionated implementation of IMemoryDb for Microsoft Kernel Memory based on the latest version of ElasticSearch >=8.13. This implementation was tested only on the latest version of ES 8, and it is not meant to work with older version.
This library implements only the Memory DB part, so you still need to configure a different database for Binary Storage in Kernel Memory.
Package is published in Nuget Alkampfer.KernelMemory.ElasticSearch
This implementation uses dynamic template mapping so we do not need to do nested object mapping, this was done to have a better schema of the object and a real simple way to query the data.
Kernel memory uses only tags to filter results, and the MemoryRecord has payload dictionary that contains non searchable fields. Actually this implementation was created to allow mixing vector search and BM25 search, so you have a special property called IndexablePayloadProperties in the configuration that allows you to specify which payload you want to be indexed and searchable.
You can use that kind of functionality with custom code like that one in Kernel Memory Extensions
You can run on local machine, run with docker or use an instance on the cloud. Check documentation at https://www.elastic.co/
At the date of today the latest version that you can download is used, no work has been done to check compatibility with previous versions.
If you need an UI to manage your elastic search, you can use elasticsearch ui running in docker
docker run -d -p 5000:5000 elastichq/elasticsearch-hq
Then connect to the local instance of elastic at http://host.docker.internal:9200
You can also use kibana or other UI of your choice.
FAQs
ElasticSearch connector for Kernel Memory implements the IDbMemory interface.
We found that alkampfer.kernelmemory.elasticsearch demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.
Research
Socket's research uncovers three dangerous Go modules that contain obfuscated disk-wiping malware, threatening complete data loss.
Research
Socket uncovers malicious packages on PyPI using Gmail's SMTP protocol for command and control (C2) to exfiltrate data and execute commands.