SAST
Learn how JFrog SAST detects vulnerabilities in source code.
The JFrog SAST engine is a local, fast, and accurate static application security testing solution that enables you to identify and fix security issues early in the development process. JFrog SAST runs directly on your local environment, minimizing delays and maintaining data privacy. It is designed for developers, with out-of-the-box functionality and low false positives, and it integrates into your workflow.
Key Benefits of JFrog SAST
- Speed and Efficiency: JFrog SAST runs locally on your machine and continuous integration (CI) servers, scanning at a speed of approximately 2,000 lines of code per second. This enables rapid scans while maintaining high-quality analysis and low false positive rates, thanks to its cross-file and data flow analysis.
- Accuracy: JFrog SAST performs comprehensive cross-file analysis, tracing the data flow from the source to the sink. JFrog SAST detects vulnerabilities accurately while minimizing noise and false positives. The proprietary fingerprint algorithm ensures that vulnerabilities marked for ignore won't reappear due to irrelevant code changes like spaces or new lines. This is an issue many competitors face.
- OWASP Top 10 and Beyond: JFrog SAST covers the Open Worldwide Application Security Project (OWASP) Top 10 vulnerabilities and goes beyond by identifying additional critical security risks, helping you secure your code at the earliest stages.
- Developer-Centric: With zero configuration required out of the box, JFrog SAST integrates seamlessly into your workflow through IDE plugins, CLI tools, and Frogbot. It gives you access to actionable findings without interrupting your development process. Security experts can also configure Advanced Security policies and watches to prioritize specific vulnerabilities for enforcement. You can use a dedicated SAST triage experience in Visual Studio Code, with flow graph visualization, baseline comparison, and SARIF support. For more information, see JFrog SAST Extension for VS Code.
- Local Security: JFrog SAST runs locally on your environment, ensuring that source code remains secure and doesn't need to be uploaded to external services for analysis. This maintains the privacy of your codebase.
How JFrog SAST Outperforms Competitors
- Integration with CI/CD, Securely, and with Privacy: JFrog SAST integrates deeply into CI/CD pipelines, supporting multiple DevOps tools without requiring cloud-based services. It can run locally on your workstation or CI server, making it ideal for air-gapped and self-managed environments.
- Low False Positive Rate: Thanks to the cross-file analysis, JFrog SAST reduces the number of false positives and ensures that only genuine security risks are flagged. You no longer have to sift through irrelevant findings.
- Accurate Fingerprint Algorithm: The fingerprint algorithm ensures that once a vulnerability is marked as ignored, it won't reappear in subsequent scans, even if non-relevant code changes occur, such as spaces or newlines. This eliminates the need for security experts to repeatedly reassess triaged issues previously.
- Data Flow Analysis: JFrog SAST tracks the flow of data within your code, providing visibility into how vulnerabilities propagate from source functions to sinks. You and security experts can quickly identify and understand potential security risks.
- Actionable Fixes: Each vulnerability is accompanied by clear, actionable steps on how to fix or mitigate the issue. You can follow these steps to quickly resolve vulnerabilities and enhance the overall security of your code.
- Customizable Policies: You can configure severity thresholds and apply specific policies to decide which vulnerabilities trigger alerts. This customization gives you more control over your scanning process, ensuring that only the most critical issues are prioritized.
Prerequisites
Language Support
The following table lists supported languages, frameworks, and libraries.
| Language | Supported Frameworks | Supported Libraries | Not Supported | Notes |
|---|---|---|---|---|
| C/C++ | Pistache, Wt, Qt, MFC | SQLite3, MySQL C API, libpq, ODBC, mysqlpp, libpqxx, Boost, OpenSSL, Crypto++, Libgcrypt, pugixml, RapidJSON, nlohmann/json, TinyXML2, yaml-cpp, protobuf, FlatBuffers, Cap'n Proto, cereal | — | — |
| C# and .NET | ASP.NET Core, ASP.NET MVC, ASP.NET Web Forms, Nancy, ServiceStack, Blazor | Entity Framework, Dapper, NHibernate, PetaPoco, Microsoft AntiXss, Razor, Telerik UI, Infragistics, ComponentArt, log4net, NLog, Serilog, Microsoft.Extensions.Logging | ASPX, legacy templates only | — |
| Golang | Gin, Echo, Chi, Gorilla Mux, Beego, fasthttp, grpc | GORM, sqlx, pgx, go-sql-driver, go-redis, gocql, mongo-go-driver, viper | html/template, with no taint-tracking support | — |
| Java | Spring Framework, JAX-RS, Micronaut, Struts, Vaadin, Wicket, Grails, Seam, Atmosphere | Hibernate, JPA, MyBatis, OWASP ESAPI, Apache Commons, Thymeleaf, FreeMarker, Velocity, JSP templating | Legacy JSP, standalone only | — |
| JavaScript | Express.js, Koa, Fastify, NestJS | mysql and mysql2, pg, mongodb, sequelize, knex, sqlite3, redis, axios, node-fetch, request, needle, ws, DOMPurify, escape-html, xss, sanitize-html, validator, lodash, Handlebars, EJS, Pug, Mustache, multiparty, formidable, unified, path-sanitizer, sanitize-filename, sqlstring | JSX | — |
| Kotlin | Android SDK and AndroidX, Spring, Ktor, Servlet, Exposed ORM, Javalin, http4k | Kotlin standard library, kotlinx.serialization, kotlinx.coroutines, Jackson, Gson, Moshi, Retrofit, OkHttp, Room and SupportSQLite, BouncyCastle | Jetpack Compose, SQLDelight, Firebase, Micronaut, Quarkus, Vert.x, Coil and Glide | Also covers calls to Java and JVM APIs modeled for Java, for example Hibernate, MongoDB, Netty, and Apache libraries |
| PHP | Laravel, Symfony, CodeIgniter, Yii2, WordPress | Guzzle, PDO | — | — |
| Python | Flask, Django, FastAPI | SQLAlchemy, psycopg2, MySQLdb, mysql.connector, pymongo, requests, bleach, tkinter, pandas, numpy | Python 1.x, 2.x | — |
| Rust | Actix-web, Rocket, Axum, Warp, Tide, Poem, Salvo, Hyper, Iron | Diesel, SQLx, tokio-postgres, rusqlite, mysql, mongodb, redis, tiberius, reqwest, hyper, surf, ureq, isahc, attohttpc, tokio, async-std, futures, serde_json, serde_yaml, bincode, postcard, rmp-serde, askama, tera, handlebars, maud, sailfish, liquid, minijinja, yarte, ammonia, base64, hex, clap, structopt, rdkafka, lapin, nats, tonic | — | — |
| TypeScript | Express.js, Koa, Fastify, NestJS | Same as JavaScript libraries | TSX | Same frameworks and libraries as JavaScript |
Analysis Capabilities
JFrog SAST understands the dependencies in the code, such as call flow, type propagation, and constants, in the full-project context:
- Cross-functional
- Cross-file
- Cross-module
Querying Capabilities for Custom Queries
Note
This feature is in beta and subject to changes.
JFrog SAST can construct code queries of unlimited complexity based on types, constants, external API names, data reachability, and control flow dependencies.
List of SAST Rules
JFrog SAST offers a comprehensive set of rules designed to identify security vulnerabilities across your codebase. These rules are mapped to the OWASP Top 10 vulnerabilities, as well as additional critical security issues beyond the OWASP Top 10. The mapping provides clear visibility into which specific vulnerabilities are being addressed and how they align with widely recognized security standards. In this section, you'll find detailed tables of the SAST rules and their corresponding OWASP categories, helping you better understand how JFrog SAST ensures your code is protected against the most critical security risks.
C/C++
The following table lists the C/C++ rules.
| Rule ID | Severity | CWE | OWASP Top 10 2021 |
|---|---|---|---|
| cpp-classic-buffer-overflow | High | CWE-120 | — |
| cpp-command-injection | High | CWE-78 | A03 |
| cpp-process-control | High | CWE-114 | — |
| cpp-sql-injection | High | CWE-89 | A03 |
| cpp-stored-command-injection | High | CWE-78 | A03 |
| cpp-unsafe-deserialization | High | CWE-502 | A08 |
| cpp-xss | High | CWE-79 | A03 |
| cpp-cgi-xss | High | CWE-79 | A03 |
| cpp-uncontrolled-format-string | High | CWE-134 | — |
| cpp-tainted-write-size | High | CWE-129 | — |
| cpp-write-buffer-size-mismatch | High | CWE-787 | — |
| cpp-cookie-poisoning | Medium | CWE-472 | A04 |
| cpp-db-connection-string-injection | Medium | CWE-99 | A03 |
| cpp-dos-by-sleep | Medium | CWE-400 | — |
| cpp-elevate-access-privileges | Medium | CWE-284 | A01 |
| cpp-http-header-injection | Medium | CWE-644 | A03 |
| cpp-inadequate-padding | Medium | CWE-780 | A02 |
| cpp-insecure-random | Medium | CWE-338 | A02 |
| cpp-insecure-websocket | Medium | CWE-1385 | — |
| cpp-no-encryption-in-connection-string | Medium | CWE-319 | A02 |
| cpp-password-in-cookie | Medium | CWE-200 | A01 |
| cpp-path-traversal | Medium | CWE-22 | A01 |
| cpp-redos | Medium | CWE-1333 | — |
| cpp-regex-injection | Medium | CWE-625 | — |
| cpp-response-splitting | Medium | CWE-113 | A03 |
| cpp-2nd-order-sql-injection | Medium | CWE-89 | A03 |
| cpp-short-crypto-key | Medium | CWE-326 | A02 |
| cpp-ssrf | Medium | CWE-918 | A10 |
| cpp-ssti | Medium | CWE-1336 | — |
| cpp-stored-path-traversal | Medium | CWE-22 | A01 |
| cpp-stored-xss | Medium | CWE-79 | A03 |
| cpp-use-after-free | Medium | CWE-416 | — |
| cpp-weak-crypto-algorithm | Medium | CWE-327 | A02 |
| cpp-weak-ssl-protocol | Medium | CWE-327 | A02 |
| cpp-xxe | Medium | CWE-611 | A05 |
| cpp-cgi-stored-xss | Medium | CWE-79 | A03 |
| cpp-tainted-read-size | Medium | CWE-129 | — |
| cpp-read-buffer-size-mismatch | Medium | CWE-131 | — |
| cpp-double-free | Medium | CWE-415 | — |
| cpp-unsanitized-alloc-size | Medium | CWE-789 | — |
| cpp-tainted-alloc-size | Medium | CWE-789 | — |
| cpp-unsanitized-memory-read-offset | Medium | CWE-126 | — |
| cpp-unsanitized-memory-write-offset | Medium | CWE-125 | — |
| cpp-tainted-memory-read-offset | Medium | CWE-126 | — |
| cpp-tainted-memory-write-offset | Medium | CWE-125 | — |
| cpp-improper-certificate-validation | Medium | CWE-295 | A07 |
| cpp-hardcoded-credentials | Low | CWE-798 | A07 |
| cpp-insecure-port | Low | CWE-319 | A02 |
| cpp-insecure-protocol | Low | CWE-319 | A02 |
| cpp-potential-redos | Low | CWE-1333 | — |
| cpp-stack-trace-exposure | Low | CWE-209 | A04 |
| cpp-dangerous-functions | Low | CWE-242 | — |
| cpp-off-by-one-in-allocation | Low | CWE-193 | — |
| cpp-obsolete-functions | Internal | CWE-477 | — |
C#
The following table lists the C# rules.
| Rule ID | Severity | CWE | OWASP Top 10 2021 |
|---|---|---|---|
| cs-archive-slip | High | CWE-22 | A01 |
| cs-code-injection | High | CWE-94 | A03 |
| cs-command-injection | High | CWE-78 | A03 |
| cs-ldap-injection | High | CWE-90 | A03 |
| cs-process-control | High | CWE-114 | — |
| cs-sql-injection | High | CWE-89 | A03 |
| cs-stored-code-injection | High | CWE-94 | A03 |
| cs-stored-command-injection | High | CWE-78 | A03 |
| cs-stored-ldap | High | CWE-90 | A03 |
| cs-unsafe-deserialization | High | CWE-502 | A08 |
| cs-xss | High | CWE-79 | A03 |
| cs-cookie-poisoning | Medium | CWE-472 | A04 |
| cs-db-connection-string-injection | Medium | CWE-99 | A03 |
| cs-dos-by-sleep | Medium | CWE-400 | — |
| cs-elevate-access-privileges | Medium | CWE-284 | A01 |
| cs-http-header-injection | Medium | CWE-644 | A03 |
| cs-improper-xml-validation | Medium | CWE-112 | — |
| cs-inadequate-padding | Medium | CWE-780 | A02 |
| cs-insecure-random | Medium | CWE-338 | A02 |
| cs-insecure-websocket | Medium | CWE-1385 | — |
| cs-no-encryption-in-connection-string | Medium | CWE-319 | A02 |
| cs-password-in-cookie | Medium | CWE-200 | A01 |
| cs-path-traversal | Medium | CWE-22 | A01 |
| cs-redos | Medium | CWE-1333 | — |
| cs-regex-injection | Medium | CWE-625 | — |
| cs-response-splitting | Medium | CWE-113 | A03 |
| cs-2nd-order-sql-injection | Medium | CWE-89 | A03 |
| cs-short-crypto-key | Medium | CWE-326 | A02 |
| cs-ssrf | Medium | CWE-918 | A10 |
| cs-ssti | Medium | CWE-1336 | — |
| cs-stored-path-traversal | Medium | CWE-22 | A01 |
| cs-stored-reflection | Medium | CWE-470 | A03 |
| cs-stored-xpath | Medium | CWE-643 | A03 |
| cs-stored-xss | Medium | CWE-79 | A03 |
| cs-reflection | Medium | CWE-470 | A03 |
| cs-weak-crypto-algorithm | Medium | CWE-327 | A02 |
| cs-weak-ssl-protocol | Medium | CWE-327 | A02 |
| cs-xml-injection | Medium | CWE-91 | A03 |
| cs-xpath-injection | Medium | CWE-643 | A03 |
| cs-xslt-injection | Medium | CWE-91 | A03 |
| cs-xxe | Medium | CWE-611 | A05 |
| cs-debug-logging-tracing-enabled | Medium | CWE-1295 | — |
| cs-hardcoded-credentials | Low | CWE-798 | A07 |
| cs-insecure-port | Low | CWE-319 | A02 |
| cs-insecure-protocol | Low | CWE-319 | A02 |
| cs-open-redirect | Low | CWE-601 | A01 |
| cs-potential-redos | Low | CWE-1333 | — |
| cs-stack-trace-exposure | Low | CWE-209 | A04 |
| cs-stored-cookie-poisoning | Low | CWE-472 | A04 |
| cs-stored-http-header-injection | Low | CWE-644 | A03 |
| cs-stored-redirect | Low | CWE-601 | A01 |
| cs-stored-response-splitting | Low | CWE-113 | A03 |
Go
The following table lists the Go rules.
| Rule ID | Severity | CWE | OWASP Top 10 2021 |
|---|---|---|---|
| go-code-injection | High | CWE-94 | A03 |
| go-command-injection | High | CWE-78 | A03 |
| go-process-control | High | CWE-114 | — |
| go-sql-injection | High | CWE-89 | A03 |
| go-stored-code-injection | High | CWE-94 | A03 |
| go-stored-command-injection | High | CWE-78 | A03 |
| go-unsafe-deserialization | High | CWE-502 | A08 |
| go-xss | High | CWE-79 | A03 |
| go-improper-certificate-validation | High | CWE-295 | A07 |
| go-insecure-tls | High | CWE-295 | A07 |
| go-cookie-poisoning | Medium | CWE-472 | A04 |
| go-db-connection-string-injection | Medium | CWE-99 | A03 |
| go-dos-by-sleep | Medium | CWE-400 | — |
| go-elevate-access-privileges | Medium | CWE-284 | A01 |
| go-inadequate-padding | Medium | CWE-780 | A02 |
| go-insecure-random | Medium | CWE-338 | A02 |
| go-insecure-websocket | Medium | CWE-1385 | — |
| go-no-encryption-in-connection-string | Medium | CWE-319 | A02 |
| go-password-in-cookie | Medium | CWE-200 | A01 |
| go-path-traversal | Medium | CWE-22 | A01 |
| go-redos | Medium | CWE-1333 | — |
| go-regex-injection | Medium | CWE-625 | — |
| go-2nd-order-sql-injection | Medium | CWE-89 | A03 |
| go-short-crypto-key | Medium | CWE-326 | A02 |
| go-ssrf | Medium | CWE-918 | A10 |
| go-ssti | Medium | CWE-1336 | — |
| go-stored-path-traversal | Medium | CWE-22 | A01 |
| go-stored-xpath | Medium | CWE-643 | A03 |
| go-stored-xss | Medium | CWE-79 | A03 |
| go-weak-crypto-algorithm | Medium | CWE-327 | A02 |
| go-weak-ssl-protocol | Medium | CWE-327 | A02 |
| go-xml-injection | Medium | CWE-91 | A03 |
| go-xpath-injection | Medium | CWE-643 | A03 |
| go-xxe | Medium | CWE-611 | A05 |
| go-helper | Medium | — | — |
| go-cleartext-logging | Medium | CWE-312 | A04 |
| go-weak-password-recovery | Medium | CWE-640 | A07 |
| go-hardcoded-credentials | Low | CWE-798 | A07 |
| go-insecure-port | Low | CWE-319 | A02 |
| go-insecure-protocol | Low | CWE-319 | A02 |
| go-open-redirect | Low | CWE-601 | A01 |
| go-potential-redos | Low | CWE-1333 | — |
| go-stack-trace-exposure | Low | CWE-209 | A04 |
| go-stored-cookie-poisoning | Low | CWE-472 | A04 |
| go-stored-redirect | Low | CWE-601 | A01 |
| go-parameter-injection | Low | CWE-88 | A03 |
| go-key-past-expiration | Low | CWE-322 | A02 |
Java
The following table lists the Java rules.
| Rule ID | Severity | CWE | OWASP Top 10 2021 |
|---|---|---|---|
| java-code-injection | High | CWE-94 | A03 |
| java-command-injection | High | CWE-78 | A03 |
| java-ldap-injection | High | CWE-90 | A03 |
| java-process-control | High | CWE-114 | — |
| java-sql-injection | High | CWE-89 | A03 |
| java-stored-code-injection | High | CWE-94 | A03 |
| java-stored-command-injection | High | CWE-78 | A03 |
| java-stored-ldap | High | CWE-90 | A03 |
| java-unsafe-deserialization | High | CWE-502 | A08 |
| java-xss | High | CWE-79 | A03 |
| java-jndi-injection | High | CWE-642 | A04 |
| java-cookie-poisoning | Medium | CWE-472 | A04 |
| java-db-connection-string-injection | Medium | CWE-99 | A03 |
| java-dos-by-sleep | Medium | CWE-400 | — |
| java-elevate-access-privileges | Medium | CWE-284 | A01 |
| java-http-header-injection | Medium | CWE-644 | A03 |
| java-inadequate-padding | Medium | CWE-780 | A02 |
| java-insecure-random | Medium | CWE-338 | A02 |
| java-insecure-websocket | Medium | CWE-1385 | — |
| java-no-encryption-in-connection-string | Medium | CWE-319 | A02 |
| java-password-in-cookie | Medium | CWE-200 | A01 |
| java-path-traversal | Medium | CWE-22 | A01 |
| java-redos | Medium | CWE-1333 | — |
| java-regex-injection | Medium | CWE-625 | — |
| java-response-splitting | Medium | CWE-113 | A03 |
| java-2nd-order-sql-injection | Medium | CWE-89 | A03 |
| java-short-crypto-key | Medium | CWE-326 | A02 |
| java-ssrf | Medium | CWE-918 | A10 |
| java-ssti | Medium | CWE-1336 | — |
| java-stored-path-traversal | Medium | CWE-22 | A01 |
| java-stored-reflection | Medium | CWE-470 | A03 |
| java-stored-xpath | Medium | CWE-643 | A03 |
| java-stored-xss | Medium | CWE-79 | A03 |
| java-reflection | Medium | CWE-470 | A03 |
| java-weak-crypto-algorithm | Medium | CWE-327 | A02 |
| java-weak-ssl-protocol | Medium | CWE-327 | A02 |
| java-xml-injection | Medium | CWE-91 | A03 |
| java-xpath-injection | Medium | CWE-643 | A03 |
| java-xslt-injection | Medium | CWE-91 | A03 |
| java-xxe | Medium | CWE-611 | A05 |
| java-unsafe-certificate | Medium | CWE-295 | A07 |
| java-misconfig | Medium | CWE-933 | — |
| java-stored-misconfig | Medium | CWE-933 | — |
| java-hardcoded-credentials | Low | CWE-798 | A07 |
| java-insecure-port | Low | CWE-319 | A02 |
| java-insecure-protocol | Low | CWE-319 | A02 |
| java-open-redirect | Low | CWE-601 | A01 |
| java-potential-redos | Low | CWE-1333 | — |
| java-stack-trace-exposure | Low | CWE-209 | A04 |
| java-stored-cookie-poisoning | Low | CWE-472 | A04 |
| java-stored-http-header-injection | Low | CWE-644 | A03 |
| java-stored-redirect | Low | CWE-601 | A01 |
| java-stored-response-splitting | Low | CWE-113 | A03 |
| java-stored-trust-boundary | Low | CWE-501 | A04 |
| java-trust-boundary | Low | CWE-501 | A04 |
| java-javascript-enabled | Low | CWE-749 | — |
JavaScript
The following table lists the JavaScript rules.
| Rule ID | Severity | CWE | OWASP Top 10 2021 |
|---|---|---|---|
| js-archive-slip | High | CWE-22 | A01 |
| js-code-injection | High | CWE-94 | A03 |
| js-command-injection | High | CWE-78 | A03 |
| js-ldap-injection | High | CWE-90 | A03 |
| js-process-control | High | CWE-114 | — |
| js-sql-injection | High | CWE-89 | A03 |
| js-unsafe-deserialization | High | CWE-502 | A08 |
| js-xss | High | CWE-79 | A03 |
| js-template-injection | High | CWE-73 | A04 |
| js-dom-based-xss | High | CWE-79 | A03 |
| js-dom-xss-angular | High | CWE-79 | A03 |
| js-cookie-poisoning | Medium | CWE-472 | A04 |
| js-db-connection-string-injection | Medium | CWE-99 | A03 |
| js-dos-by-sleep | Medium | CWE-400 | — |
| js-elevate-access-privileges | Medium | CWE-284 | A01 |
| js-http-header-injection | Medium | CWE-644 | A03 |
| js-inadequate-padding | Medium | CWE-780 | A02 |
| js-insecure-random | Medium | CWE-338 | A02 |
| js-insecure-websocket | Medium | CWE-1385 | — |
| js-no-encryption-in-connection-string | Medium | CWE-319 | A02 |
| js-password-in-cookie | Medium | CWE-200 | A01 |
| js-path-traversal | Medium | CWE-22 | A01 |
| js-redos | Medium | CWE-1333 | — |
| js-regex-injection | Medium | CWE-625 | — |
| js-response-splitting | Medium | CWE-113 | A03 |
| js-short-crypto-key | Medium | CWE-326 | A02 |
| js-ssrf | Medium | CWE-918 | A10 |
| js-ssti | Medium | CWE-1336 | — |
| js-weak-crypto-algorithm | Medium | CWE-327 | A02 |
| js-weak-ssl-protocol | Medium | CWE-327 | A02 |
| js-xml-injection | Medium | CWE-91 | A03 |
| js-xpath-injection | Medium | CWE-643 | A03 |
| js-xslt-injection | Medium | CWE-91 | A03 |
| js-xxe | Medium | CWE-611 | A05 |
| js-helper | Medium | — | — |
| js-lfi | Medium | CWE-98 | A03 |
| js-remote-param-injection | Medium | CWE-88 | A03 |
| js-unsafe-hash | Medium | CWE-328 | A02 |
| js-insecure-cookie | Medium | CWE-614 | A05 |
| js-http-only | Medium | CWE-1004 | A05 |
| js-improper-samesite | Medium | CWE-1275 | A01 |
| js-prototype-pollution | Medium | CWE-1321 | — |
| js-hardcoded-credentials | Low | CWE-798 | A07 |
| js-insecure-port | Low | CWE-319 | A02 |
| js-insecure-protocol | Low | CWE-319 | A02 |
| js-open-redirect | Low | CWE-601 | A01 |
| js-potential-redos | Low | CWE-1333 | — |
| js-stack-trace-exposure | Low | CWE-209 | A04 |
| js-weak-json-token-encrypt | Low | CWE-347 | A02 |
| js-dom-based-open-redirect | Low | CWE-601 | A01 |
| js-express-without-helmet | Low | CWE-693 | — |
| js-cors-misconfig | Low | CWE-942 | A05 |
Kotlin
The following table lists the Kotlin rules.
| Rule ID | Severity | CWE | OWASP Top 10 2021 |
|---|---|---|---|
| kotlin-archive-slip | High | CWE-22 | A01 |
| kotlin-code-injection | High | CWE-94 | A03 |
| kotlin-command-injection | High | CWE-78 | A03 |
| kotlin-el-injection | High | CWE-917 | A03 |
| kotlin-exported-component-no-caller-check | High | CWE-926 | — |
| kotlin-exported-component-without-permission | High | CWE-926 | — |
| kotlin-jndi-injection | High | CWE-642 | A04 |
| kotlin-ldap-injection | High | CWE-90 | A03 |
| kotlin-mutable-pending-intent | High | CWE-926 | — |
| kotlin-overly-permissive-security | High | CWE-862 | A01 |
| kotlin-process-control | High | CWE-114 | — |
| kotlin-redis-lua-script-injection | High | CWE-94 | A03 |
| kotlin-sql-injection | High | CWE-89 | A03 |
| kotlin-unsafe-deserialization | High | CWE-502 | A08 |
| kotlin-unsafe-prompt-construction | High | CWE-116 | A03 |
| kotlin-unsigned-jwt | High | CWE-347 | A02 |
| kotlin-xss | High | CWE-79 | A03 |
| kotlin-2nd-order-sql-injection | Medium | CWE-89 | A03 |
| kotlin-cookie-poisoning | Medium | CWE-472 | A04 |
| kotlin-csrf-protection-disabled | Medium | CWE-352 | A01 |
| kotlin-db-connection-string-injection | Medium | CWE-99 | A03 |
| kotlin-dos-by-sleep | Medium | CWE-400 | — |
| kotlin-elevate-access-privileges | Medium | CWE-284 | A01 |
| kotlin-http-header-injection | Medium | CWE-644 | A03 |
| kotlin-inadequate-padding | Medium | CWE-780 | A02 |
| kotlin-information-exposure | Medium | CWE-200 | A01 |
| kotlin-insecure-random | Medium | CWE-338 | A02 |
| kotlin-insecure-storage | Medium | CWE-312 | A04 |
| kotlin-insecure-websocket | Medium | CWE-1385 | — |
| kotlin-log-injection | Medium | CWE-117 | A09 |
| kotlin-misconfig | Medium | CWE-933 | — |
| kotlin-no-encryption-in-connection-string | Medium | CWE-319 | A02 |
| kotlin-nosql-injection | Medium | CWE-943 | — |
| kotlin-password-in-cookie | Medium | CWE-200 | A01 |
| kotlin-path-traversal | Medium | CWE-22 | A01 |
| kotlin-private-info-exposure | Medium | CWE-359 | A01 |
| kotlin-redos | Medium | CWE-1333 | — |
| kotlin-reflection | Medium | CWE-470 | A03 |
| kotlin-regex-injection | Medium | CWE-625 | — |
| kotlin-response-splitting | Medium | CWE-113 | A03 |
| kotlin-sensitive-data-in-logs | Medium | CWE-532 | A09 |
| kotlin-session-fixation-disabled | Medium | CWE-384 | A07 |
| kotlin-short-crypto-key | Medium | CWE-326 | A02 |
| kotlin-ssrf | Medium | CWE-918 | A10 |
| kotlin-ssti | Medium | CWE-1336 | — |
| kotlin-stored-code-injection | Medium | CWE-94 | A03 |
| kotlin-stored-command-injection | Medium | CWE-78 | A03 |
| kotlin-stored-el-injection | Medium | CWE-917 | A03 |
| kotlin-stored-ldap | Medium | CWE-90 | A03 |
| kotlin-stored-redis-lua-script-injection | Medium | CWE-94 | A03 |
| kotlin-stored-xss | Medium | CWE-79 | A03 |
| kotlin-toctou | Medium | CWE-367 | — |
| kotlin-unprotected-aidl-service | Medium | CWE-284 | A01 |
| kotlin-unsafe-certificate | Medium | CWE-295 | A07 |
| kotlin-weak-crypto-algorithm | Medium | CWE-327 | A02 |
| kotlin-weak-ssl-protocol | Medium | CWE-327 | A02 |
| kotlin-webview-js-interface | Medium | CWE-749 | — |
| kotlin-xml-injection | Medium | CWE-91 | A03 |
| kotlin-xpath-injection | Medium | CWE-643 | A03 |
| kotlin-xslt-injection | Medium | CWE-91 | A03 |
| kotlin-xxe | Medium | CWE-611 | A05 |
| kotlin-cors-misconfig | Low | CWE-942 | A05 |
| kotlin-hardcoded-credentials | Low | CWE-798 | A07 |
| kotlin-insecure-port | Low | CWE-319 | A02 |
| kotlin-insecure-protocol | Low | CWE-319 | A02 |
| kotlin-javascript-enabled | Low | CWE-749 | — |
| kotlin-open-redirect | Low | CWE-601 | A01 |
| kotlin-partial-ssrf | Low | CWE-918 | A10 |
| kotlin-potential-redos | Low | CWE-1333 | — |
| kotlin-stack-trace-exposure | Low | CWE-209 | A04 |
| kotlin-stored-cookie-poisoning | Low | CWE-472 | A04 |
| kotlin-stored-http-header-injection | Low | CWE-644 | A03 |
| kotlin-stored-misconfig | Low | CWE-933 | — |
| kotlin-stored-nosql-injection | Low | CWE-943 | — |
| kotlin-stored-path-traversal | Low | CWE-22 | A01 |
| kotlin-stored-redirect | Low | CWE-601 | A01 |
| kotlin-stored-reflection | Low | CWE-470 | A03 |
| kotlin-stored-response-splitting | Low | CWE-113 | A03 |
| kotlin-stored-trust-boundary | Low | CWE-501 | A04 |
| kotlin-stored-xpath | Low | CWE-643 | A03 |
| kotlin-trust-boundary | Low | CWE-501 | A04 |
| kotlin-weak-file-permissions | Low | CWE-732 | — |
| kotlin-webview-file-access | Low | CWE-749 | — |
PHP
The following table lists the PHP rules.
| Rule ID | Severity | CWE | OWASP Top 10 2021 |
|---|---|---|---|
| php-code-injection | High | CWE-94 | A03 |
| php-command-injection | High | CWE-78 | A03 |
| php-sql-injection | High | CWE-89 | A03 |
| php-stored-code-injection | High | CWE-94 | A03 |
| php-stored-command-injection | High | CWE-78 | A03 |
| php-xss | High | CWE-79 | A03 |
| php-dos-by-sleep | Medium | CWE-400 | — |
| php-insecure-random | Medium | CWE-338 | A02 |
| php-no-encryption-in-connection-string | Medium | CWE-319 | A02 |
| php-path-traversal | Medium | CWE-22 | A01 |
| php-2nd-order-sql-injection | Medium | CWE-89 | A03 |
| php-ssrf | Medium | CWE-918 | A10 |
| php-stored-path-traversal | Medium | CWE-22 | A01 |
| php-stored-xss | Medium | CWE-79 | A03 |
| php-xxe | Medium | CWE-611 | A05 |
| php-hardcoded-credentials | Low | CWE-798 | A07 |
| php-insecure-protocol | Low | CWE-319 | A02 |
| php-insecure-port | Low | CWE-319 | A02 |
| php-open-redirect | Low | CWE-601 | A01 |
| php-stack-trace-exposure | Low | CWE-209 | A04 |
| php-stored-redirect | Low | CWE-601 | A01 |
Python
The following table lists the Python rules.
| Rule ID | Severity | CWE | OWASP Top 10 2021 |
|---|---|---|---|
| python-code-injection | High | CWE-94 | A03 |
| python-command-injection | High | CWE-78 | A03 |
| python-ldap-injection | High | CWE-90 | A03 |
| python-process-control | High | CWE-114 | — |
| python-stored-code-injection | High | CWE-94 | A03 |
| python-stored-command-injection | High | CWE-78 | A03 |
| python-stored-ldap | High | CWE-90 | A03 |
| python-sql-injection | High | CWE-89 | A03 |
| python-unsafe-deserialization | High | CWE-502 | A08 |
| python-xss | High | CWE-79 | A03 |
| python-prompt-injection-rce | High | — | — |
| python-deno-insecure-permissions | High | CWE-276 | A01 |
| python-docker-cli-privileged | High | CWE-250 | — |
| python-podman-cli-privileged | High | CWE-250 | — |
| python-firejail-noprofile | High | CWE-693 | — |
| python-firejail-debuggers-allowed | High | CWE-693 | — |
| python-nsjail-host-filesystem-access | High | CWE-22 | A01 |
| python-nsjail-privilege-escalation | High | CWE-269 | A04 |
| python-bwrap-root-binding | High | CWE-22 | A01 |
| python-flatpak-host-filesystem-access | High | CWE-22 | A01 |
| python-systemd-nspawn-root-bind | High | CWE-22 | A01 |
| python-smolagents-local-rce | High | CWE-94 | A03 |
| python-docker-sdk-privileged | High | CWE-250 | — |
| python-docker-sdk-socket-mount | High | CWE-250 | — |
| python-jinja2-escape-by-modification | High | CWE-94 | A03 |
| python-pyyaml-unsafe-deserialization | High | CWE-502 | A08 |
| python-eval-globals-injection | High | CWE-94 | A03 |
| python-jinja2-globals-injection | High | CWE-94 | A03 |
| python-evaluator-function-injection | High | CWE-94 | A03 |
| python-cookie-poisoning | Medium | CWE-472 | A04 |
| python-db-connection-string-injection | Medium | CWE-99 | A03 |
| python-dos-by-sleep | Medium | CWE-400 | — |
| python-elevate-access-privileges | Medium | CWE-284 | A01 |
| python-http-header-injection | Medium | CWE-644 | A03 |
| python-inadequate-padding | Medium | CWE-780 | A02 |
| python-insecure-random | Medium | CWE-338 | A02 |
| python-insecure-websocket | Medium | CWE-1385 | — |
| python-no-encryption-in-connection-string | Medium | CWE-319 | A02 |
| python-password-in-cookie | Medium | CWE-200 | A01 |
| python-path-traversal | Medium | CWE-22 | A01 |
| python-redos | Medium | CWE-1333 | — |
| python-regex-injection | Medium | CWE-625 | — |
| python-response-splitting | Medium | CWE-113 | A03 |
| python-2nd-order-sql-injection | Medium | CWE-89 | A03 |
| python-short-crypto-key | Medium | CWE-326 | A02 |
| python-stored-path-traversal | Medium | CWE-22 | A01 |
| python-stored-xpath | Medium | CWE-643 | A03 |
| python-stored-xss | Medium | CWE-79 | A03 |
| python-ssrf | Medium | CWE-918 | A10 |
| python-ssti | Medium | CWE-1336 | — |
| python-weak-crypto-algorithm | Medium | CWE-327 | A02 |
| python-weak-ssl-protocol | Medium | CWE-327 | A02 |
| python-xml-injection | Medium | CWE-91 | A03 |
| python-xpath-injection | Medium | CWE-643 | A03 |
| python-xslt-injection | Medium | CWE-91 | A03 |
| python-xxe | Medium | CWE-611 | A05 |
| python-tainted-os-command | Medium | CWE-78 | A03 |
| python-stored-tainted-os-command | Medium | CWE-78 | A03 |
| python-environment-variable-injection | Medium | CWE-74 | A03 |
| python-unicode-case-mapping | Medium | CWE-178 | — |
| python-missing-ssl-validation | Medium | CWE-295 | A07 |
| python-unsafe-hash | Medium | CWE-328 | A02 |
| python-flask-debug | Medium | CWE-1295 | — |
| python-firejail-debug-mode | Medium | CWE-200 | A01 |
| python-nsjail-network-sharing | Medium | CWE-284 | A01 |
| python-nsjail-proc-writable | Medium | CWE-693 | — |
| python-bwrap-network-sharing | Medium | CWE-284 | A01 |
| python-chroot-misuse | Medium | CWE-693 | — |
| python-docker-sdk-host-network | Medium | CWE-284 | A01 |
| python-hardcoded-credentials | Low | CWE-798 | A07 |
| python-insecure-port | Low | CWE-319 | A02 |
| python-insecure-protocol | Low | CWE-319 | A02 |
| python-open-redirect | Low | CWE-601 | A01 |
| python-potential-redos | Low | CWE-1333 | — |
| python-stored-cookie-poisoning | Low | CWE-472 | A04 |
| python-stored-http-header-injection | Low | CWE-644 | A03 |
| python-stored-redirect | Low | CWE-601 | A01 |
| python-stored-response-splitting | Low | CWE-113 | A03 |
| python-stack-trace-exposure | Low | CWE-209 | A04 |
| python-parameter-injection | Low | CWE-88 | A03 |
| python-stored-parameter-injection | Low | CWE-88 | A03 |
| python-stored-environment-variable-injection | Low | CWE-74 | A03 |
| python-externally-controllable-file-permissions | Low | CWE-732 | — |
| python-weak-file-permissions | Low | CWE-732 | — |
Rust
The following table lists the Rust rules.
| Rule ID | Severity | CWE | OWASP Top 10 2021 |
|---|---|---|---|
| rust-classic-buffer-overflow | High | CWE-120 | — |
| rust-command-injection | High | CWE-78 | A03 |
| rust-redis-lua-script-injection | High | CWE-94 | A03 |
| rust-sql-injection | High | CWE-89 | A03 |
| rust-stored-command-injection | High | CWE-78 | A03 |
| rust-unsafe-deserialization | High | CWE-502 | A08 |
| rust-xss | High | CWE-79 | A03 |
| rust-elevate-access-privileges | Medium | CWE-284 | A01 |
| rust-insecure-websocket | Medium | CWE-1385 | — |
| rust-nosql-injection | Medium | CWE-89 | A03 |
| rust-path-traversal | Medium | CWE-22 | A01 |
| rust-2nd-order-sql-injection | Medium | CWE-89 | A03 |
| rust-ssrf | Medium | CWE-918 | A10 |
| rust-stored-path-traversal | Medium | CWE-22 | A01 |
| rust-stored-redis-lua-script-injection | Medium | CWE-94 | A03 |
| rust-stored-xss | Medium | CWE-79 | A03 |
| rust-use-after-free | Medium | CWE-416 | — |
| rust-hardcoded-credentials | Low | CWE-798 | A07 |
| rust-insecure-port | Low | CWE-319 | A02 |
| rust-insecure-protocol | Low | CWE-319 | A02 |
| rust-stored-nosql-injection | Low | CWE-89 | A03 |
Related Topics
Updated 24 days ago
