
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
botbuilder-storage-documentdb
Advanced tools
botbuilder and botbuilder-calling implementation of IBotStorage for DocumentDB
npm install --save botbuilder-storage-documentdb
npm install --save documentdb
And one or both of
npm install --save botbuilder
npm install --save botbuilder-calling
const SETTINGS ={
/** Database name to use for bot session storage (created if it does not exist) */
databaseName: "myDb",
/** Collection name to use for bot session storage (created if it does not exist) */
collectionName: "myCollection",
/** OPTIONAL Collection throughput for created collections (default: 10000) */
collectionThroughput: 10000,
/** OPTIONAL Default document time-to-live for created collections (default 1 week; null to disable) */
defaultTtl: 604800,
/** OPTIONAL Write all keys in a session concurrently (default true) */
parallel: true,
}
import { DocumentDbBotStorage } from 'botbuilder-storage-documentdb';
import { DocumentClient } from 'documentdb';
import { UniversalBot } from 'botbuilder';
import { UniversalCallBot } from 'botbuilder-calling';
const documents = new DocumentClient(/* params */);
const storage = new DocumentDbBotStorage(documents, SETTINGS);
// use with call bot
const bot = new UniversalCallBot(connector, { storage });
// or bot.set('storage', storage);
// use with chat bot
const bot = new UniversalBot(connector, { storage });
// or bot.set('storage', storage);
FAQs
botbuilder and botbuilder-calling implementation of IBotStorage for DocumentDB
The npm package botbuilder-storage-documentdb receives a total of 0 weekly downloads. As such, botbuilder-storage-documentdb popularity was classified as not popular.
We found that botbuilder-storage-documentdb 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.