Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
@emartech/client-publish
Advanced tools
Uploads the bundled client application to Amazon S3 and sets up redirection to that bucket.
npm install @emartech/client-publish --save-dev
Deploy scripts work from current branch. Master branch stands for staging, production branch stands for production. Merge only to production when you want deployment there. Merge can be run from local machine, deploys from CI server.
{
"scripts": {
"deploy-staging": "client-deploy-staging",
"deploy-production": "client-deploy-production",
"merge-production": "client-merge"
}
}
Set the following environment variables: AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, REDIRECTOR_API_SECRET_STAGING, REDIRECTOR_API_SECRET_PRODUCTION, PROJECT_NAME.
Create npm scripts:
{
"deploy-staging": "REDIRECTOR_API_SECRET=$REDIRECTOR_API_SECRET_STAGING client-deploy-staging",
"deploy-production": "REDIRECTOR_API_SECRET=$REDIRECTOR_API_SECRET_PRODUCTION client-deploy-production",
"merge-production": "client-merge"
}
Then setup deployment for master and production branch.
# master branch
npm run build
npm run deploy-staging
# production branch
npm run build
npm run deploy-production
FAQs
Deployer for client side projects
The npm package @emartech/client-publish receives a total of 0 weekly downloads. As such, @emartech/client-publish popularity was classified as not popular.
We found that @emartech/client-publish demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 216 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
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.