← Scan another repo

github.com/anthropics/claude-code

@ dd796139237c

Submitted 8/4/2026, 10:25:52 AM · Status: ok

Risk grade
F
100 / 100
Findings
79
2 critical2 high64 medium11 low0 info0 on CISA KEV0ATT&CK
Showing 79 of 79 findings

Findings

  • An egress security group rule allows traffic to /0.
    Opening up ports to connect out to the public internet is generally to be avoided. You should restrict access to IP addresses or ranges that are explicitly required where possible.
    trivyexamples/gateway/aws/terraform/main.tf:93
  • RUN using 'sudo'
    Avoid using 'RUN' with 'sudo' commands, as it can lead to unpredictable behavior.
    trivy.devcontainer/Dockerfile:52
  • Load balancers should drop invalid headers
    Passing unknown or invalid headers through to the target poses a potential risk of compromise. By setting drop_invalid_header_fields to true, anything that doe not conform to well known, defined headers will be removed by the load balancer.
    trivyexamples/gateway/aws/terraform/main.tf:425
  • SSL connections to a SQL database instance should be enforced.
    In-transit data should be encrypted so that if traffic is intercepted data will not be exposed in plaintext to attackers.
    trivyexamples/gateway/gcp/terraform/main.tf:117
  • Base64 High Entropy String
    Base64 High Entropy String on 5db4fda239a71e4b4b511f9dd7bf87fb260340d0
    checkovexamples/gateway/aws/terraform/main.tf:285
  • Ensure all Cloud SQL database instance have backup configuration enabled
    Ensure all Cloud SQL database instance have backup configuration enabled on google_sql_database_instance.db
    checkovexamples/gateway/gcp/terraform/main.tf:107
  • Ensure all Cloud SQL database instance requires all incoming connections to use SSL
    Ensure all Cloud SQL database instance requires all incoming connections to use SSL on google_sql_database_instance.db
    checkovexamples/gateway/gcp/terraform/main.tf:107
  • Ensure Artifact Registry Repositories are encrypted with Customer Supplied Encryption Keys (CSEK)
    Ensure Artifact Registry Repositories are encrypted with Customer Supplied Encryption Keys (CSEK) on google_artifact_registry_repository.repo
    checkovexamples/gateway/gcp/terraform/main.tf:59
  • Ensure CloudWatch log groups retains logs for at least 1 year
    Ensure CloudWatch log groups retains logs for at least 1 year on aws_cloudwatch_log_group.gateway
    checkovexamples/gateway/aws/terraform/main.tf:339
  • Ensure container insights are enabled on ECS cluster
    Ensure container insights are enabled on ECS cluster on aws_ecs_cluster.cluster
    checkovexamples/gateway/aws/terraform/main.tf:332
  • Ensure DB instance gets all minor upgrades automatically
    Ensure DB instance gets all minor upgrades automatically on aws_db_instance.db
    checkovexamples/gateway/aws/terraform/main.tf:240
  • Ensure GCP network defines a firewall and does not use the default firewall
    Ensure GCP network defines a firewall and does not use the default firewall on google_compute_network.vpc
    checkovexamples/gateway/gcp/terraform/main.tf:69
  • Ensure GCP PostgreSQL logs SQL statements
    Ensure GCP PostgreSQL logs SQL statements on google_sql_database_instance.db
    checkovexamples/gateway/gcp/terraform/main.tf:107
  • Ensure hostnames are logged for GCP PostgreSQL databases
    Ensure hostnames are logged for GCP PostgreSQL databases on google_sql_database_instance.db
    checkovexamples/gateway/gcp/terraform/main.tf:107
  • Ensure pgAudit is enabled for your GCP PostgreSQL database
    Ensure pgAudit is enabled for your GCP PostgreSQL database on google_sql_database_instance.db
    checkovexamples/gateway/gcp/terraform/main.tf:107
  • Ensure PostgreSQL database 'log_checkpoints' flag is set to 'on'
    Ensure PostgreSQL database 'log_checkpoints' flag is set to 'on' on google_sql_database_instance.db
    checkovexamples/gateway/gcp/terraform/main.tf:107
  • Ensure PostgreSQL database 'log_connections' flag is set to 'on'
    Ensure PostgreSQL database 'log_connections' flag is set to 'on' on google_sql_database_instance.db
    checkovexamples/gateway/gcp/terraform/main.tf:107
  • Ensure PostgreSQL database 'log_disconnections' flag is set to 'on'
    Ensure PostgreSQL database 'log_disconnections' flag is set to 'on' on google_sql_database_instance.db
    checkovexamples/gateway/gcp/terraform/main.tf:107
  • Ensure PostgreSQL database 'log_lock_waits' flag is set to 'on'
    Ensure PostgreSQL database 'log_lock_waits' flag is set to 'on' on google_sql_database_instance.db
    checkovexamples/gateway/gcp/terraform/main.tf:107
  • Ensure PostgreSQL database flag 'log_duration' is set to 'on'
    Ensure PostgreSQL database flag 'log_duration' is set to 'on' on google_sql_database_instance.db
    checkovexamples/gateway/gcp/terraform/main.tf:107
  • Ensure RDS database has IAM authentication enabled
    Ensure RDS database has IAM authentication enabled on aws_db_instance.db
    checkovexamples/gateway/aws/terraform/main.tf:240
  • Ensure RDS instance with copy tags to snapshots is enabled
    Ensure RDS instance with copy tags to snapshots is enabled on aws_db_instance.db
    checkovexamples/gateway/aws/terraform/main.tf:240
  • Ensure RDS Performance Insights are encrypted using KMS CMKs
    Ensure RDS Performance Insights are encrypted using KMS CMKs on aws_db_instance.db
    checkovexamples/gateway/aws/terraform/main.tf:240
  • Ensure Secrets Manager secrets should have automatic rotation enabled
    Ensure Secrets Manager secrets should have automatic rotation enabled on aws_secretsmanager_secret.postgres_url
    checkovexamples/gateway/aws/terraform/main.tf:271
  • Ensure Secrets Manager secrets should have automatic rotation enabled
    Ensure Secrets Manager secrets should have automatic rotation enabled on aws_secretsmanager_secret.jwt
    checkovexamples/gateway/aws/terraform/main.tf:295
  • Ensure Secrets Manager secrets should have automatic rotation enabled
    Ensure Secrets Manager secrets should have automatic rotation enabled on aws_secretsmanager_secret.oidc
    checkovexamples/gateway/aws/terraform/main.tf:307
  • Ensure that ALB drops HTTP headers
    Ensure that ALB drops HTTP headers on aws_lb.gateway
    checkovexamples/gateway/aws/terraform/main.tf:425
  • Ensure that CloudWatch Log Group is encrypted by KMS
    Ensure that CloudWatch Log Group is encrypted by KMS on aws_cloudwatch_log_group.gateway
    checkovexamples/gateway/aws/terraform/main.tf:339
  • Ensure that ECR repositories are encrypted using KMS
    Ensure that ECR repositories are encrypted using KMS on aws_ecr_repository.repo
    checkovexamples/gateway/aws/terraform/main.tf:191
  • Ensure that enhanced monitoring is enabled for Amazon RDS instances
    Ensure that enhanced monitoring is enabled for Amazon RDS instances on aws_db_instance.db
    checkovexamples/gateway/aws/terraform/main.tf:240
  • Ensure that HEALTHCHECK instructions have been added to container images
    Ensure that HEALTHCHECK instructions have been added to container images on /examples/gateway/aws/Dockerfile.
    checkovexamples/gateway/aws/Dockerfile:1
  • Ensure that HEALTHCHECK instructions have been added to container images
    Ensure that HEALTHCHECK instructions have been added to container images on /examples/gateway/gcp/Dockerfile.
    checkovexamples/gateway/gcp/Dockerfile:1
  • Ensure that private_ip_google_access is enabled for Subnet
    Ensure that private_ip_google_access is enabled for Subnet on google_compute_subnetwork.subnet
    checkovexamples/gateway/gcp/terraform/main.tf:76
  • Ensure that RDS instances have Multi-AZ enabled
    Ensure that RDS instances have Multi-AZ enabled on aws_db_instance.db
    checkovexamples/gateway/aws/terraform/main.tf:240
  • Ensure that RDS instances have performance insights enabled
    Ensure that RDS instances have performance insights enabled on aws_db_instance.db
    checkovexamples/gateway/aws/terraform/main.tf:240
  • Ensure that respective logs of Amazon Relational Database Service (Amazon RDS) are enabled
    Ensure that respective logs of Amazon Relational Database Service (Amazon RDS) are enabled on aws_db_instance.db
    checkovexamples/gateway/aws/terraform/main.tf:240
  • Ensure that Secrets Manager secret is encrypted using KMS CMK
    Ensure that Secrets Manager secret is encrypted using KMS CMK on aws_secretsmanager_secret.postgres_url
    checkovexamples/gateway/aws/terraform/main.tf:271
  • Ensure that Secrets Manager secret is encrypted using KMS CMK
    Ensure that Secrets Manager secret is encrypted using KMS CMK on aws_secretsmanager_secret.jwt
    checkovexamples/gateway/aws/terraform/main.tf:295
  • Ensure that Secrets Manager secret is encrypted using KMS CMK
    Ensure that Secrets Manager secret is encrypted using KMS CMK on aws_secretsmanager_secret.oidc
    checkovexamples/gateway/aws/terraform/main.tf:307
  • Ensure that VPC Flow Logs is enabled for every subnet in a VPC Network
    Ensure that VPC Flow Logs is enabled for every subnet in a VPC Network on google_compute_subnetwork.subnet
    checkovexamples/gateway/gcp/terraform/main.tf:76
  • Ensure the ELBv2 (Application/Network) has access logging enabled
    Ensure the ELBv2 (Application/Network) has access logging enabled on aws_lb.gateway
    checkovexamples/gateway/aws/terraform/main.tf:425
  • Ensure the GCP PostgreSQL database log levels are set to ERROR or lower
    Ensure the GCP PostgreSQL database log levels are set to ERROR or lower on google_sql_database_instance.db
    checkovexamples/gateway/gcp/terraform/main.tf:107
  • Ensure top-level permissions are not set to write-all
    Ensure top-level permissions are not set to write-all on on(Claude Issue Triage)
    checkov.github/workflows/claude-issue-triage.yml:18
  • Ensure top-level permissions are not set to write-all
    Ensure top-level permissions are not set to write-all on on(Log Issue Events to Statsig)
    checkov.github/workflows/log-issue-events.yml:10
  • Ensure top-level permissions are not set to write-all
    Ensure top-level permissions are not set to write-all on on(Claude Code)
    checkov.github/workflows/claude.yml:21
  • Claude Code Action: Malicious MCP Server Configuration in PRs Enables Remote Code Execution and Secret Exfiltration
    grypeCVE-2026-47751EPSS 0.6%
  • Possible hardcoded secret assigned to a credential-like variable. Move it to a secret store / env var. (First-party socbox rule; Apache-2.0.)
    Possible hardcoded secret assigned to a credential-like variable. Move it to a secret store / env var. (First-party socbox rule; Apache-2.0.)
    semgrepplugins/plugin-dev/skills/mcp-integration/references/authentication.md:153
  • Possible hardcoded secret assigned to a credential-like variable. Move it to a secret store / env var. (First-party socbox rule; Apache-2.0.)
    Possible hardcoded secret assigned to a credential-like variable. Move it to a secret store / env var. (First-party socbox rule; Apache-2.0.)
    semgrepexamples/gateway/aws/setup.sh:634
  • Possible hardcoded secret assigned to a credential-like variable. Move it to a secret store / env var. (First-party socbox rule; Apache-2.0.)
    Possible hardcoded secret assigned to a credential-like variable. Move it to a secret store / env var. (First-party socbox rule; Apache-2.0.)
    semgrepexamples/gateway/gcp/setup.sh:64
  • Possible hardcoded secret assigned to a credential-like variable. Move it to a secret store / env var. (First-party socbox rule; Apache-2.0.)
    Possible hardcoded secret assigned to a credential-like variable. Move it to a secret store / env var. (First-party socbox rule; Apache-2.0.)
    semgrepexamples/gateway/gcp/setup.sh:302
  • Possible hardcoded secret assigned to a credential-like variable. Move it to a secret store / env var. (First-party socbox rule; Apache-2.0.)
    Possible hardcoded secret assigned to a credential-like variable. Move it to a secret store / env var. (First-party socbox rule; Apache-2.0.)
    semgrepexamples/gateway/gcp/setup.sh:304
  • Possible hardcoded secret assigned to a credential-like variable. Move it to a secret store / env var. (First-party socbox rule; Apache-2.0.)
    Possible hardcoded secret assigned to a credential-like variable. Move it to a secret store / env var. (First-party socbox rule; Apache-2.0.)
    semgrepexamples/gateway/gcp/setup.sh:308
  • Possible hardcoded secret assigned to a credential-like variable. Move it to a secret store / env var. (First-party socbox rule; Apache-2.0.)
    Possible hardcoded secret assigned to a credential-like variable. Move it to a secret store / env var. (First-party socbox rule; Apache-2.0.)
    semgrepexamples/gateway/gcp/setup.sh:310
  • Possible hardcoded secret assigned to a credential-like variable. Move it to a secret store / env var. (First-party socbox rule; Apache-2.0.)
    Possible hardcoded secret assigned to a credential-like variable. Move it to a secret store / env var. (First-party socbox rule; Apache-2.0.)
    semgrepexamples/gateway/gcp/terraform/terraform.tfvars.example:26
  • Possible hardcoded secret assigned to a credential-like variable. Move it to a secret store / env var. (First-party socbox rule; Apache-2.0.)
    Possible hardcoded secret assigned to a credential-like variable. Move it to a secret store / env var. (First-party socbox rule; Apache-2.0.)
    semgrepplugins/plugin-dev/skills/mcp-integration/references/authentication.md:101
  • Possible hardcoded secret assigned to a credential-like variable. Move it to a secret store / env var. (First-party socbox rule; Apache-2.0.)
    Possible hardcoded secret assigned to a credential-like variable. Move it to a secret store / env var. (First-party socbox rule; Apache-2.0.)
    semgrepexamples/gateway/aws/setup.sh:627
  • Possible hardcoded secret assigned to a credential-like variable. Move it to a secret store / env var. (First-party socbox rule; Apache-2.0.)
    Possible hardcoded secret assigned to a credential-like variable. Move it to a secret store / env var. (First-party socbox rule; Apache-2.0.)
    semgrepplugins/plugin-dev/skills/mcp-integration/references/authentication.md:154
  • Possible hardcoded secret assigned to a credential-like variable. Move it to a secret store / env var. (First-party socbox rule; Apache-2.0.)
    Possible hardcoded secret assigned to a credential-like variable. Move it to a secret store / env var. (First-party socbox rule; Apache-2.0.)
    semgrepplugins/plugin-dev/skills/mcp-integration/references/authentication.md:199
  • Possible hardcoded secret assigned to a credential-like variable. Move it to a secret store / env var. (First-party socbox rule; Apache-2.0.)
    Possible hardcoded secret assigned to a credential-like variable. Move it to a secret store / env var. (First-party socbox rule; Apache-2.0.)
    semgrepplugins/plugin-dev/skills/mcp-integration/references/authentication.md:212
  • Possible hardcoded secret assigned to a credential-like variable. Move it to a secret store / env var. (First-party socbox rule; Apache-2.0.)
    Possible hardcoded secret assigned to a credential-like variable. Move it to a secret store / env var. (First-party socbox rule; Apache-2.0.)
    semgrepplugins/plugin-dev/skills/mcp-integration/references/authentication.md:370
  • Enable automated backups to recover from data-loss
    Automated backups are not enabled by default. Backups are an easy way to restore data in a corruption or data-loss scenario.
    trivyexamples/gateway/gcp/terraform/main.tf:107
  • Ensure that logging of checkpoints is enabled.
    Logging checkpoints provides useful diagnostic data, which can identify performance issues in an application and potential DoS vectors.
    trivyexamples/gateway/gcp/terraform/main.tf:107
  • Ensure that logging of connections is enabled.
    Logging connections provides useful diagnostic data such as session length, which can identify performance issues in an application and potential DoS vectors.
    trivyexamples/gateway/gcp/terraform/main.tf:107
  • Ensure that logging of disconnections is enabled.
    Logging disconnections provides useful diagnostic data such as session length, which can identify performance issues in an application and potential DoS vectors.
    trivyexamples/gateway/gcp/terraform/main.tf:107
  • Ensure that logging of lock waits is enabled.
    Lock waits are often an indication of poor performance and often an indicator of a potential denial of service vulnerability, therefore occurrences should be logged for analysis.
    trivyexamples/gateway/gcp/terraform/main.tf:107
  • RDS Cluster and RDS instance should have backup retention longer than default 1 day
    RDS backup retention for clusters defaults to 1 day, this may not be enough to identify and respond to an issue. Backup retention periods should be set to a period that is a balance on cost and limiting risk.
    trivyexamples/gateway/aws/terraform/main.tf:240
  • RDS IAM Database Authentication Disabled
    Ensure IAM Database Authentication is enabled for RDS database instances to manage database access
    trivyexamples/gateway/aws/terraform/main.tf:240
  • Temporary file logging should be enabled for all temporary files.
    Temporary files are not logged by default. To log all temporary files, a value of `0` should set in the `log_temp_files` flag - as all files greater in size than the number of bytes set in this flag will be logged.
    trivyexamples/gateway/gcp/terraform/main.tf:107

This report is public.