Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
chatbot-ui-core
Advanced tools
This package provides type definitions and the interface for Chatbot UI extensions to interact with the Chatbot UI application.
For Chatbot UI users there is no need to install anything, as it already pre-installed in the main application Chatbot UI.
Developers building their own extension can install this package by using:
npm i chatbot-ui-core@latest
If you want to build your own database extension you just have to implement the following interface in your package: ./src/database/client-side.ts
If you need a to use serverless functions to access your database (e.g. postgres), then you must also implement the Server-side database interface: ./src/database/server-side.ts
The server-side database implementation mainly uses the paths
property to map any API calls made to /api/storage/[endpoint]
directly to your package.
See the implementation of the package chatbot-ui-local-storage to view an example of a client-side-only database extension: https://github.com/jorge-menjivar/chatbot-ui-local-storage
See the implementation of the package chatbot-ui-rdbms to view an example of database extension that needs access to serverless functions: https://github.com/jorge-menjivar/chatbot-ui-rdbms
FAQs
Core library for the Chatbot UI project
The npm package chatbot-ui-core receives a total of 0 weekly downloads. As such, chatbot-ui-core popularity was classified as not popular.
We found that chatbot-ui-core 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
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.