
Research
2025 Report: Destructive Malware in Open Source Packages
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.
lambda-setuptools
Advanced tools
A Command extension to setuptools that allows building an AWS Lamba dist and uploading to S3
Simply add setup_requires=['lambda_setuptools'] as an attribute to your setup.py file
This extension adds two new commands to setuptools:
ldist --exclude-lambda-packages=<True | true | Yes | yes | False | false | No | no> --include-version=<True | true | Yes | yes | False | false | No | no> --build-layer=<True | true | Yes | yes | False | false | No | no> --layer-dir=<my_layer_dir>
lupload --access-key=<my_access_key> --secret-access-key=<my_secret> --s3-bucket=<my_S3_bucket> --kms-key-id=<my_KMS_key> --s3-prefix=<my_S3_key_prefix> --endpoint-url=<my_endpoint_url>
os.environ.lupdate --function-names=<my_function1>,<my_function2>,<my_function3> --lambda-names=<my_name1>,<my_name2>,<my_name3> --layer-runtimes=python2.7,python3.6,python3.7 --region=<my_aws_region>
us-east-1 will be used.This extension also adds three new attributes to the setup() function:
lambda_function=<my_package>.<some_module>:<some_function>lambda_module=<some_module>lambda_package=<some_dir>All ldist attributes can be used in the same setup() call. It is up to the user to ensure that you don't step all over yourself...
Note that all other commands and attributes in setup.py will still work the way you expect them to.
Enjoy!
FAQs
A Command extension to setuptools that allows building an AWS Lamba dist and uploading to S3
We found that lambda-setuptools demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
Destructive malware is rising across open source registries, using delays and kill switches to wipe code, break builds, and disrupt CI/CD.

Security News
Socket CTO Ahmad Nassri shares practical AI coding techniques, tools, and team workflows, plus what still feels noisy and why shipping remains human-led.

Research
/Security News
A five-month operation turned 27 npm packages into durable hosting for browser-run lures that mimic document-sharing portals and Microsoft sign-in, targeting 25 organizations across manufacturing, industrial automation, plastics, and healthcare for credential theft.