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.
frack-deployment
Advanced tools
To install the stable version:
npm install --save frack-deployment
Setup Jenkins CI environment
Add these lines to package.json:
"deploy:preview": "frack-deployment request-deploy-allbranch", "deploy:staging": "frack-deployment request-deploy staging", "deploy:production": "frack-deployment request-deploy production", "ci-deploy-preview": "frack-deployment ci-deploy-allbranch", "ci-deploy-staging": "frack-deployment ci-deploy staging", "ci-deploy-production": "frack-deployment ci-deploy production", "ci-rollback": "frack-deployment ci-rollback", "ci-clean": "frack-deployment ci-clean", "pm2-startup": "frack-deployment pm2-startup", "pm2-startup-allbranch": "frack-deployment pm2-startup-allbranch", "pm2-delete-allbranch": "frack-deployment pm2-delete-allbranch",
deploy.config.js
:module.exports = { jenkins: { jobName: 'abc', token: 'def', }, ci: { preview: { projectName: 'myProject', config: 'configSection', domainBase: 'preview.project.com', reinstallWithProductionDependencies: true, mattermost: { endpoint: 'https://mattermost.siteone.cz/hooks/or3pupgictyz5gydrmkdsri5gy', channel: 'test', }, }, staging: { projectName: 'myProject-staging', config: 'configSection' }, production: { projectName: 'myProject', config: 'configSection' }, checkAfterDeploy: function (next, { sshDsn, port }) { return next(); } }, deploy: { 'configSection': { sshBaseDir: '/home/deploy', sshSubDir: '', sshDsns: [ 'user@mysshserver' ], excludeFile: '.rsyncignore', releasesBackupCount: 3, allbranchLeaveDaysCount: 20, vhostApiUrl: 'http://xyz' } } }
JENKINS_DEPLOY_ALLBRANCH_JOB=jenkinsJobNameXyz JENKINS_DEPLOY_PRODUCTION_JOB=jenkinsJobNameXyz JENKINS_DEPLOY_STAGING_JOB=jenkinsJobNameXyz JENKINS_DEPLOY_ALLBRANCH_TOKEN=xyz JENKINS_DEPLOY_PRODUCTION_TOKEN=xyz JENKINS_DEPLOY_STAGING_TOKEN=xyz
After integration run in project:
npm run deploy:preview
npm run deploy:production
npm run deploy:staging
FAQs
Unknown package
The npm package frack-deployment receives a total of 3 weekly downloads. As such, frack-deployment popularity was classified as not popular.
We found that frack-deployment 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.
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.