October 2026 change log

This change log includes updates to detectors made in October 2026.


Added and updated rules

Feature Add

CloudFormation

  • cloudformation-mq-broker-restrict-public-access
    • Detects Amazon MQ brokers exposed to the public internet (CWE-284), which can be targeted for unauthorized access, brute-force, or denial-of-service attacks.
  • cloudformation-param-store-restrict-secrets
    • Detects hardcoded secrets in SSM Parameter Store values (CWE-798), which anyone with access to the source or stack can read and which cannot be rotated easily, leading to credential compromise.

Python

  • python-hardcoded-credentials-crypto-http
    • Detects hardcoded credentials used as encryption keys, hashing inputs, certificate passwords, and HTTP request tokens (CWE-798).
    • Does not flag load_pem_private_key() calls that pass an empty password as a bytes literal (b'').
  • python-hardcoded-credentials-db-url
    • Detects hardcoded credentials in database passwords, connection strings, and broker/DSN URLs (CWE-798).

Terraform

  • terraform-apigatewayv2-require-authorization-type
    • Detects API Gateway V2 routes with no authorization (CWE-306), leaving the route exposed so that anyone can invoke the API.
  • terraform-appsync-cache-encrypt-at-rest
    • Detects AppSync API caches that are not encrypted at rest (CWE-311), where cached GraphQL responses that can contain sensitive data are readable at rest.
  • terraform-appsync-cache-encrypt-in-transit
    • Detects AppSync API caches that are not encrypted in transit (CWE-319), where cached GraphQL responses that can contain sensitive data are readable in transit.
  • terraform-avoid-iam-root-access-keys
    • Detects access keys created for an IAM user named root (CWE-269). A user with that name is typically given broad privileges, and long-lived access keys for it can lead to account compromise if exposed.
  • terraform-cloudsearch-domain-latest-tls
    • Detects CloudSearch domains that allow older TLS versions (CWE-326), exposing client connections to known weaknesses in TLS 1.0 and 1.1.
  • terraform-cloudtrail-event-store-encrypt-cmk
    • Detects CloudTrail event data stores that are not encrypted with a customer-managed KMS key (CMK) (CWE-311), so they rely on an AWS-managed key, which gives you less control over key rotation and the key policy.
  • terraform-datasync-object-storage-restrict-secrets
    • Detects hardcoded secrets in DataSync object storage locations (CWE-798), which anyone with access to the source or state can read and which cannot be rotated easily, leading to credential compromise.
  • terraform-db-instance-deletion-protection
    • Detects database instances without deletion protection (CWE-284), which can be deleted accidentally or maliciously, causing data loss and service disruption.
  • terraform-db-snapshot-restrict-public
    • Detects database snapshots shared publicly with every AWS account (CWE-284), which anyone can copy and restore, exposing all the data they contain.
  • terraform-disable-transit-gateway-auto-accept
    • Detects Transit Gateways that automatically accept cross-account VPC attachment requests without review (CWE-284), which can allow untrusted VPCs to attach and route traffic through the network, expanding the attack surface.
  • terraform-docdb-cluster-encrypt-cmk
    • Detects DocumentDB clusters that are not encrypted with a CMK (CWE-311), so they rely on an AWS-managed key, which gives you less control over key rotation and the key policy.
  • terraform-ecs-service-restrict-public-ip
    • Detects ECS services that give their tasks public IP addresses (CWE-200), exposing task workloads directly to the internet and increasing the attack surface.
  • terraform-eks-restrict-public-endpoint
    • Detects EKS clusters whose Kubernetes API server endpoint is exposed to the public internet (CWE-284), increasing the attack surface of the cluster.
  • terraform-elasticache-repl-group-encrypt-cmk
    • Detects ElastiCache replication groups that are not encrypted with a CMK (CWE-311), so they rely on an AWS-managed key, which gives you less control over key rotation and the key policy.
  • terraform-elasticsearch-configure-vpc
    • Detects Elasticsearch and OpenSearch domains created with a public endpoint instead of inside a VPC (CWE-668), making them reachable from the internet and widening the attack surface.
  • terraform-elasticsearch-encrypt-at-rest-cmk
    • Detects Elasticsearch and OpenSearch domains whose data at rest is not encrypted with a CMK (CWE-311), so they rely on an AWS-managed key, which gives you less control over key rotation and the key policy.
  • terraform-emr-block-public-access
    • Detects the account-level EMR block public access guardrail being turned off (CWE-284), which lets EMR clusters be launched with security groups that expose them to the public internet.
  • terraform-emr-security-config-encrypt-ebs
    • Detects EMR security configurations that do not encrypt EBS volumes at rest (CWE-311), leaving cluster data at rest readable if the storage is compromised.
  • terraform-emr-security-config-encrypt-in-transit
    • Detects EMR security configurations without in-transit encryption (CWE-311), so data exchanged between cluster nodes can be intercepted on the network.
  • terraform-enable-ebs-default-encryption
    • Detects EBS default encryption being disabled (CWE-311), so newly created EBS volumes and snapshots may be stored unencrypted at rest.
  • terraform-enable-kms-key
    • Detects disabled KMS keys (CWE-693), which cannot perform cryptographic operations, so dependent resources can fail to encrypt or decrypt data and may lose access to data already protected by the key.
  • terraform-enable-memorydb-transit-encryption
    • Detects MemoryDB clusters that do not enforce TLS (CWE-319), so data exchanged between clients and the cluster travels unencrypted and can be intercepted or tampered with on the network.
  • terraform-encrypt-codebuild-s3-logs
    • Detects CodeBuild projects that store build logs unencrypted in Amazon S3 (CWE-311), risking disclosure of sensitive data such as credentials or configuration.
  • terraform-encrypt-emr-local-disk
    • Detects EMR security configurations without at-rest encryption for local disks (CWE-311), so data written to cluster node local storage is unencrypted and sensitive data processed by the cluster risks disclosure.
  • terraform-iam-password-policy-expire-90-days
    • Detects IAM account password policies that let passwords never expire or expire after more than 90 days (CWE-262), increasing the window for compromised credentials to be abused.
  • terraform-iam-password-policy-require-lowercase
    • Detects IAM account password policies that do not require a lowercase letter (CWE-521); passwords without character diversity are easier to guess or brute-force.
  • terraform-iam-password-policy-require-min-length
    • Detects IAM account password policies that do not require a minimum password length of 14 (CWE-521); short passwords are easier to guess or brute-force.
  • terraform-iam-password-policy-require-number
    • Detects IAM account password policies that do not require a number (CWE-521); passwords without character diversity are easier to guess or brute-force.
  • terraform-iam-password-policy-require-symbol
    • Detects IAM account password policies that do not require a symbol (CWE-521); passwords without character diversity are easier to guess or brute-force.
  • terraform-iam-password-policy-require-uppercase
    • Detects IAM account password policies that do not require an uppercase letter (CWE-521); passwords without character diversity are easier to guess or brute-force.
  • terraform-iam-policy-restrict-admin-access
    • Detects use of the AWS managed AdministratorAccess policy (CWE-269), which grants unrestricted access to all AWS services and resources and greatly increases the blast radius if the identity is compromised.
  • terraform-iam-policy-restrict-wildcard-resource
    • Detects IAM policy statements that use a wildcard resource for actions that support resource-level restrictions (CWE-284), granting far broader access than necessary and increasing the blast radius if the identity is compromised.
  • terraform-iam-restrict-admin-access-entities
    • Detects IAM roles, users, groups, and policy attachments that grant the AWS managed AdministratorAccess policy (CWE-269), which allows unrestricted access to all AWS services and resources and violates least privilege.
  • terraform-iam-restrict-all-principal-access
    • Detects IAM policy statements that grant access to any AWS principal (CWE-284), making the resource effectively public and open to unauthorized access or privilege abuse.
  • terraform-iam-restrict-credentials-exposure
    • Detects IAM policies that grant actions which return or manage credentials (CWE-269), letting a compromised identity create new access keys, re-enable deactivated ones, or obtain federated credentials that remain valid after its own access key is revoked.
  • terraform-iam-restrict-data-exfiltration
    • Detects IAM policies that grant actions allowing an identity to exfiltrate data (CWE-269), letting a compromised identity read and move sensitive data out of the account.
  • terraform-iam-restrict-permissions-management
    • Detects IAM policies that grant permissions management actions (such as modifying policies, roles, or access keys) on all resources without a constraint (CWE-284), letting a principal escalate its own privileges or grant access to others.
  • terraform-iam-restrict-privilege-escalation
    • Detects IAM policies that grant a combination of actions letting an identity escalate its own privileges (CWE-269), undermining least privilege and enabling account compromise.
  • terraform-iam-restrict-wildcard-resource
    • Detects IAM policy document statements that use a wildcard resource for actions that support resource-level restrictions (CWE-284), granting far broader access than necessary and increasing the blast radius if the identity is compromised.
  • terraform-iam-restrict-write-access
    • Detects IAM policies that grant write actions on all resources without a constraint (CWE-284), letting a principal modify or delete resources it should not control and increasing the blast radius on compromise.
  • terraform-kinesis-firehose-encrypt-stream
    • Detects Kinesis Firehose delivery streams without server-side encryption (CWE-311), leaving buffered and delivered data unencrypted at rest and exposed if the storage is compromised.
  • terraform-kinesis-stream-encrypt-cmk
    • Detects Kinesis streams that are not encrypted with a CMK (CWE-311), so they rely on an AWS-managed key, which gives you less control over key rotation and the key policy.
  • terraform-lambda-restrict-public-access
    • Detects Lambda functions that anyone can invoke (CWE-284), which can lead to abuse, unexpected cost, or unauthorized data processing.
  • terraform-mq-broker-restrict-public-access
    • Detects Amazon MQ brokers exposed to the public internet (CWE-284), which can be targeted for unauthorized access, brute-force, or denial-of-service attacks.
  • terraform-nacl-restrict-ingress-all-ports
    • Detects network ACL ingress rules that do not restrict the port range (CWE-284), widening the attack surface and exposing services that should not be reachable.
  • terraform-nacl-restrict-ingress-ftp-data-port20
    • Detects network ACLs that expose the FTP data port to the entire internet (CWE-284), allowing anyone to attempt connections and increasing the attack surface.
  • terraform-nacl-restrict-ingress-ftp-port21
    • Detects network ACLs that expose the FTP control port to the entire internet (CWE-284), allowing anyone to attempt connections and increasing the attack surface.
  • terraform-nacl-restrict-ingress-rdp-port3389
    • Detects network ACLs that expose the Remote Desktop (RDP) port to the entire internet (CWE-284), enabling brute-force and exploitation attempts against Windows hosts.
  • terraform-nacl-restrict-ingress-ssh-port22
    • Detects network ACLs that expose the SSH port to the entire internet (CWE-284), enabling brute-force and exploitation attempts against hosts.
  • terraform-neptune-cluster-encrypt-cmk
    • Detects Neptune clusters that are not encrypted with a CMK (CWE-311), because enabling storage_encrypted without a key uses the AWS-managed key, which gives you less control over key rotation and the key policy.
  • terraform-neptune-cluster-iam-db-auth
    • Detects Neptune clusters without IAM database authentication (CWE-306). Neptune has no native database users or passwords, so requests are not authenticated and only network controls (VPC and security groups) restrict access, letting anyone who can reach the cluster endpoint issue queries.
  • terraform-network-firewall-deletion-protection
    • Detects Network Firewalls without deletion protection (CWE-284), which can be deleted accidentally or by an attacker, removing network controls and exposing protected subnets.
  • terraform-rds-cluster-enable-deletion-protection
    • Detects RDS clusters without deletion protection (CWE-284), which can be deleted accidentally or by an attacker, causing data loss and service disruption.
  • terraform-rds-cluster-encrypt-cmk
    • Detects RDS clusters that are not encrypted with a CMK (CWE-311), because enabling storage_encrypted without a key uses the AWS-managed key, which gives you less control over key rotation and the key policy.
  • terraform-rds-global-cluster-encrypt-storage
    • Detects RDS global clusters with unencrypted storage (CWE-311), leaving data at rest readable if the underlying media is compromised.
  • terraform-rds-instance-enable-backup-retention
    • Detects RDS instances and clusters without a valid automated backup retention period (CWE-1188), so point-in-time recovery is not possible and data cannot be restored after loss or corruption.
  • terraform-redshift-cluster-encrypt-kms
    • Detects Redshift clusters whose data at rest is not encrypted with a CMK (CWE-311), so they rely on an AWS-managed key, which gives you less control over key rotation and the key policy.
  • terraform-redshift-restrict-common-user-public
    • Detects publicly accessible Redshift clusters that use a commonly guessed administrator username (CWE-284), which makes brute-force and credential-guessing attacks far easier.
  • terraform-restrict-s3-principal-action-custom
    • Detects S3 bucket policies that allow an action to any principal (CWE-284), including policies written with jsonencode() that the built-in check cannot parse.
  • terraform-restrict-sagemaker-notebook-internet
    • Detects SageMaker notebook instances with direct internet access enabled (CWE-284), which widens the attack surface and can enable data exfiltration or unauthorized access.
  • terraform-s3-access-point-block-public
    • Detects S3 access points with every public access guardrail disabled (CWE-284), so bucket policies or ACLs can expose data through the access point to the public internet.
  • terraform-sagemaker-notebook-in-custom-vpc
    • Detects SageMaker notebook instances that are not launched into a custom VPC (CWE-668), exposing them to a broader network surface.
  • terraform-secrets-manager-rotation-90-days
    • Detects Secrets Manager rotation configurations that rotate every 90 days or less often (CWE-262), so a leaked secret gives an attacker prolonged access.
  • terraform-ses-config-set-enforce-tls
    • Detects SES configuration sets that allow optional TLS (CWE-319), letting email be delivered over an unencrypted connection and exposing message contents in transit.
  • terraform-sqs-queue-policy-restrict-public
    • Detects Amazon SQS queue policies that allow access from any principal (CWE-284), letting untrusted parties send or receive messages and enabling data tampering, message injection, or information disclosure.
  • terraform-ssm-document-restrict-public
    • Detects SSM documents shared publicly with every AWS account (CWE-284), which anyone can read and which may reveal commands, parameters, or automation logic that aids an attacker.
  • terraform-vpc-subnet-restrict-public-ip
    • Detects VPC subnets that assign public IP addresses to instances by default (CWE-200), unintentionally exposing them to the public internet and increasing the attack surface.
  • terraform-waf-acl-not-empty
    • Detects WAF web ACLs that define no rules (CWE-693), so they inspect no traffic and provide no protection.

