Key takeaway
- Types of security testing explained: SAST, DAST, IAST, SCA, penetration testing and LLM app testing, with current tools and when each one fits.
Security testing checks software, infrastructure and AI applications for weaknesses before an attacker finds them. The main types of security testing are static application security testing (SAST), dynamic application security testing (DAST), interactive application security testing (IAST), software composition analysis (SCA), secrets scanning, vulnerability scanning and penetration testing. Applications built on large language models (LLMs) now need a further type: adversarial testing against the OWASP Top 10 for LLM Applications 2025.
No single type covers everything. SAST reads code, DAST attacks the running application, IAST watches it from the inside, SCA checks the open source you depend on, and penetration testers chain small findings the way a real attacker would. This guide compares the types, shows which tools are current as of November 2026 and gives an order in which to adopt them. For where each test sits in a delivery pipeline, see our DevSecOps pipeline, tools and governance guide.
What are the main types of security testing?
Each type answers a different question, needs different access and fits a different point in delivery. The table is the short version for anyone choosing where to spend the next testing budget.
| Type | What it tests | When it fits | Main limit |
|---|---|---|---|
| SAST | Source code or binaries, without running them (white-box) | On every pull request, from the first sprint | Cannot see runtime or configuration issues; false positives need tuning |
| DAST | The running application from the outside, as an attacker sees it (black-box) | Against test or staging builds of web apps and APIs | Needs a deployed build; finds issues late and cannot point to the code line |
| IAST | The running application from the inside, through an agent that instruments it | During functional and integration testing | Only covers code paths that tests exercise; agent support depends on language |
| SCA | Open source and third-party dependencies for known vulnerabilities and licences | On every build, and continuously against new advisories | Finds known issues only; reachability varies by tool |
| Secrets scanning | Hard-coded keys, tokens and passwords in code and history | Pre-commit and on every push | Detection after the fact still means rotating the secret |
| Vulnerability scanning | Hosts, containers and services for known CVEs and misconfiguration | Continuously across infrastructure | Known issues only; no business-logic testing |
| Penetration testing | A scoped, human-led attack that chains weaknesses | Before major releases, after big changes, and for compliance | Point in time; quality depends on the tester |
| LLM and agent testing | Prompt injection, data leakage, excessive agency and similar AI risks | Before any LLM feature or agent goes live, then on every model or prompt change | Young tooling; results vary between runs |
How do SAST, DAST and IAST differ?
The three are often confused because they all target application code. The difference is how much the tester knows and whether the application is running.
SAST: inside-out, before the code runs
SAST analyses source code without executing it, so it can run as soon as code exists and point developers to the exact line. It suits the earliest stage of the software development life cycle. Because it never sees the running system, it misses runtime and environment problems, and rule sets need tuning to keep false positives manageable.
DAST: outside-in, against a running build
DAST sends crafted requests to a deployed application and watches the responses, which is how it finds injection, authentication and configuration flaws that only show up at runtime. The tester needs no source code. Findings arrive later in delivery and do not map straight to a code line. Our complete guide to DAST covers setup in more depth.
IAST: instrumented, during testing
IAST places an agent inside the running application. Contrast Security, for example, describes its IAST product as using an agent that instruments the running application with sensors, combining static and dynamic analysis from inside the application. IAST gives precise, low-noise findings, but only for code that your functional tests actually exercise, and only for languages the agent supports.
| Approach | Tester knowledge | Typical security tests |
|---|---|---|
| Black-box | None of the internals; only what an outsider can see | DAST, external penetration tests, blind tests |
| Grey-box | Partial: some documentation, credentials or architecture | Authenticated DAST, most commercial penetration tests |
| White-box | Full access to code, design and configuration | SAST, secure code review, white-box penetration tests |
What does software composition analysis add?
Most enterprise applications are largely assembled from open source, so a clean SAST result says little about the libraries underneath. The OWASP Top 10:2025 now lists A03:2025 Software Supply Chain Failures as its own category. SCA tools inventory dependencies and match them against public advisories. OWASP describes Dependency-Check as a Software Composition Analysis tool suite that identifies project dependencies and checks whether they have known, publicly disclosed vulnerabilities.
Pair SCA with a software bill of materials (SBOM) for each release, so that when a new advisory lands you can answer which products are affected in minutes rather than days.
When do you need penetration testing?
Penetration testing is a scoped, authorised attack carried out by people, often supported by tools. It finds what automated scanners miss: business-logic flaws, chained low-severity issues and weak trust boundaries. NIST's SP 800-115, Technical Guide to Information Security Testing and Assessment (final, September 2008) is still the reference for planning tests, choosing techniques and turning results into mitigation plans. For a fuller walkthrough of phases and reporting, read our guide to what penetration testing is.
| Classified by | Options | What it simulates |
|---|---|---|
| Tester's knowledge | Black-box, grey-box, white-box | An outsider, a partly informed attacker, or an insider with full knowledge |
| Tester's location | External, internal | An internet attacker, or an attacker who is already inside the network (for example with stolen credentials) |
| Who is told | Blind, double-blind, targeted | Real-world attack with or without the defence team knowing; targeted tests share progress with defenders as training |
| How it is run | Manual, automated, hybrid | Expert judgement for critical systems; automation for breadth and repeat checks |
Automated and AI-assisted testing is growing, but vendors still frame it as support for human testers. PortSwigger, for instance, describes its Burp AT product as agentic AI that extends human-led pentesting.
How do you test AI and LLM applications?
LLM applications fail in ways classic scanners do not look for: the model can be talked into ignoring its instructions, leak data from its context, or call tools it should not. The OWASP Top 10 for LLM Applications 2025 is the common checklist. Each entry needs its own test cases.
| OWASP LLM risk (2025) | What to test |
|---|---|
| LLM01 Prompt Injection | Direct and indirect injection through user input, documents, web pages and tool output |
| LLM02 Sensitive Information Disclosure | Whether prompts can extract personal data, secrets or other users' content |
| LLM03 Supply Chain | Provenance of models, datasets, plugins and libraries |
| LLM04 Data and Model Poisoning | Controls on training, fine-tuning and retrieval data |
| LLM05 Improper Output Handling | Whether model output reaches browsers, shells or databases unescaped |
| LLM06 Excessive Agency | Whether the model can call tools or take actions beyond its task |
| LLM07 System Prompt Leakage | Whether the system prompt can be extracted, and that it holds no secrets |
| LLM08 Vector and Embedding Weaknesses | Access control and poisoning in retrieval stores |
| LLM09 Misinformation | Grounding, citation and hallucination rates on your own data |
| LLM10 Unbounded Consumption | Rate limits, token budgets and cost controls |
Two open source tools are widely used to automate this. NVIDIA's garak (Apache 2.0) describes itself as a generative AI red-teaming and assessment kit that checks whether an LLM-backed application can be made to fail in ways you do not want, including prompt injection, data leakage and jailbreaks. Microsoft's PyRIT (Python Risk Identification Tool) is a framework for finding risks in generative AI systems; note that the old Azure/PyRIT repository was archived on 27 March 2026 and points to the new microsoft/PyRIT location. For agent behaviour specifically, AgentEvaluation scores and benchmarks enterprise AI agents before and after they go live.
Agents raise the stakes because they act, not just answer. OWASP's GenAI Security Project published the OWASP Top 10 for Agentic Applications 2026 on 9 December 2025; its release names risks such as agent behaviour hijacking, tool misuse and exploitation, and identity and privilege abuse. Testing an agent therefore means testing its permissions and approval gates as well as its prompts, which our security checklist for bots and AI agents sets out.
Which security testing tools are current in 2026?
Tool names and owners change often. The status below comes from each vendor's or project's own page, read on 11 November 2026. It is a starting map, not an endorsement.
| Tool | Type | Current status (from its own page) |
|---|---|---|
| Burp Suite | DAST, manual testing | Offered as Burp Suite Professional, Burp Suite DAST (enterprise scanner), Burp Suite Community Edition and Burp AT (agentic AI for human-led pentesting) |
| ZAP | DAST | Branded ZAP by Checkmarx; free, open source and described as an independent open source project |
| HCL AppScan | SAST, DAST, IAST, SCA | Offered by HCLSoftware as an application security suite; this post previously listed it as IBM Security AppScan |
| Semgrep | SAST, SCA, secrets | Semgrep Code (SAST), Semgrep Supply Chain (SCA) and Semgrep Secrets |
| Contrast Assess | IAST | Instruments the running application with an agent |
| OWASP Dependency-Check | SCA | Open source SCA tool suite |
| Qualys Community Edition | Vulnerability and web app scanning | Free version of the Qualys Enterprise TruRisk Platform |
| garak | LLM testing | Open source (Apache 2.0) LLM vulnerability scanner |
| PyRIT | LLM red teaming | Open source; moved from Azure/PyRIT (archived 27 March 2026) to microsoft/PyRIT |
| Arachni | DAST (retired) | Repository archived 31 May 2026; README says Arachni is obsolete and points to Ecsypno Spectre Scan. Do not start new work on it |
One correction to older guides, including the earlier version of this post: OWASP is not a tool. It is an open community and foundation that publishes standards (such as the Top 10, ASVS and WSTG) and hosts projects such as Dependency-Check.
Which standards should a security testing programme follow?
| Standard | Use it for | Status |
|---|---|---|
| OWASP ASVS | Defining what 'secure enough' means for an application, level by level | Version 5.0.0, stable release published 30 May 2025 |
| OWASP WSTG | Test procedures for web applications | v4.2 (3 December 2020) is the latest release; v5.0 is in development |
| OWASP Top 10:2025 | Awareness and prioritising web application risks | 2025 edition |
| OWASP Top 10 for LLM Applications | Test cases for LLM features | 2025 edition |
| NIST SP 800-115 | Planning and running technical security assessments | Final, September 2008 |
What has changed since this guide was first written?
| Earlier view | Position in November 2026 |
|---|---|
| IBM Security AppScan | Listed and sold as HCL AppScan by HCLSoftware |
| Arachni as an open source scanner | Archived on 31 May 2026 and declared obsolete by its maintainers |
| OWASP described as a tool | OWASP is a community and foundation; use its standards and projects |
| Qualys free scan with ten free scans | Qualys now offers a free Community Edition; check its terms for current limits |
| Burp Suite Enterprise Edition | PortSwigger lists Burp Suite DAST as its enterprise scanner, alongside Burp AT |
| Web apps and APIs as the main scope | LLM features and AI agents need their own test cases (OWASP LLM Top 10 2025, Agentic Top 10 2026) |
| OWASP Top 10 2021 | OWASP Top 10:2025, with supply chain failures and mishandling of exceptional conditions as categories |
How should enterprises sequence security testing adoption?
- Set the bar. Pick an ASVS level per application tier so every test has a pass mark.
- Start with SAST, SCA and secrets scanning in pull requests. They are cheap to run, close to the developer and catch the most common issues early.
- Add DAST against staging. Run authenticated scans of web apps and APIs on every release candidate.
- Add IAST where test coverage is good. It pays off when functional tests already exercise most code paths.
- Make it continuous. Feed findings into one backlog with owners and fix-by dates; our note on continuous security testing explains the operating model.
- Test LLM features and agents before launch. Use the OWASP LLM Top 10 as the test plan and automate regression runs with tools such as garak or PyRIT.
- Commission penetration tests for major releases, high-risk systems and compliance, and feed every finding back into automated checks.
Detection and response matter as much as testing. MetaSecure describes itself as an agentic SOC with AI agents, including a red teaming agent that simulates adversaries to harden systems.
How do you govern findings, cost and risk?
- One owner per finding. Every finding needs a named team, a severity and a fix-by date.
- Exceptions expire. Accepted risks need an approver and an end date, not a permanent waiver.
- Evidence by default. Keep scan results, test reports and fixes per release so audits do not become projects.
- Measure noise. Track false-positive rates per tool; a scanner nobody trusts is a cost with no benefit.
- Authorise every test. Penetration and LLM red-team tests need written scope and approval, especially near production.
What are the trade-offs, and when should you not add another test type?
More tools do not mean more security. Each new scanner adds triage work, and overlapping tools report the same issue several times. Skip IAST if your stack is not supported or your functional tests are thin. Do not run DAST or LLM red-team tests against production without agreed scope, because they can change data or trigger costs. Do not treat an annual penetration test as your programme; it is a check on the programme. And do not rely on automated AI testing alone for agents that can move money or change access; those need human review and approval gates in the workflow itself.
To map one security decision your AI agents should make, and the context and policy it depends on, book a Context Workshop. See what happens in the workshop.
Frequently asked questions
What are the main types of security testing?
The main types are SAST, DAST, IAST, software composition analysis, secrets scanning, vulnerability scanning and penetration testing. Applications that use large language models also need adversarial testing against the OWASP Top 10 for LLM Applications 2025.
What is the difference between SAST and DAST?
SAST analyses source code without running it and points to the exact line, so it fits early in development. DAST attacks a running build from the outside and finds runtime and configuration flaws, but later in delivery and without a code location.
Is IAST a replacement for SAST and DAST?
No. IAST instruments the running application and gives precise findings, but only for code paths that tests exercise and only for supported languages. Most teams run it alongside SAST and DAST.
How do you security test an LLM application?
Use the OWASP Top 10 for LLM Applications 2025 as the test plan, covering risks such as prompt injection, sensitive information disclosure and excessive agency. Open source tools such as garak and PyRIT help automate these tests.
Is Arachni still maintained?
No. Its GitHub repository was archived on 31 May 2026, and the README says Arachni is obsolete and points to Ecsypno Spectre Scan as its successor.
Which standard defines what to test in a web application?
OWASP ASVS 5.0.0, published 30 May 2025, defines security requirements by level, and the OWASP Web Security Testing Guide (v4.2) describes how to test them.
Putting Security Testing Strategies into Action
Speak with our experts about implementing advanced security testing strategies and exploring various types, tools, and methods to enhance your organization's protection. Learn how industries leverage security testing best practices to optimize IT operations and improve risk management, ensuring robust defense against cyber threats.
Follow XenonStack on LinkedIn: XenonStack on LinkedIn for new guides on agentic AI, data and platform engineering.
Ready to put AI agents to work? Explore ElixirClaw, the agentic OS platform to build, orchestrate and govern AI agents.
Explore the XenonStack platform family: ElixirData · ElixirClaw · ElixirHub · NexaStack · MetaSecure · Neural AI · AgentGRC · AgentSRE · AgentAnalyst · AgentInstruct · AgentRAI · AgentScrum · AgentSearch · AgentForce · AI Aviator · SAIF Aviator · CohortIQ · XenonStack AI · XenonStack UAE