
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
A python wrapper around a terraform ec2 deployment. It awaits instances till their done initializing and allows the user more control over updating or not updating particular instances. It also streamlines project setup and deployments with GitHub workflows.
You can install this package with pip by running the command below.
pip install ec2-manager
Here is a basic example of
ec2-manger init
This will setup your repo with a template and a config that looks like this:
# globals
type: example
aws_region: us-east-1
vpc_name: "Default VPC"
public_subnet_cidr: "172.31.0.0/20"
# instance configurations
instances:
example-instance-1:
instance_type: t4g.nano
update: True
volume_size: 8
commands:
start: "docker-compose up --detach"
stop: "docker-compose down"
envs:
EXAMPLE: HelloWorld
ports:
- protocol: tcp
from_port: 80
to_port: 80
ec2-manger set-secrets
ec2-manger apply
You can subclass ec2-manager to script in any custom steps or additional remote commands.
import ec2_manager
class CustomManager(ec2_manager.EC2Manager):
def update(self):
print('Override!!')
self.create_instances()
self.update_repos()
self.stop()
self.start()
Then run ec2-manager with the override.py
in the working directory and it will use that class instead!
FAQs
Unknown package
We found that ec2-manager 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.