
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
slack-microbots
Advanced tools
Slack-microbots allows you to split one Slackbot into many little and simple 'microbots'. This is ideal for a team that uses several bots, but doesn't want to setup/code the infrastructure for each. If you user Heroku and setup automatic deploys via Github, you could even code a new bot entirely in the browser and deploy it!
logbot which acts like console.log but prints messages to a #diagnostics channel on your teamconst Storage = require('slack-microbots/storage');
const console = require('slack-microbots/logbot');
const utils = require('slack-microbots/utils');
module.exports = {
name : 'fancybot',
icon : ':tophat:',
channel : '*',
handle : function(msg, info, Slack){
if(info.user == 'scott'){
Slack.react('thumbsup');
}
if(utils.messageHas(msg, ['fancybot', 'fancypants'])){
Slack.reply('You rang? :tophat:');
}
}
}
In your server.js, add this following bit of code
//Boot up helperbot
require('helperbot')({
expressApp : app,
diagnosticsWebhook : DIAGNOSTICS_WEBHOOK,
local : !IS_PRODUCTION,
debug : true,
cmdList : ['path/tocmd.js'],
botList : ['path/to/bot.js],
botInfo : {
icon : ':tophat:',
name : 'higgins',
token : SLACK_BOT_TOKEN
}
});
Design your micro-bots in the following way
module.exports = {
listenFor : ['message'],
response : function(msg, info, HelperBot){
if(info.user == 'john'){
HelperBot.reply('Hello John!');
HelperBot.react('joy');
}
}
}
Logbot is a logging bot that messages to your #diagnostics channel on your slack. Use it just like you would use console.
FAQs
A slackbot framework for easily building microbots and commands
We found that slack-microbots 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.