Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
cdk-eksdistro
CDK construct library that allows you to create Amazon EKS Distro on Amaozn EC2 instance(s).
Under the hood, cdk-eksdistro
creates an Amazon Auto Scaling Group with single Amazon EC2 instance running Ubuntu Linux LTS 20.04
and installs the eks snap from the UserData
.
Use the npm dist tag to opt in CDKv1 or CDKv2:
// for CDKv2
npm install cdk-eksdistro
or
npm install cdk-eksdistro@latest
// for CDKv1
npm install cdk-eksdistro@cdkv1
imoprt { Cluster } from 'cdk-eksdistro';
const app = new cdk.App();
const env = {
region: process.env.CDK_DEFAULT_REGION,
account: process.env.CDK_DEFAULT_ACCOUNT,
};
const stack = new cdk.Stack(app, 'eksdistro-stack', { env });
new Cluster(stack, 'Cluster');
To create Amazon EC2 Spot instance instead of on-demand, use the spot
property:
new Cluster(stack, 'Cluster', { spot: true });
By default, the Cluster
construct creates a single-node EKS-D cluster on AWS EC2 with the latest Ubuntu Linux LTS AMI. To validate the cluster, open the EC2 console, select the instance and click the Connect button and select session manager.
Run the following commands to execute kubectl
in the cluster.
FAQs
AWS CDK construct library for Amazon EKS Distro
We found that cdk-eksdistro demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.