
Research
/Security News
Malicious npm Packages Target WhatsApp Developers with Remote Kill Switch
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
@bcgov/gh-deploy
Advanced tools
A cli and importable node module wrapper around the github deployments api
A simple CLI and node package that wraps creating github deployments and statuses
Github Deployments API docs can be found here
Creating Deployment Statuses are typically coupled to some type of automation in a pipeline. Most pipeline
technologies have a way to run scripts under a NodeJS
. Our organization has found it extremely useful to
fire off single line scripts inside of our pipeline scripts because:
npx @bcgov/gh-deploy -h
@bcgov/gh-deploy deployment -h
@bcgov/gh-deploy pendingDeployments -h
@bcgov/gh-deploy status -h
npm install --save @bcgov/gh-deploy
creates a deployment to a given environment
// in a js file
import { createDeployment } from '@bcgov/gh-deploy'
createDeployment({
environment: 'production'
}, repo, owner, token)
.then(() => null);
creates a status for a specific deployment
// in a js file
import { createDeploymentStatus } from '@bcgov/gh-deploy'
createDeploymentStatus({
state: 'success'
}, repo, owner, token)
.then(() => null);
returns number of pending deployments
// in a js file
import { getPendingDeployments } from '@bcgov/gh-deploy'
getPendingDeployments({
environment: 'production',
}, repo, owner, token)
.then(() => null);
While the Contributions Docs are quite slim, I'm happy to take any PR's to improve this project.
FAQs
A cli and importable node module wrapper around the github deployments api
The npm package @bcgov/gh-deploy receives a total of 0 weekly downloads. As such, @bcgov/gh-deploy popularity was classified as not popular.
We found that @bcgov/gh-deploy demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
Research
/Security News
Socket uncovered 11 malicious Go packages using obfuscated loaders to fetch and execute second-stage payloads via C2 domains.
Security News
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.