IAST
IAST: Interactive Application Security Testing
IAST is a hybrid of SAST and DAST. An agent is embedded in the application, watches code execution during tests and sees how data from a request travels through the program.
The agent knows both the request and the line of code, so findings are more precise and there are fewer false positives than with pure static analysis.
How it works
- The agent attaches to the runtime (JVM, .NET CLR, Node.js) on a test environment.
- During manual tests, automated tests or a DAST scan, the agent tracks the data flow.
- If unchecked data reaches a dangerous function, a vulnerability is recorded with a trace down to the line of code.
Limitations and common mistakes
- It sees only the code that actually ran during the tests.
- It supports a limited set of languages and runtimes.
- The agent adds overhead, so it is usually not used in production.
Tools
Contrast AssessSeekerDatadog IAST
Questions and answers
Do I need IAST if I have SAST and DAST?
Not necessarily. IAST helps mature teams with good automated test coverage. Without tests the agent has nothing to observe.