← Latest papers
💻 computer science

Seclens: Role-specific Evaluation of LLM's for security vulnerablity detection

The paper introduces SecLens-R, a multi-stakeholder evaluation framework that reveals significant variations in LLM vulnerability detection performance across different organizational roles, demonstrating that single-metric benchmarks fail to capture the distinct priorities of stakeholders like CISOs and engineering leaders.

Original authors: Subho Halder, Siddharth Saxena, Kashinath Kadaba Shrish, Thiyagarajan M

Published 2026-04-03
📖 5 min read🧠 Deep dive

Original authors: Subho Halder, Siddharth Saxena, Kashinath Kadaba Shrish, Thiyagarajan M

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are the captain of a massive ship (your company's software), and you need to hire a new First Mate (an AI model) to scan the horizon for hidden reefs (security vulnerabilities).

For years, the shipping industry has used a single number to rate these First Mates: "The Overall Score." If a mate has a score of 90/100, everyone assumes they are the best.

But this paper, SecLens, argues that this single number is a lie. It's like rating a chef solely on how fast they chop onions. A chef might be lightning-fast (great for a busy kitchen) but terrible at seasoning (disastrous for a fine-dining restaurant).

Here is the simple breakdown of what the authors discovered, using a few creative analogies.

1. The Problem: One Size Does Not Fit All

The paper says that different people in your company care about different things. A single "Overall Score" cannot satisfy them all.

  • The CISO (Chief Information Security Officer): Think of them as the Safety Inspector. They don't care if the First Mate is fast or cheap. They only care: "Did you miss a shark?" If the AI misses a critical vulnerability, it's a disaster. They want Recall (catching everything), even if it means the AI screams "Shark!" at a floating log (False Positives).
  • The Head of Engineering: Think of them as the Kitchen Manager. They care about Speed and Noise. If the AI screams "Shark!" at every piece of driftwood, the developers stop listening. They want Precision (only shouting when there's a real shark) so their team can keep cooking without panic.
  • The Chief AI Officer (CAIO): They are the Budget Manager. They ask: "Is this First Mate worth the salary?" They want a balance of skill and cost.
  • The Security Researcher: They are the Forensics Expert. They want to know how the AI found the shark. Did it see the fins? Did it smell the water? They need deep reasoning, not just a "Yes/No."
  • The "AI-as-Actor": This is the Robotics Engineer. They just want to know: "Does the robot crash when it tries to open a door?" They care if the AI can follow instructions without breaking.

2. The Solution: The "Role-Specific Glasses"

The authors created a new way to test AI called SecLens-R. Instead of giving one score, they put on five different pairs of colored glasses (one for each role) to look at the same AI.

They built a scoreboard with 35 different metrics (like speed, cost, accuracy, and reasoning).

  • The Safety Inspector puts on red glasses that only highlight "Missed Sharks" and "Critical Errors."
  • The Kitchen Manager puts on yellow glasses that highlight "False Alarms" and "Time Wasted."

The Shocking Result:
When they tested 12 top AI models, the scores changed wildly depending on who was looking!

  • Model A (Qwen3-Coder):

    • To the Kitchen Manager: It's an A+. It rarely screams "Shark!" at driftwood. It's precise and fast.
    • To the Safety Inspector: It's an F. It missed almost all the real sharks because it was too cautious.
    • The Gap: A 31-point difference on the same model.
  • Model B (GPT-5.4):

    • To the Kitchen Manager: A. Great precision, low cost.
    • To the Safety Inspector: D. It missed critical vulnerabilities.
  • Model C (Gemini 3 Flash):

    • To the Safety Inspector: B. It caught almost everything.
    • To the Kitchen Manager: B. Good, but maybe a bit noisy.

3. The "Tool-Use" Twist

The paper also tested the AI in two modes:

  1. Code-in-Prompt (CIP): You hand the AI a single page of code and ask, "Is this broken?" (Like looking at a photo of a reef).
  2. Tool-Use (TU): You give the AI a map and a boat, letting it sail around the whole database to find the reef. (Like actually sailing the ship).

The Catch: The "Tool-Use" mode is 10 to 100 times more expensive and slower. It's like hiring a full dive team instead of just looking at a photo. The paper found that for most companies, just looking at the photo (CIP) is enough to make a decision, unless you specifically need the AI to navigate the whole ship autonomously.

4. The Big Takeaway

The paper concludes that there is no "Best AI" for security.

  • If you are a Security Chief, you should pick the AI that catches the most sharks, even if it's a bit noisy.
  • If you are an Engineering Lead, you should pick the AI that is quiet and fast, even if it misses a few small fish.

The Metaphor:
Imagine you are buying a car.

  • The Safety Inspector wants the car with the most airbags and the slowest top speed (safest).
  • The Racing Driver wants the car with the fastest top speed and the lightest weight (fastest).
  • The Budget Buyer wants the car with the best gas mileage.

If a car magazine says, "This car is the Winner because it has a score of 90," they are lying. That car might be the worst choice for a family road trip (Safety) and the worst choice for a race (Speed).

SecLens simply says: "Stop looking for the single 'Winner.' Look at the score that matters to your specific job."

Summary in One Sentence

Don't let a single "Overall Score" trick you; the best AI for your security team might be the worst AI for your engineering team, and you need to choose the right tool for your specific job, not the one with the highest number on the leaderboard.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →