Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use specific version of S3 zip in template #4

Open
nakedible-p opened this issue Jul 4, 2015 · 0 comments
Open

Use specific version of S3 zip in template #4

nakedible-p opened this issue Jul 4, 2015 · 0 comments

Comments

@nakedible-p
Copy link

I would suggest either of two things:

  1. make lambdash-install create a new S3 bucket and upload the source code there, and make the CloudFormation template use the source code from the bucket
  2. set S3ObjectVersion to a fixed value based on your current bucket and version

Right now, the CloudFormation template is using the "latest" version of "lambda/lambdash.zip" in bucket "run.alestic.com", and giving it a role in the users AWS account. If you wanted to be nasty, you could replace that with some exploit source code, which might be somewhat hard to detect. By hardcoding the version to be specific, anybody checking the contents of the zip can be convinced that the code is benign, and any changes to the hardcoded version can be seen in Git history.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant