
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
riddlet-bot
Advanced tools

The official bot library for Riddlet, the anonymous chat application and server.
Installation is fairly simple. Just run npm install --save riddlet-bot in your project directory.
The official bot library allows for very barebones bot creation.
To create a bot, you first want to create a new RiddletBot class.
var RiddletBot = require('riddlet-bot').RiddletBot
var bot = new RiddletBot("http://chat.example.com")
You should know if if this works when you get a token printed to your terminal. (ie: xxxxxxxxxxxxx.yyyyyyyyyyyy.zzzzzzzzzzzz)
We now want to stop the bot process and put that token as a second parameter. This allows our bot to have the same token each time it connects to the server.
var bot = new RiddletBot("http://chat.example.com", "xxxxxxxxxxxxx.yyyyyyyyyyyy.zzzzzzzzzzzz")
Your bot should now log every message it recieves from the server.
Now to create a custom Message Handler.
Here is an example message handler that we will be using.
var xMessageHandler = function (bot, message) {
if(message.data === "!info") {
bot.SendMessage("test", "#all")
}
}
Now we want to import it into our bot.
var bot = new RiddletBot("http://chat.example.com", "xxxxxxxxxxxxx.yyyyyyyyyyyy.zzzzzzzzzzzz", xMessageHandler)
And that's your first bot!
FAQs
The official bot library for Riddlet
We found that riddlet-bot 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.