Bug Fixes / Enhancement

Go

  • go-integer-overflow
    • Fixed false positives by replacing hardcoded literal exclusions with range validation: conversions are no longer flagged when the string literal passed to strconv.Atoi() fits the target type (int8, int16, int32, uint8 or its alias byte, uint16).
  • go-subproc
    • Reduced false positives when the command executable is checked against a fixed string value before being passed to exec.Command(), exec.CommandContext(), syscall.ForkExec(), or syscall.StartProcess().

Java

  • java-path-traversal-fileio
    • Removed recognized safe usages that do not apply to file I/O path traversal (for example, JFileChooser, ModelView, SecurityManager checks, and XML parser settings), and stopped treating FilenameUtils.getFullPath() as safe because it keeps ../ segments.
    • Tightened regex validation so that only anchored allowlist patterns are recognized as safe; looser matches() and Pattern.matches() checks no longer suppress findings. Consolidated the allowlist contains() and contains("..") safe usages, and now also recognize validation that throws an exception instead of returning early.
  • java-path-traversal-fileutils
    • Removed recognized safe usages that do not apply to FileUtils and ResourceUtils file operations (for example, JFileChooser, SecurityManager checks, and XML parser settings), and stopped treating FilenameUtils.getFullPath() as safe because it keeps ../ segments.
    • Tightened regex validation so that only anchored allowlist patterns are recognized as safe; looser matches() and Pattern.matches() checks no longer suppress findings. Consolidated the allowlist contains() and contains("..") safe usages, and now also recognize validation that throws an exception instead of returning early.

