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

推荐订阅源

S
SegmentFault 最新的问题
博客园 - 三生石上(FineUI控件)
爱范儿
爱范儿
博客园 - 聂微东
V
Visual Studio Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
M
MIT News - Artificial intelligence
The GitHub Blog
The GitHub Blog
Recent Announcements
Recent Announcements
有赞技术团队
有赞技术团队
L
LangChain Blog
I
InfoQ
T
Tailwind CSS Blog
博客园 - 【当耐特】
V
V2EX
博客园_首页
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
GbyAI
GbyAI
Vercel News
Vercel News
雷峰网
雷峰网
量子位
A
About on SuperTechFans
Martin Fowler
Martin Fowler
H
Help Net Security

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
Why most AI fails at IDOR (and how AMAS fixes it with cau...
mr_miou · 2026-05-25 · via DEV Community

mr_miou

The problem no one talks about

Large language models are great at pattern matching.

Show them enough “vulnerable” examples, and they learn the words – not the reason.

That’s why they struggle with logical vulnerabilities like IDOR, privilege escalation, and workflow bypasses.

These attacks depend on who the actor is, who owns the resource, and where the trust boundary sits – not just on the presence of keywords like “authorization”.

Enter AMAS

AMAS (AI Multi‑Agent Security Analysis System) is a security reasoning substrate.

It doesn’t teach the model to memorise patterns.

It teaches it to understand causality.

Instead of “this is an IDOR”, AMAS models:

  • Identity & Session – who is the actor? who is the owner?
  • Enforcement failures – which security control was missing or broken?
  • Temporal transitions – what changed before and after the request?
  • Causal graphs – how does a chain of events lead to a breach?

How it works (in a nutshell)

  1. Ingest real‑world CVEs – streaming NVD feeds, filter by relevance (access control, auth, business logic).
  2. Convert each CVE into a causal graph – extract actors, resources, trust boundaries, and missing controls.
  3. Mix with high‑quality synthetic data – generated by a semantic mutation engine that changes mechanics (infrastructure, auth model, async behaviour), not just wording.
  4. Quality control – deduplication, domain coherence checks, repetition validation.
  5. Exporttrain.jsonl ready for fine‑tuning, plus detailed manifests.

Everything is deterministic (same seed → same dataset) and scalable (handles 200k+ CVEs).

Results (so far)

After fine‑tuning a Mistral‑7B model on AMAS‑generated data:

  • Generalisation – same vulnerability, different wording → correctly identified.
  • Negative tests – secure login requests → no false alarms.
  • Domain shift – secure scenarios in fintech, e‑commerce, healthcare → all classified correctly.

Duplication dropped from 52% to <10%, and domain corruption was eliminated in the latest pipeline.

Next steps

  • Open‑source release (GitHub) – complete pipeline, docs, examples.
  • Research paper (causal reasoning + identity‑aware training).
  • Pre‑trained model weights.

Why share this now?

Because the industry keeps building pattern‑matching scanners.

We need reasoning engines.

If you’re into AI security, causal ML, or synthetic data – let’s connect.

I’ll drop the repo link here as soon as it’s public.


Comments and questions are very welcome. Let’s make AI actually understand security.