This change log includes updates to detectors made in October 2026.
load_pem_private_key() calls that pass an empty password as a bytes literal (b'').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.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.AdministratorAccess policy (CWE-269), which allows unrestricted access to all AWS services and resources and violates least privilege.storage_encrypted without a key uses the AWS-managed key, which gives you less control over key rotation and the key policy.storage_encrypted without a key uses the AWS-managed key, which gives you less control over key rotation and the key policy.jsonencode() that the built-in check cannot parse.strconv.Atoi() fits the target type (int8, int16, int32, uint8 or its alias byte, uint16).exec.Command(), exec.CommandContext(), syscall.ForkExec(), or syscall.StartProcess().JFileChooser, ModelView, SecurityManager checks, and XML parser settings), and stopped treating FilenameUtils.getFullPath() as safe because it keeps ../ segments.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.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.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.bufferedWriter(), writer(), and printWriter(), and additional FileOutputStream creation forms.externalCacheDir as an external storage location, and covered paths from getExternalStorageDirectory() and getExternalFilesDir() that are stored in intermediate variables before file creation.SECURITY_AUTHENTICATION = "none" to catch values such as "None" or "NONE".setProperty() method when configuring anonymous LDAP authentication.URL(), including http, ftp, telnet, ldap, ws, redis, amqp, sip, and nntp (TLS variants are not flagged).mail.smtp.port.mixedContentMode property assignments and to MIXED_CONTENT_COMPATIBILITY_MODE, alongside MIXED_CONTENT_ALWAYS_ALLOW.ResponseCookie.from(...).build() without .httpOnly(true), and Ktor cookies.append(Cookie(...)) without httpOnly = true.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.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.setSecure(true) or .secure = true.DES, DESede, and RC4 in KeyGenerator.getInstance() calls.SecureRandom constructor and the setSeed() method.PBKDF2WithHmacSHA1 in SecretKeyFactory.getInstance().init() after generateKey() on KeyGenerator, and initialize() after generateKeyPair() on KeyPairGenerator.by lazy properties and as fallback values in System.getenv(...) ?: "...".AccountKey), Azure Service Bus (SharedAccessKey), and SQL Server (Server=) connection strings with embedded credentials.secretId, secretName, secretArn, secretPath, and projectId.GitLabApi(...), SendGrid(...), and Twilio.init(...), and broadened setApiKey(...) coverage.Long literals outside Int range are converted via .toInt(), including when the literal is assigned to a variable before conversion.request.getParameter(...) and other servlet request accessors (headers, query string, path info, body readers), instead of only specific concatenation forms.FilterParser.parse() as an LDAP injection point.LdapEncoder.filterEncode() and chained .replace() calls that escape LDAP metacharacters (\, (, ), *) as recognized safe usages.@RequestHeader and @RequestBody parameters, and broader @RequestParam and getParameter() forms, as untrusted URL inputs.URL(...).openConnection(), OkHttp Request.Builder().url(...), and Apache HttpGet(...) as request points.contains()) or a regex (matches(), Pattern.matcher(...).matches()) before use.SQLiteOpenHelper properties .writableDatabase and .readableDatabase.Context.openOrCreateDatabase() and SQLiteDatabase.openDatabase()..encryptionKey(...), which are now recognized in any builder chain layout rather than one fixed format.MessageDigest.getInstance("md5")). Matching for MD2, MD4, MD5, SHA1, SHA-1, RIPEMD160, and RIPEMD-160 is now case-insensitive.setWebContentsDebuggingEnabled(...) to any receiver and any value other than false, including variables.BuildConfig.DEBUG checks (including combined && conditions) or ApplicationInfo.FLAG_DEBUGGABLE checks, and removed an overly broad exclusion for any surrounding if block.WebSettings variable (for example, settings.javaScriptEnabled = true), in addition to setter calls.allowUniversalAccessFromFileURLs and allowFileAccessFromFileURLs properties, which allow cross-origin access from file:// URLs.XMLReaderFactory.createXMLReader(), whether parse() is chained directly or called on a reader stored in a variable.DocumentBuilderFactory is stored in a variable and later used via newDocumentBuilder().parse(...).SAXReader.read(), jdom2 SAXBuilder.build(), XOM Builder.build(), Apache Commons Digester.parse(), standalone SAXParser.parse(), and StAX XMLInputFactory.createXMLEventReader().DocumentBuilderFactory by recognizing safe configurations that set both ACCESS_EXTERNAL_DTD and ACCESS_EXTERNAL_SCHEMA to empty strings.disallow-doctype-decl or disabled external entities).echo, print, printf, and print_r as XSS output points, and do_shortcode() output that is echoed, printed, or returned.$_SERVER entries that an attacker can control (for example, HTTP_*, REQUEST_URI, QUERY_STRING, PHP_SELF) as untrusted input.json_encode() output as safe, while still flagging calls with flags that disable escaping.$_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().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.printf and print_r as output points, and $_COOKIE and attacker-controllable $_SERVER entries as untrusted input.config(), env(), and setParameter().GraphqlApi constructs (including aliased and fully-qualified forms) with no log_config, or with field_log_level set to NONE.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."python3.12" and "nodejs22.x". String runtimes are now flagged only when they are not on the supported list.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.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.CfnDBInstance detection to all import styles (for example, import aws_cdk as cdk). Previously only the direct import and the rds alias were covered.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.cluster_subnet_group_name=None was treated as a valid VPC configuration.aws_redshift_alpha Cluster constructs whose parameter group does not enable enable_user_activity_logging.python-hardcoded-credentials-db-url and python-hardcoded-credentials-crypto-http rules to fix scan timeouts on large files.identityToken, appToken, authkey, sas_token, *_api_key, and tokens prefixed with trigger, runner, grafana, telegram, plugin, verification, refresh, or webhook.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.Cookie => PlayCookie) and fully-qualified names (for example, akka.http.scaladsl.model.headers.HttpCookie).new (for example, new PlayCookie(...)) where secure is omitted or false.BasicClientCookie instances transmitted without the Secure flag..withSecure(true) method.setMaxAge persistence threshold from 365 days to 30 days, matching the existing day-based checks.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).setMaxAge calls on objects that are not cookies, such as caches and sessions.setHeader()/addHeader() (for headers other than redirect headers), Play withHeaders(...), and Akka HTTP respondWithHeader(...) as response-splitting points.getHeader(), Play headers.get and body.asFormUrlEncoded, and Akka HTTP extractRequest as untrusted input, alongside the existing getParameter() and getQueryString sources.StringEscapeUtils.escapeJava() and escapeEcmaScript() as recognized safe usages.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.encodeUrl() and encodeRedirectURL() method variants.TransformerFactory usage when the code imported javax.xml.transform classes other than Transformer.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.path.normalize() with startsWith() checks, glob/globby, and sanitize functions).terraform-restrict-s3-principal-action-custom