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.
mountebank-formatters
Advanced tools
The default parsers and formatters for managing mountebank test data
As of v2.4.0, mountebank supports custom formatters.
A formatter consists of two functions:
load
, which loads the --configfile
used to start mountebanksave
, which saves the test data captured in a running process of mountebank using the mb save
commandThose two functions should work in concert, so you can round-trip the configuration. In other words, the following should always work for the same formatter:
mb save --savefile mb.json --formatter default
mb stop
mb start --configfile mb.json --formatter default
For years, mountebank supported EJS templating, which could be turned off using the --noParse
CLI flag.
When EJS made a breaking change, mountebank couldn't accept it because it would break existing config files.
That has now been modularized into this module (allowing mountebank core to upgrade EJS), and remains
the default option for backwards compatibility. However, now mountebank supports configurable formatters.
FAQs
The default parsers and formatters for managing mountebank test data
The npm package mountebank-formatters receives a total of 31,508 weekly downloads. As such, mountebank-formatters popularity was classified as popular.
We found that mountebank-formatters 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.