惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

The Last Watchdog
The Last Watchdog
C
Cyber Attacks, Cyber Crime and Cyber Security
L
LINUX DO - 热门话题
G
GRAHAM CLULEY
S
Schneier on Security
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
S
SegmentFault 最新的问题
IT之家
IT之家
阮一峰的网络日志
阮一峰的网络日志
Recorded Future
Recorded Future
I
Intezer
云风的 BLOG
云风的 BLOG
博客园 - Franky
月光博客
月光博客
大猫的无限游戏
大猫的无限游戏
T
Tenable Blog
The Hacker News
The Hacker News
T
The Blog of Author Tim Ferriss
Attack and Defense Labs
Attack and Defense Labs
D
DataBreaches.Net
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
N
News and Events Feed by Topic
有赞技术团队
有赞技术团队
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
N
News and Events Feed by Topic
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
S
Secure Thoughts
The Register - Security
The Register - Security
B
Blog
Security Archives - TechRepublic
Security Archives - TechRepublic
The Cloudflare Blog
Webroot Blog
Webroot Blog
W
WeLiveSecurity
H
Heimdal Security Blog
博客园 - 三生石上(FineUI控件)
V
Vulnerabilities – Threatpost
G
Google Developers Blog
O
OpenAI News
V
V2EX
罗磊的独立博客
博客园_首页
N
News | PayPal Newsroom
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
TaoSecurity Blog
TaoSecurity Blog
Cloudbric
Cloudbric
H
Hacker News: Front Page
博客园 - 叶小钗
T
Tor Project blog
AI
AI

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
Why traditional DAST misses your API vulnerabilities (and how to fix it in CI/CD)
Andriy Zapisotskyi · 2026-06-02 · via DEV Community

Short answer: traditional DAST scanners miss most API vulnerabilities because they crawl HTML pages an API does not have, ignore the schema that defines its real attack surface, and test for injection instead of the broken-authorization flaws that cause actual API breaches. The fix is schema-aware, authenticated testing wired into CI/CD so it runs on every pull request. The rest of this article shows why the old model breaks and how to close the gap.

In September 2022 an attacker walked off with the personal records of up to 10 million Optus customers, close to 40% of Australia, straight out of a public API (as Reuters reported). No exploit chain, no zero-day. The endpoint required no authentication and returned a customer record for whatever identifier you asked for, so the attacker just counted upward and collected the lot. A conventional DAST scanner pointed at that service would almost certainly have reported nothing wrong.

That gap is what this article is about. Most dynamic application security testing tools were built for a web of server-rendered pages and HTML forms, and they quietly fall apart on the APIs that now carry the bulk of application traffic. The analyst firm Gartner had already projected that API abuses would become the leading attack vector behind enterprise data breaches (via VentureBeat), and incidents like Optus turned that forecast into routine news. What follows is why classic scanners miss API flaws, a bug one will never flag, and how to get real API coverage running on every pull request.

What traditional DAST was built to do

Start with a clean definition, because the gap follows straight from it. Dynamic application security testing is a black-box method: it probes a running application from the outside, with no access to the source code, and watches how the system answers a stream of simulated attacks. That outside-in stance is what separates it from its two siblings, and the three approaches split the work like this:

A first-generation DAST tool earns its findings by crawling. It loads a URL, parses every link and form, follows them to map the application, then fuzzes each input it found with injection strings and watches for something to break. The model rested on one assumption that held for years: the application advertises its own attack surface through HTML. A server-rendered monolith did exactly that, which is also why DAST automates the kind of probing a penetration tester does by hand, scaling to every build without ever fully replacing a human's creativity.

Why that model breaks on modern APIs

An API-first architecture violates that assumption point by point. There are no pages to crawl, the inputs live in a schema the scanner cannot see, and the credentials are harder to carry than a cookie. Point a crawler at a JSON API and it loads one shell document, finds almost nothing to follow, and returns a short clean report that reflects its own blindness rather than your security.

That last row is the one that matters most. The vulnerabilities behind real API breaches are rarely malformed-input bugs; they are failures of authorization and business logic, and they arrive as perfectly valid requests the application should have refused. The OWASP API Security Top 10 makes the point bluntly, with access-control failures leading the list rather than injection:

  • Broken object level authorization (BOLA): a user reaches another user's data by changing an identifier. This was the Optus root cause, and OWASP ranks it the number-one API risk.
  • Broken authentication: tokens that can be forged, replayed, or that never expire.
  • Broken object property level authorization: mass assignment and over-exposed fields.
  • Broken function level authorization: a standard user invoking an admin-only operation.

None of these surface by throwing injection strings at a parameter. Catching them means reasoning about who is allowed to do what, which a crawl-and-fuzz tool was never built to do.

A concrete example: the BOLA your scanner will never find

Here is the Optus pattern in miniature. A legitimate request from user A returns their own order:

GET /api/v1/orders/1023 HTTP/1.1
Host: api.example.com
Authorization: Bearer <user_A_token>

200 OK
{ "id": 1023, "customer": "user_A", "total": 84.20 }

Now user A changes one digit and asks for a different order, still with their own valid token:

GET /api/v1/orders/1024 HTTP/1.1
Host: api.example.com
Authorization: Bearer <user_A_token>

