
Research
Namastex.ai npm Packages Hit with TeamPCP-Style CanisterWorm Malware
Malicious Namastex.ai npm packages appear to replicate TeamPCP-style Canister Worm tradecraft, including exfiltration and self-propagation.
@telus/telus-nightwatch-commands
Advanced tools
Nightwatch custom commands for Telus Digital
This library was generated with @telus/create-library. In order for your library to handle version management and releases automatically, please make sure you set up the NPM_TOKEN inside the Github actions workflow, following the instructions here.
npm install @telus/telus-nightwatch-commands
In nightwatch.conf.js, modify the CUSTOM_COMMANDS and CUSTOM_ASSERTIONS value to include the Telus nightwatch custom commands, ie
const CUSTOM_COMMANDS = [
path.join(__dirname, 'node_modules', '@telus/nightwatch-visual', 'commands'),
path.join(__dirname, 'node_modules', '@telus/telus-nightwatch-commands', 'commands')
]
const CUSTOM_ASSERTIONS = [
path.join(__dirname, 'node_modules', '@telus/nightwatch-visual', 'assertions'),
path.join(__dirname, 'node_modules', '@telus/telus-nightwatch-commands', 'assertions')
]
And set the environment variable accessibilityTestingEnabled to true
test_settings: {
default: {
globals: {
accessibilityTestingEnabled: true
}
}
}
browser.url('https://www.telus.com/my-telus') // example url, visit any authenticated page on Telus.
browser.url((response) => {
const loginUrl = response.value
browser.login({
username,
password,
returnUrl: 'https://www.telus.com/my-telus', // example url, use the page url you want to visit after login action
loginUrl,
oauthCookie: 'oauthCookieName', // environment specific, see note below.
sessionCookie: 'sessionCookieName',
isDevelopment: false // set to true is run locally
})
})
Note: oauth and session cookie names are specific to the environment you're trying to log into.
| Environment | Value |
|---|---|
| Staging | oauthCookie = 'OAuth2TokenStage' sessionCookie = 'SessionTokenStage' |
| Production | oauthCookie = 'OAuth2Token' sessionCookie = 'SessionToken' |
browser
.url(url, () => {
browser.assert.urlEquals(url)
})
.accessibility({
pageName: 'Hello World',
root: '#app',
rules: {
'color-contrast': { enabled: true }
},
runOnly: {
type: "tag",
values: ["wcag2a", "wcag2aa"]
},
verbose: false,
timeout: 5000
})
Note: None of the parameters are mandatory, the command can be called like this:
browser.accessibility()
browser.log('Successfully logging a message.')
browser.removeMyTelusSurvey()
const rackspaceAuthentication = {
user: `${process.env.RACKSPACE_USER}`,
pass: `${process.env.RACKSPACE_PASS}`
}
browser.getOneTimePasscode(rackspaceAuthentication, (result) => {
browser.log(`One Time Passcode is ${result.value}`)
})
Note: Environment variables can be set locally by executing set-env.sh script. Need for such a shippy-user access with a read policy from any My TELUS tribe.
Note: Environment can be set in an Openshift project by using the standard method used in the my-telus-e2e project.
browser.restoreDevice({
ban,
sub
})
browser.changeEmail('newEmail')
browser.changeEmail({
ban,
emailAddress
})
Github: @telus • Twitter: @telusdigital
FAQs
Nightwatch custom commands for Telus Digital
The npm package @telus/telus-nightwatch-commands receives a total of 87 weekly downloads. As such, @telus/telus-nightwatch-commands popularity was classified as not popular.
We found that @telus/telus-nightwatch-commands demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 18 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
Malicious Namastex.ai npm packages appear to replicate TeamPCP-style Canister Worm tradecraft, including exfiltration and self-propagation.

Product
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.