Kotlin

  • kotlin-accessing-android-external-storage
    • Added detection for data written to Android external storage through the Kotlin file APIs bufferedWriter(), writer(), and printWriter(), and additional FileOutputStream creation forms.
    • Added externalCacheDir as an external storage location, and covered paths from getExternalStorageDirectory() and getExternalFilesDir() that are stored in intermediate variables before file creation.
  • kotlin-anonymous-ldap-bind
    • Added case-insensitive detection of SECURITY_AUTHENTICATION = "none" to catch values such as "None" or "NONE".
    • Added detection for the setProperty() method when configuring anonymous LDAP authentication.
    • Fixed missed detections when the authentication type is assigned via an intermediate variable.
  • kotlin-clear-text-protocol
    • Added detection for clear-text URL schemes passed to URL(), including http, ftp, telnet, ldap, ws, redis, amqp, sip, and nntp (TLS variants are not flagged).
    • Added detection for SMTP configured on the clear-text port 25 via mail.smtp.port.
    • Extended WebView mixed-content detection to mixedContentMode property assignments and to MIXED_CONTENT_COMPATIBILITY_MODE, alongside MIXED_CONTENT_ALWAYS_ALLOW.
  • kotlin-cookie-missing-httponly
    • Added detection for Spring ResponseCookie.from(...).build() without .httpOnly(true), and Ktor cookies.append(Cookie(...)) without httpOnly = true.
    • Extended servlet cookie detection to val and var declarations and to jakarta.servlet.http.Cookie (including when imported under the alias JakartaCookie), recognizing httpOnly, isHttpOnly, and setHttpOnly(true) as safe.
  • kotlin-cookie-missing-secure-flag
    • Added detection for Spring ResponseCookie.from(...).build() without .secure(true), Ktor cookies.append(Cookie(...)) without secure = true, and jakarta.servlet.http.Cookie instances (including when imported under the alias JakartaCookie) added to a response.
    • Fixed false positives on locally built cookies that are secured afterwards with setSecure(true) or .secure = true.
  • kotlin-crypto-key-generator
    • Added detection for the weak algorithms DES, DESede, and RC4 in KeyGenerator.getInstance() calls.
    • Added detection for predictable key generation from hardcoded seeds in the SecureRandom constructor and the setSeed() method.
    • Added detection for the weak PBKDF2 algorithm PBKDF2WithHmacSHA1 in SecretKeyFactory.getInstance().
    • Added detection for generator re-initialization after use: init() after generateKey() on KeyGenerator, and initialize() after generateKeyPair() on KeyPairGenerator.
  • kotlin-hardcoded-secrets-basic-ide
    • Added detection for hardcoded credentials in by lazy properties and as fallback values in System.getenv(...) ?: "...".
    • Added detection for Azure Storage (AccountKey), Azure Service Bus (SharedAccessKey), and SQL Server (Server=) connection strings with embedded credentials.
    • Added detection for credentials returned by functions named for vendor tokens, such as GitHub, GitLab, Stripe, Slack, Telegram, and SendGrid.
    • Fixed false positives on identifier names such as secretId, secretName, secretArn, secretPath, and projectId.
  • kotlin-hardcoded-secrets-library-ide
    • Added detection for vendor token formats from GitHub, GitLab, Stripe, Slack, SendGrid, AWS access key IDs, and Google API keys, as well as JWTs and PEM private keys.
    • Added detection for hardcoded credentials passed to GitLabApi(...), SendGrid(...), and Twilio.init(...), and broadened setApiKey(...) coverage.
    • Reduced false positives by requiring credential literals to be at least 14 characters and contain a digit or special character, and avoided double-reporting a value that matches a vendor token format.
  • kotlin-integer-overflow
    • Added detection for integer overflow when Long literals outside Int range are converted via .toInt(), including when the literal is assigned to a variable before conversion.
  • kotlin-ldap-injection
    • Broadened untrusted input to any request.getParameter(...) and other servlet request accessors (headers, query string, path info, body readers), instead of only specific concatenation forms.
    • Added FilterParser.parse() as an LDAP injection point.
    • Added LdapEncoder.filterEncode() and chained .replace() calls that escape LDAP metacharacters (\, (, ), *) as recognized safe usages.
  • kotlin-server-side-request-forgery
    • Added Spring @RequestHeader and @RequestBody parameters, and broader @RequestParam and getParameter() forms, as untrusted URL inputs.
    • Added URL(...).openConnection(), OkHttp Request.Builder().url(...), and Apache HttpGet(...) as request points.
    • Reduced false positives when the URL is checked against an allowlist (contains()) or a regex (matches(), Pattern.matcher(...).matches()) before use.
  • kotlin-unencrypted-databases
    • Added detection for unencrypted SQLite databases accessed through the SQLiteOpenHelper properties .writableDatabase and .readableDatabase.
    • Added detection for unencrypted databases created through Context.openOrCreateDatabase() and SQLiteDatabase.openDatabase().
    • Fixed false positives on SQLCipher databases, which are encrypted by design.
    • Fixed false positives on Realm databases configured with .encryptionKey(...), which are now recognized in any builder chain layout rather than one fixed format.
  • kotlin-use-of-weak-hashes
    • Fixed missed detections of weak hash algorithms written in lowercase or mixed case (for example, MessageDigest.getInstance("md5")). Matching for MD2, MD4, MD5, SHA1, SHA-1, RIPEMD160, and RIPEMD-160 is now case-insensitive.
  • kotlin-webview-debug-feature
    • Broadened detection of setWebContentsDebuggingEnabled(...) to any receiver and any value other than false, including variables.
    • Fixed false positives when debugging is enabled only inside BuildConfig.DEBUG checks (including combined && conditions) or ApplicationInfo.FLAG_DEBUGGABLE checks, and removed an overly broad exclusion for any surrounding if block.
  • kotlin-webviews-security
    • Added detection for insecure WebView settings assigned through a WebSettings variable (for example, settings.javaScriptEnabled = true), in addition to setter calls.
    • Added detection for the allowUniversalAccessFromFileURLs and allowFileAccessFromFileURLs properties, which allow cross-origin access from file:// URLs.
  • kotlin-xml-decoder
    • Added detection for XXE through XMLReaderFactory.createXMLReader(), whether parse() is chained directly or called on a reader stored in a variable.
    • Added detection when a DocumentBuilderFactory is stored in a variable and later used via newDocumentBuilder().parse(...).
  • kotlin-xxe-in-xml
    • Added detection for XXE vulnerabilities in dom4j SAXReader.read(), jdom2 SAXBuilder.build(), XOM Builder.build(), Apache Commons Digester.parse(), standalone SAXParser.parse(), and StAX XMLInputFactory.createXMLEventReader().
    • Fixed false positives in DocumentBuilderFactory by recognizing safe configurations that set both ACCESS_EXTERNAL_DTD and ACCESS_EXTERNAL_SCHEMA to empty strings.
    • Added parser-specific safe-configuration exclusions (disallow-doctype-decl or disabled external entities).

