Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
mocha-cta-reporter
Advanced tools
Brought to you by @Vladimir-Clausse and @michelsalib from an initial contribution by @kiettisak-angkanawin.
###Install
npm install --save-dev mocha-cta-reporter
###Usage
mocha --reporter mocha-cta-reporter --no-exit
The --no-exit flag is important, as the reporter works asynchronously mocha should not stop it.
###Configuration
You can provide additional configuration to the reporter so it additionally report the test status to Github:
key | description |
---|---|
accessToken | access token so it can connect to github API, it needs at least repo write access |
githubRepo | name of the github repo |
sha | The hash of the commit |
proxy | An optional proxy it should use to connect to github API |
url | The url github should reference back to when displaying the test status |
Example:
mocha --no-exit -R mocha-cta-reporter -O accessToken=myaccesstoken,githubRepo=thomsonreuters/news-services,sha=abcdefg,proxy=http://webproxy.lon.corp.services:80,url=https://compass.thomsonreuters.com/test/#/run/132456789
FAQs
CTA reporter for Mocha
We found that mocha-cta-reporter 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.