# Static Application Security Testing (SAST) explained > What static application security testing (SAST) is, how it traces untrusted input through code, what it finds and where it falls short. ## What is static application security testing? Static application security testing (SAST) examines an application's source code, bytecode or binaries for security flaws without running the program. It traces how untrusted input moves through the code and flags places where that input can reach something dangerous, such as a database query, a shell command or a file path, so developers can fix the flaw before release. Updated 2026-11-23. ## How SAST works Most SAST tools first parse the code into a model they can search, such as a syntax tree and a data flow graph. Rules or queries then look for a path from a source, like an HTTP parameter, to a sink, like a SQL call, with nothing in between that makes the input safe. Simpler tools match patterns one file at a time; deeper ones follow data across functions and files. ## What it finds well - Injection: SQL, operating system commands, templates. - Path traversal and unsafe file handling. - Cross-site scripting where output is built from input. - Hard-coded secrets and weak cryptography. - Unsafe deserialization of untrusted data. ## Where it falls short SAST sees the code, not the deployment. It cannot know that a route sits behind a login, that a proxy strips a header, or that a feature flag is off in production. That is why SAST reports carry false positives, and why many teams pair it with dynamic testing (DAST) against a running build. Business logic flaws, such as a missing check that a user owns the record they are editing, are hard for any rule set to judge. ## Where pokayoke fits [pokayoke](https://pokayoke.sh/?utm_source=staticapplicationsecuritytesting.com&utm_medium=seo_domain) is a SAST service for GitHub built around the false positive problem. It runs exploits against your code and against a hardened copy to prove what it can, and marks each finding proven or not: proven only when the exploit works on your code and the hardened copy holds. A finding confirmed only by reading the code is labelled that way. ## About this site https://staticapplicationsecuritytesting.com/ is a one-page guide written by EZO Labs, the company behind pokayoke: security code review for GitHub that runs exploits to prove what it can and marks each finding proven or not. https://pokayoke.sh/?utm_source=staticapplicationsecuritytesting.com&utm_medium=seo_domain