
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
hubot-hangman
Advanced tools
A hubot script for playing hangman using the WORDNIK api, api-key required.
Play Hangman using Wordnik and Hubot!
A coffee-script based chat add-on for playing Hangman. The script originated in the hubot-scripts repo. The hubot-scripts repo was later deprecated in favor of using stand alone node_modules for each hubot add-on. Seeing as the hangman.coffee script had not been touched or modified in several years and the originator of the script did not have a repo with anything related to hangman, I opted to port this and keep it maintained with the MIT license.
Please feel free to leave any feedback on the github project.
The script requires a Wordnik API key which you will need to request and setup as a CONFIG_VAR on Heroku. The API keys are free to request. http://developer.wordnik.com/
hubot hangman
- Display state of current game or start new game.hubot hangman {x}
- Make a single character guess.hubot hangman {word}
- Make a guess to solve the puzzle.Run the following command
$ npm install hubot-hangman
Then to make sure the dependencies are installed:
$ npm install
To enable the script, add a hubot-hangman
entry to the external-scripts.json
file (you may need to create this file).
["hubot-hangman"]
'
as a default guess. Now spaces, dashes, and apostrophes will not require guessing and will be shown in the word printout.This-is a-game
would now be shown as ? ? ? ? - ? ? ? - ? ? ? ?
.The 8 letter word is: ? ? ? ? - ? ? ?
-
as a default guess. Many users don't expect a dash to appear in the word and hence never guess special characters.-
it will be treated as a previously guessed letter and will not count against you.-
to ?
. Some words in the WORDNIK api include dashes, this can confuse the game leaving you stuck in an eternal loop. Changing the character to a question mark to prevent this from happening in the future. *
's and _
's have been avoided due to markdown formatting used by many chat client apps._
to -
to improve client formattingFAQs
A hubot script for playing hangman using the WORDNIK api, api-key required.
The npm package hubot-hangman receives a total of 1 weekly downloads. As such, hubot-hangman popularity was classified as not popular.
We found that hubot-hangman 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
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.