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.
A script that concurrently deletes common AWS resources like S3 buckets, RDS instances, and EC2 instances across all AWS regions.
This script is designed to clean up various resources within specific AWS regions in parallel using Python threading. This script uses boto3
, the AWS SDK for Python, and checks the version of boto3
currently installed on your system against the latest available version.
Before deleting any resources, it will create threads for each AWS region, and perform the deletion of resources in each region concurrently.
AWS CloudShell is a browser-based shell that you can use to manage your AWS resources. Here's how you can use this script in AWS CloudShell:
1- Open AWS CloudShell from the AWS Management Console.
pip install aws-delete-all
2- Run
aws-delete-all
Before you can use boto3
, you need to set up authentication credentials for your AWS account using the AWS CLI.
You can install AWS CLI using pip:
pip install awscli
aws configure
AWS Access Key ID
and AWS Secret Access Key
: You can find these on your AWS account. If you don't have one, you can generate it from the AWS Management Console.
Default region name
: The region to which AWS CLI directs its requests. You can set any region you want. For example, us-west-2.
Default output format
: The output format for AWS CLI. You can set json.
pip install boto3 loguru
To use this script, simply run it.
python main.py
WARNING: Be very cautious when using this script as it deletes resources.
Resources Deleted This script deletes the following AWS resources in every AWS region:
License This project is licensed under the MIT License. See the LICENSE file for details.
FAQs
A script that concurrently deletes common AWS resources like S3 buckets, RDS instances, and EC2 instances across all AWS regions.
We found that aws-delete-all 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.