
Product
Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Make multi-persona demos interactive!!
n.b. consider this beta - but give it a go.. is it useful?
The premise is quite simple
Audience should now be amazed - but that's up to your demo really :-)
It's built on node.js so you'll need that installed, then
npm install -g demo-hats
(or clone the repo!)
Create a configuration file (see below for the basic example),
Run the application
$ demo-hats
** You must keep the Control Windows open, otherwise the webcam won't work ** ** But it doesn't need to have focus - just not be minimised **
Key place to start is at the configuration - this will help you understand the whole system. Here it is - by default in a file called hats.json
.
{
"info": {
"title":"People of Interest",
"summary":"Scenario showing how how to show different webpages for different personas "
},
"personas": {
"alice": {
"uri": "http://localhost:3456/users/alice",
"avatar": "images/alice-person.png",
"startState": "open",
"displayName": "Alice",
"bio": "Entrepreneur. Gamer. Explorer. Pr(remember that you'll need some QR codes printed!)
},
"bob": {
"uri": "http://localhost:3456/users/bob",(remember that you'll need some QR codes printed!)
"avatar": "images/bob-person.png",
"startState": "open",
"displayName": "Matias",
"bio": "Award-winning web guru. Unapologetic food practitioner. Travel fanatic. Beer ninja. Reader."
}
}
}
info
section gives a title and a brief summary. This is shown on the control screen.personas
the list of personas in use
alice
and bob
above) - are the phrases and words that should be encoded into the QR codes. It could be some other word, or just a letter. Up to you - but remember the more complicated the phrase the more complex the QR code.uri
this is the uri that will be shown when this persona is 'activated' - i.e. the QR code is recognised... so in this case http://localhost:3456/users/alice
, will become active and have focus. (note that the demo-hats app has a number of user pages built in for testing)startState
open to say open it on start-up (to be honest this is the only option at the moment, want to add open when you see the QR code for the first time)displayName
the name that will be displayed on the control screenavatar
the avatar for the persona that will be displayed on the control screenbio
some text that will be displayed on the controll screen.You can have as made entries as you can have QR codes or browser tabs open.
Simply put, you keep the control window open (not mimised) but not necassarily in focus...(makes using one screen possible) And show it the QR code that has the encoded 'key' in it.
FAQs
> Make multi-persona demos interactive!!
We found that demo-hats 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.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.