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.
@oclif/plugin-command-snapshot
Advanced tools
generates and compares OCLIF plugins snapshot files
Generates and compares OCLIF plugins snapshot files
This plugin is used to take snapshot of commands and flags in OCLIF plugins. These snapshots can be used to enforce a deprecation policy or to keep track of changes.
To include it in your plugin, add it to the devPlugins
section in your package.json.
"oclif": {
...
"devPlugins": [
"@oclif/plugin-command-snapshot"
...
]
Use the snapshot:generate
command in your development process.
# generates a snapshot file that has a list or commands and flags in the current CLI or plugin
$ ./bin/run.js snapshot:generate
Use the snapshot:compare
command in your continuos integration. This command will fail if changes are detected. The snapshot file should be updated and committed to the repository when legitimate changes are made.
# compare the current CLI or plugin commands and flags with a snapshot file to identify changes
$ ./bin/run.js snapshot:compare
FAQs
generates and compares OCLIF plugins snapshot files
The npm package @oclif/plugin-command-snapshot receives a total of 15,602 weekly downloads. As such, @oclif/plugin-command-snapshot popularity was classified as popular.
We found that @oclif/plugin-command-snapshot demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
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.