PHP

  • php-cross-site-scripting-ide
    • Added echo, print, printf, and print_r as XSS output points, and do_shortcode() output that is echoed, printed, or returned.
    • Added $_SERVER entries that an attacker can control (for example, HTTP_*, REQUEST_URI, QUERY_STRING, PHP_SELF) as untrusted input.
    • Fixed false positives by treating default json_encode() output as safe, while still flagging calls with flags that disable escaping.
  • php-csrf-missing-protection-ide
    • Added detection for handlers that change state from $_POST/$_GET input (WordPress update_option(), update_user_meta(), delete_option(), or $stmt->execute() database mutations) without verifying a CSRF token via hash_equals(), check_ajax_referer(), check_admin_referer(), or wp_verify_nonce().
    • Added detection for Laravel Route::post(...) and router ->post(...) routes registered without CSRF middleware. Routes protected by a ->middleware(...) chain, Route::middleware(...), or a route group are not flagged.
  • php-echoed-request
    • Added printf and print_r as output points, and $_COOKIE and attacker-controllable $_SERVER entries as untrusted input.
  • php-hardcoded-credentials-basic-ide
    • Added detection for embedded PEM private keys (RSA, DSA, EC, OpenSSH, encrypted, and PGP) in source code. A full key literal is required, so a bare header string is not flagged.
    • Added detection for hardcoded credentials supplied as non-empty defaults to config(), env(), and setParameter().

