
Security News
curl Shuts Down Bug Bounty Program After Flood of AI Slop Reports
A surge of AI-generated vulnerability reports has pushed open source maintainers to rethink bug bounties and tighten security disclosure processes.
@teamgantt/eb-blue-green
Advanced tools
Utilities for handling blue green deployments in elastic beanstalk environments.
You will want some environment variables set for local use:
export AWS_PROFILE=teamgantt
export AWS_REGION=us-east-2
export NODE_ENV=development
If running in an AWS environment, you don't really need to worry about anything.
Local use assumes it will be reading profile information from ~/.aws/credentials based off the AWS_PROFILE environment variable and the AWS_REGION environment variable.
There is .envrc in the repo if you are into using direnv. Just update the values with your own profile/region.
These are mostly functions that sit on top of the aws sdk for JavaScript.
Since beanstalk environment names have to be unique for a region within an account, most of these functions operate from that starting point.
The main functions of interest are cloneEnvironment, swapUrls, and terminateEnvironment.
const eb = require('@teamgantt/eb-blue-green');
(async function() {
// clone the blue environment to a new env called "green"
await eb.cloneEnvironment('blue', 'green');
// swap the blue and green cnames - i.e direct traffic to green
const from = 'blue';
const to = 'green';
await eb.swapUrls(from, to);
// when you are done deploying and testing blue, swap things back and clean up
await eb.swapUrls(to, from);
await eb.terminateEnvironment('green');
})();
FAQs
Utilities for blue green deployments
We found that @teamgantt/eb-blue-green demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.

Security News
A surge of AI-generated vulnerability reports has pushed open source maintainers to rethink bug bounties and tighten security disclosure processes.

Product
Scan results now load faster and remain consistent over time, with stable URLs and on-demand rescans for fresh security data.

Product
Socket's new Alert Details page is designed to surface more context, with a clearer layout, reachability dependency chains, and structured review.