Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
echohub-alexa-sdk
Advanced tools
This library is intended to be used when writing an Alexa Skill targeted at EchoHub users.
TODO: Add docs here
yarn add echohub-alexa-sdk
The SDK currently assumes you are using Alexa Skills Kit for NodeJS
import EchoHubAlexaSDK from 'echohub-alexa-sdk';
const echohub = new EchoHubAlexaSDK();
const languageStrings = {
'en-US': {
translation: {
HELLO: 'Hi! Welcome to my cool skill using EchoHub'
TIME: 'The time is {{time}}'
},
},
};
const handlers = {
TimeIntent() {
args = {
a: 1.
}
echohub.execute('mycommand', args).then((response) => {
if (response.errorType) {
EchoHubApi.handleError(alexa, response);
return;
}
this.emit(:tell, this.t('RESPONSE', { time: response.time });
}
},
};
export default (event, context) => {
const alexa = Alexa.handler(event, context);
alexa.appId = process.env.ALEXA_SKILL_ID;
// If you don't localise your own module just don't pass anything below
alexa.resources = EchoHubApi.languageStrings(languageStrings);
echohub.handler(event, context);
alexa.registerHandlers(handlers);
alexa.execute();
};
After checking out the repo, run yarn test
to run the tests.
To release a new version:
This will run the tests, update the version, create a git tag for the version, push git commits and tags. Publish the module file to npmjs.com.
Bug reports and pull requests are welcome on GitHub at https://github.com/echohubio/ehcohub-alexa-sdk. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The gem is available as open source under the terms of the ISC License.
FAQs
EchoHub Alexa Skill Lambda SDK
The npm package echohub-alexa-sdk receives a total of 0 weekly downloads. As such, echohub-alexa-sdk popularity was classified as not popular.
We found that echohub-alexa-sdk 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
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.