Python

  • python-cdk-app-sync-graph-ql-request-logging
    • Added detection for L2 GraphqlApi constructs (including aliased and fully-qualified forms) with no log_config, or with field_log_level set to NONE.
  • python-cdk-lambda-latest-version
    • Added NODEJS, NODEJS_4_3, NODEJS_6_10, NODEJS_8_10, NODEJS_10_X, NODEJS_12_X, NODEJS_18_X, NODEJS_20_X, PYTHON_2_7, PYTHON_3_6, PYTHON_3_9, RUBY_3_2, DOTNET_CORE_1, DOTNET_CORE_2, DOTNET_6, PROVIDED, and PROVIDED_AL2 to the deprecated Runtime values flagged on Function and CfnFunction.
    • Fixed false positives on supported runtime strings such as "python3.12" and "nodejs22.x". String runtimes are now flagged only when they are not on the supported list.
  • python-cdk-neptune-cluster-multi-az
    • Added detection for L2 DatabaseCluster constructs (including aws_neptune_alpha) created without instances or with fewer than 2 instances.
    • CfnDBCluster is now flagged when availability_zones is omitted or lists fewer than two zones; previously only a single-zone list was flagged. The check now also covers the aws_neptune module alias import style.
  • python-cdk-rds-instance-backup-enabled
    • Fixed false negatives on L2 DatabaseInstance and DatabaseInstanceFromSnapshot constructs that disable backups with backup_retention=Duration.days(0), including when the duration is stored in a variable, returned from a helper function or lambda, or taken from a list.
    • Extended CfnDBInstance detection to all import styles (for example, import aws_cdk as cdk). Previously only the direct import and the rds alias were covered.
    • Fixed retention comparisons so values are evaluated as integers.
  • python-cdk-redshift-backup-enabled
    • Added detection for out-of-range automated_snapshot_retention_period values (below 1 or above 35) on CfnCluster when the value comes from a helper function or lambda, dictionary lookup, or object attribute.
    • Fixed retention comparisons so values are evaluated as integers.
  • python-cdk-redshift-cluster-in-vpc
    • Fixed false negatives where cluster_subnet_group_name=None was treated as a valid VPC configuration.
  • python-cdk-redshift-enable-user-activity-logging
    • Added detection for L2 aws_redshift_alpha Cluster constructs whose parameter group does not enable enable_user_activity_logging.
    • Recognized parameter groups that enable user activity logging, so properly configured clusters are not flagged.
  • python-hardcoded-credentials-for-library-ide
    • Moved database/connection-string checks and cryptographic/HTTP credential checks into the new python-hardcoded-credentials-db-url and python-hardcoded-credentials-crypto-http rules to fix scan timeouts on large files.
  • python-hardcoded-credentials-ide
    • Added credential names such as identityToken, appToken, authkey, sas_token, *_api_key, and tokens prefixed with trigger, runner, grafana, telegram, plugin, verification, refresh, or webhook.

