
Security News
Socket Releases Free Certified Patches for Critical vm2 Sandbox Escape
A critical vm2 sandbox escape can allow untrusted JavaScript to break isolation and execute commands on the host Node.js process.
Ferris is an implementation of the Amazon Alexa skills JS API that functions entirely offline and with no proprietary software requirements. Behaviour and features may not be complete or correct, as the author does not have access to an Amazon Echo device.
Assuming your Alexa skills are located in a subdirectory of the current directory called 'skills', the following code will start a Ferris instance that allows access to those skills:
const Ferris = require('./index');
Ferris.loadSkills('skills');
Ferris.listen(() => { process.exit(0); });
The following commands are available:
list | help: Lists available skills and skill detailsexit | quit: Calls the onquit parameter given to listen or parseCommand.launch <skill-name>: Launches the specified skill.grammar: Displays the current JSGF grammar used for speech recognition.stop: Stops the currently active skill.Pocketsphinx cannot recognise words that aren't in its dictionary. Skill names are derived from their CamelCase directory name and must consist of dictionary words. Built-in slots only have limited support, and are not as flexible as the same slots on the real Amazon Echo service (for now).
Ferris does not require a 'wake' word to launch intents. Currently available input can be queried with the grammar command. Intents can have the boolean property persist, that when set to true, allows the intent to be launched at any time, without using the launch command first. It's best to make limited use of this functionality as a large grammar will reduce the chance of successful and accurate matches.
FAQs
Offline Alexa skills
We found that ferris 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
A critical vm2 sandbox escape can allow untrusted JavaScript to break isolation and execute commands on the host Node.js process.

Research
Five malicious NuGet packages impersonate Chinese .NET libraries to deploy a stealer targeting browser credentials, crypto wallets, SSH keys, and local files.

Security News
pnpm 11 turns on a 1-day Minimum Release Age and blocks exotic subdeps by default, adding safeguards against fast-moving supply chain attacks.