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.
sfdc-git-package
Advanced tools
Create Package.xml and destructiveChangesPre.xml from git diff between two commits
Create Package.xml and destructiveChangesPre.xml from git diff between two commits
Works in Unix like system. Windows is not tested.
Git command line is required on the system where the command line is running.
npm install -g sfdc-git-package
or
yarn globally add sfdc-git-package
$ sgp -h
Usage: sgp [options]
Create Package.xml and destructiveChangesPre.xml from git
Options:
-h, --help output usage information
-V, --version output the version number
-t, --to [sha] commit sha to where the diff is done [HEAD]
-f, --from [sha] commit sha from where the diff is done [git rev-list --max-parents=0 HEAD]
-o, --output [dir] package.xml specific output [./output]
-a, --api-version [version] salesforce API version [37.0]
-r, --repo [dir] git repository location [./repo]
var sgp = require('sfdc-git-package');
sgp({
'to':'', // commit sha to where the diff is done. Default : HEAD
'from':'', // commit sha from where the diff is done. Default : git rev-list --max-parents=0 HEAD
'output':'', // package.xml & destructiveChangesPre.xml specific output. Default : ./output
'apiVersion':'', // salesforce API version. Default : 39.0
'repo':'' // git repository location. Default : ./repo
}, console.log);
SemVer is used for versioning.
This project is licensed under the MIT License - see the LICENSE.md file for details
FAQs
Create Package.xml and destructiveChangesPre.xml from git diff between two commits
The npm package sfdc-git-package receives a total of 17 weekly downloads. As such, sfdc-git-package popularity was classified as not popular.
We found that sfdc-git-package 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.