Ruby

  • ruby-cross-site-scripting-ide
    • Fixed false positives by flagging string interpolation and concatenation only when the string contains an HTML tag.

Scala

  • scala-cookie-http-only
    • Fixed false negatives where Akka HTTP HttpCookie and Play Framework Cookie instances missing the httpOnly flag were not detected because the code imported other classes from akka.http.scaladsl.model.headers or play.api.mvc.
  • scala-cookie-insecure
    • Added detection for cookies created using import aliases (for example, Cookie => PlayCookie) and fully-qualified names (for example, akka.http.scaladsl.model.headers.HttpCookie).
    • Added detection for Play and Akka cookies constructed with new (for example, new PlayCookie(...)) where secure is omitted or false.
    • Added detection for Apache BasicClientCookie instances transmitted without the Secure flag.
    • Fixed false positives on Play and Akka cookies secured through the fluent .withSecure(true) method.
  • scala-cookie-persistent
    • Lowered the literal setMaxAge persistence threshold from 365 days to 30 days, matching the existing day-based checks.
    • Extended the servlet, Play (PlayCookie), and Akka (AkkaCookie) checks to inline literal lifetimes, all common day-based factorings (for example, 60 * 60 * 24 * N), durations stored in a val, and "never expires" values (Int.MaxValue, Long.MaxValue, Integer.MAX_VALUE).
    • Added detection for servlet cookies created through aliased or fully-qualified class names.
    • Fixed false positives on setMaxAge calls on objects that are not cookies, such as caches and sessions.
  • scala-http-response-splitting
    • Added servlet setHeader()/addHeader() (for headers other than redirect headers), Play withHeaders(...), and Akka HTTP respondWithHeader(...) as response-splitting points.
    • Added servlet getHeader(), Play headers.get and body.asFormUrlEncoded, and Akka HTTP extractRequest as untrusted input, alongside the existing getParameter() and getQueryString sources.
    • Added StringEscapeUtils.escapeJava() and escapeEcmaScript() as recognized safe usages.
  • scala-unvalidated-redirect
    • Limited setHeader()/addHeader() findings on HttpServletResponse to redirect headers (Location, Refresh, and *redirect*). Other headers are now covered by scala-http-response-splitting, so they are not reported twice.
    • Added the encodeUrl() and encodeRedirectURL() method variants.
  • scala-xxe-trans
    • Fixed missed detections of XXE-vulnerable TransformerFactory usage when the code imported javax.xml.transform classes other than Transformer.

TypeScript

  • typescript-os-command-injection-hb
    • Optimized the rule to prevent intermittent scan timeouts on large TypeScript files.
    • Stopped treating JSON.parse() as a source of untrusted input. Request bodies that are read manually from the request stream and then parsed are no longer detected.
  • typescript-path-traversal-hb
    • Optimized the rule to prevent scan timeouts on large TypeScript files by consolidating duplicate recognized safe usages (path.normalize() with startsWith() checks, glob/globby, and sanitize functions).

Disabled rules

Disabled

Terraform

  • terraform-restrict-s3-principal-action
    • Disabled and replaced by terraform-restrict-s3-principal-action-custom