
Research
SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.
ah-slack-plugin
Advanced tools
A Slack server for ActionHero v18+. It will listen to all messages in all the rooms it is a member of, and do stuff.
Does you action have a response? It will be send back to slack.
Don't want to respond in Slack? Set data.toRender = false in your action's run method.
In your ActionHero project: npm install --save ah-slack-plugin
Make a new bot for your slack team: https://my.slack.com/apps -> manage -> custom integrations -> bots -> new Note the TOKEN
// config/plugins.js
const path = require('path')
exports['default'] = {
plugins: (api) => {
return {
'slack': {path: path.join(__dirname, '..', 'node_modules', 'ah-slack-plugin')}
}
}
}
// config/servers/slack.js
exports['default'] = {
servers: {
slack: (api) => {
return {
enabled: true,
token: process.env.SLACK_BOT_TOKEN,
// which messages should we try to parse as actions? (could be a /command, @ a user, etc)
// be sure to have a capture, as what you capture will be the action's name we try
// for example `/^action\s(\w*).*$/i` would match `action thing otherThing`, trying the action "thing"
messageActionRegexp: [
/^action\s(\w*).*$/i,
]
// how many messages should we store a history of receiving
// messages can be accessed in `api.servers.servers.slack.messages`
messagesToSave: 100
}
}
}
}
FAQs
ActionHero Slack Plugin
We found that ah-slack-plugin 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
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.

Company News
Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecosystem.

Security News
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.