200 OK
{ "id": 1024, "customer": "user_B", "total": 311.00 }

The second response is the breach. User A read user B's order because the backend confirmed the token was valid but never checked that the order belonged to the caller. To a scanner, nothing looks wrong: the request is well formed, there is no injection signature, and the server returns a clean 200. That is exactly how millions of records left Optus, one incremented identifier at a time.

GraphQL hides the same class of bug behind a single endpoint. A scanner sees one URL at /graphql and treats it as one page, while in practice that endpoint exposes dozens of queries and mutations, each with its own authorization rules. A query fetching user(id: 1024) { email } with the wrong caller's token is the same BOLA in different syntax, and the crawler is even less equipped to spot it, since it cannot enumerate the operations without the schema.

How to fix it in CI/CD

Closing the gap is not a matter of a better fuzzer. It needs testing that understands your schema, carries real credentials, and reasons about authorization, wired into the pipeline so it runs on every change instead of once a quarter. Four moves get you there:

  1. Feed the tester your schema. Hand it your OpenAPI spec, or enable GraphQL introspection in staging, so it enumerates every endpoint instead of guessing at them. This alone turns an invisible surface into a testable one.

  2. Make authentication a first-class input. Give it a real token flow and let it refresh mid-scan. With OAuth, SAML, SSO or MFA steps in play, the tool has to follow the flow rather than stall on a wall of 401s.

  3. Test across more than one identity. Send a request as user A, replay it as user B, and check whether B can reach A's data. Single-user scanning can never catch BOLA, because the bug only exists in the relationship between two users.

  4. Gate the build. Run the scan on each pull request against a staging deploy and fail on serious findings, so the outcome is a gate rather than a report nobody opens.

Most API-aware scanners ship a CI integration that bundles these moves. As a concrete, runnable example, Escape's official GitHub Action runs a scan on every pull request and fails the job when it finds something serious:

# https://github.com/Escape-Technologies/action
name: api-security
on:
  pull_request:
    types: [opened, synchronize]

jobs:
  escape-scan:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: Escape DAST scan
        uses: Escape-Technologies/action@v0
        with:
          application_id: ${{ secrets.ESCAPE_APPLICATION_ID }}
          api_key: ${{ secrets.ESCAPE_API_KEY }}

The application carries its own schema, authentication and test configuration on the platform, so the workflow itself stays this short. Swap in another vendor's action and the shape is the same; what matters is that the scan is wired to the pull request rather than left as a quarterly chore.

That fourth move is what shifting DAST left actually means: a fast, scoped check on every change rather than one heavy scan late in the cycle. Incremental scanning keeps it quick enough on large APIs to stay out of the team's way, and it heads off the alert fatigue that quietly kills most DAST programs. Run it continuously and a flaw turns up in code review, where it costs minutes, instead of in a breach notification.

Where Escape fits

If you want a tool built for the category above rather than a legacy scanner retrofitted onto APIs, Escape was designed around it from the start. It can work from your OpenAPI specification or GraphQL schema rather than depending on link-crawling alone, goes deep on REST and GraphQL with additional protocols like gRPC and SOAP available, and authenticates against the token and session flows that break older tools. That is what lets it reach the endpoints a traditional scanner never sees.

For the bugs in this article, its core focus is business logic and authorization testing rather than only fuzzing for injection, so the BOLA example earlier is exactly the kind of finding it is built to surface. If you are wondering whether that is just a crawler with better marketing, the engineering team has written up how the business-logic engine actually works. It runs in CI/CD pipelines with pass/fail gates, and it validates findings before reporting them, which is how tools in this space keep the false positive rate low enough that developers actually trust the output.

It is not the only option here, and the right choice depends on your stack and team. To weigh the trade-offs, this comparison of how the main DAST tools handle REST and GraphQL lays out where each one is strong and where it falls short, including API protocol support, CI/CD depth, and authentication handling.

How to layer it without ripping anything out

You do not need to tear out your existing scanner. If you run something like OWASP ZAP, keep it for the classic injection and configuration checks it does well, and add API-aware testing alongside it rather than treating one tool as the whole picture. DAST is also no substitute for the rest of your program: it will not catch a hardcoded secret the way SAST does, or a vulnerable dependency the way software composition analysis does, and it complements rather than replaces periodic manual penetration testing.

A workable order is to export an accurate schema first, since everything depends on the tool knowing your real surface, then wire up authentication, then add cross-user testing, and finally promote the job to a required check once the signal is clean. If you are not even sure how many APIs you have, begin with API discovery to surface the shadow APIs that breaches like Optus thrive on. Each step narrows the blind spot on its own, so there is no need to finish all of it before it starts paying off.

The takeaway

Traditional DAST is not broken; it is scoped to a problem that no longer matches how software is built. When the product is an API, the attack surface is invisible to a crawler, the credentials are harder to carry, and the vulnerabilities that count are about authorization rather than injection. A scanner built for the old shape keeps returning green while an attacker counts upward through your identifiers.

The fix is concrete: give the tool your schema, let it authenticate like a real client, test across identities, and run it on every pull request. Do that, and the BOLA that would otherwise become a headline shows up in a code review instead.