
Research
/Security News
jscrambler npm Package Compromised in Supply Chain Attack
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.
@qavajs/template
Advanced tools
Library that allow to define step definitions on Gherkin language.
Feature: Templates
Scenario: I login
When I open 'https://your-app.com'
And I type 'username' to 'Login Form > Username Input'
And I type 'password' to 'Login Form > Password Input'
And I click 'Login Form > Login Button'
Then following template can be called from scenario as simple step
Feature: Auth
Scenario: Verify that user is able to login
When I login
Then I expect 'Header' to be visible
Templates also can accept parameters as < param> e.g
Feature: Templates
Scenario: I login as '<username>' with '<password>' password
When I open 'https://your-app.com'
And I type '<username>' to 'Login Form > Username Input'
And I type '<password>' to 'Login Form > Password Input'
And I click 'Login Form > Login Button'
Then following template can be called with actual params
Feature: Auth
Scenario: Verify that user is able to login
When I login as 'admin' with 'admin' password
Then I expect 'Header' to be visible
To use templates their location need to be passed to templates property of config file and library need to be listed in require
module.exports = {
default: {
requireModule: [
'@qavajs/template'
],
templates: ['templates/*.feature']
}
}
FAQs
qavajs module to define step definitions on Gherkin language
The npm package @qavajs/template receives a total of 275 weekly downloads. As such, @qavajs/template popularity was classified as not popular.
We found that @qavajs/template demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers 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
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.

Research
/Security News
A malicious .NET package is typosquatting the Braintree SDK to steal live payment card data, merchant API keys, and host secrets from production apps.

Security News
/Research
Compromised Injective SDK npm version 1.20.21 exfiltrates wallet private keys and mnemonics through fake telemetry functionality.