Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
deployy-mcdeployface
Advanced tools
A simple, stupid Node-based deploy script working with GitHub Webhooks.
A simple, stupid Node-based deploy script working with GitHub Webhooks.
git clone https://github.com/jwilsson/deployy-mcdeployface.git
cd deployy-mcdeployface/
npm install
npm run build
Running via forever:
forever start /path/to/deployy-mcdeployface/dist/index.js /path/to/config.json
Running via pm2:
pm2 start /path/to/deployy-mcdeployface/dist/index.js -- /path/to/config.json
When you start you will get a list of what webhooks to add to each repo.
The URL to ping should include a name of the repo in a target
query string, http://example.com:1234/?target=deployy-mcdeployface
will trigger a deploy for this script.
Then, whenever a push to a GitHub repo is made, this script will be pinged and perform the steps outlined for that repo.
For example:
{
"port": 1234,
"host": "example.com",
"path": "/deployy-mcdeployface",
"stopOnError": true,
"repos": {
"deployy-mcdeployface": {
"path": "/local/path/to/repo",
"commands": [
"git pull",
"npm install",
"npm run build"
]
}
}
}
Code | Meaning |
---|---|
200 | Got a valid GitHub push event |
204 | Got a valid GitHub ping event |
400 | Got a request without a target parameter |
401 | Got an invalid message either with an unsupported GitHub event or without a GitHub event header |
FAQs
A simple, stupid Node-based deploy script working with GitHub Webhooks.
The npm package deployy-mcdeployface receives a total of 0 weekly downloads. As such, deployy-mcdeployface popularity was classified as not popular.
We found that deployy-mcdeployface demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.