
Research
Malicious fezbox npm Package Steals Browser Passwords from Cookies via Innovative QR Code Steganographic Technique
A malicious package uses a QR code as steganography in an innovative technique.
botkit-middleware-recastai
Advanced tools
This middleware plugin for Botkit allows you to seamlessly integrate Recast.ai natural language intent APIs into your Botkit bot.
You can use the Recast.AI API to analyse your text or your audio file, and extract useful informations from it, to personalize your IoT, classify your data or create bots.
Get your token
npm install --save botkit-middleware-recastai
var RecastaiMiddleware = require('botkit-middleware-recastai')({
request_token: '322e96b09ef75ad32bfc8b6f22b857ef',
confidence: 0.4
});
controller.middleware.receive.use(RecastaiMiddleware.receive);
controller.hears(['news'],'message_received', RecastaiMiddleware.hears,function(bot, message) {
// ...
});
Using this middleware with Botkit causes every message sent to your bot to be first sent through recast API for processing. The response from recast is then returned in the incoming messages as seen below :
Using the recast hears middleware tells Botkit to look for Recast intents information, and match using this information instead of the built in pattern matching function.
Have fun coding your bot :)
This project is licensed under the terms of the MIT license. Full license text is available in LICENSE.md.
FAQs
Middleware for using Recast.ai with Botkit-powered bots
We found that botkit-middleware-recastai 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
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.
Application Security
/Research
/Security News
Socket detected multiple compromised CrowdStrike npm packages, continuing the "Shai-Hulud" supply chain attack that has now impacted nearly 500 packages.