Feed
researchAI Development7d ago

Study Analyzes Impact of Security-Focused Prompts on AI-Generated Web Applications

Facts

Researchers evaluated how appending OWASP-aligned security requirements to prompts affects the code quality of applications generated by Claude Code and Codex CLI. The study found that while security prompting significantly reduced first-party source code vulnerabilities, it inadvertently increased the declared dependency surface area, leading to more dependency-related security advisories.

  • ▸The study evaluated 400 AI-generated web applications using two agentic coding tools: Claude Code and Codex CLI.
  • ▸Appending security-focused requirements reduced vulnerabilities in first-party source code by approximately 50%.
  • ▸Security prompting resulted in a 33% reduction in overall security findings per application.
  • ▸The use of security-focused prompts doubled the declared dependency surface area of the generated applications.
  • ▸The overall advisory rate for dependencies remained flat when adjusted for the increased library surface area.
Occurred
2026-11-20 23:23 UTC
First reported
2026-11-20 23:23 UTC
Last updated
2026-11-24 02:11 UTC
Event type
research
Region
Global

Entities

Categories

Source timeline · 1

  • arXivFirst-party2026-11-20 23:23
Community vote

Sign in to vote on importance and sentiment.

Platform Signals

Impact score
70
AI sentiment
Positive
Event significance30%1
Entity importance20%1
Source credibility20%1
Novelty15%1
Corroboration15%1
Confidence1
Novelty1
Corroboration1
Community
ImportanceNo votes
Strategic sentiment
Positive 0%Neutral 0%Negative 0%

Platform signals are algorithmic and community-derived indicators. They are not investment recommendations and do not predict valuation or performance.