-
Notifications
You must be signed in to change notification settings - Fork 8
Local dev + Dependabot + SES infra fixes #459
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,7 +4,7 @@ data "aws_route53_zone" "domain" { | |
|
|
||
| module "ses" { | ||
| name = "${var.project_name}-${var.environment}-ses" | ||
| source = "github.com/cloudposse/terraform-aws-ses" | ||
| source = "github.com/cloudposse/terraform-aws-ses?ref=v0.25.2" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. module source pinned to tag '?ref=v0.25.2' but not to an immutable commit SHA or checksum; prefer a commit SHA (or checksum) for stronger immutability. Details✨ AI Reasoning 🔧 How do I fix it? Reply |
||
| domain = var.domain_name | ||
| zone_id = data.aws_route53_zone.domain.id | ||
| verify_domain = true | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dependabot pip entries added without requiring or referencing lockfiles or hashed requirements; add/verify lockfiles (with hashes) for '/python_components/*' to prevent silent upgrades.
Details
✨ AI Reasoning
The added pip update block enables Dependabot for multiple python_components directories but does not enforce or reference lockfile usage or checksum verification (e.g., requirements.txt with hashes or Pipfile.lock). Enabling automated updates without ensuring lockfile/hash-based installs can allow silent upgrades that the rule aims to prevent. The change is confined to the new pip configuration lines in the dependabot.yml diff.
🔧 How do I fix it?
Include lockfiles in your repo and CI. Pin exact versions or SHAs in manifests. Enable checksum verification. Set ignore-scripts in npm or equivalent. Enforce a 72hr minimum package age policy to avoid newly published malicious packages.
Reply
@AikidoSec feedback: [FEEDBACK]to get better review comments in the future.Reply
@AikidoSec ignore: [REASON]to ignore this issue.More info