← THE AI APP DEVELOPMENT PLAYBOOK
ARTICLE 01 · PHASE 1 — AWARENESS · DECEMBER 2, 2026

Developing an App with AI? Understand the Pitfalls Before You Build

From vibe coding to production-grade applications. Don't just build an app. Engineer a product.

EVIDENCE & VERIFICATION SUMMARY

Basis: published research and technical guidance listed below; examples are hypothetical. The catalogue is an instructional synthesis, not an exhaustive or ranked taxonomy. Independent editorial review and live browser validation have not been completed. Sources describe their own study conditions, not universal current model performance.

YOUR DEVELOPMENT ROADMAP

From concept to commercialization

  1. Awareness · You are here
  2. Define
  3. Architect
  4. Develop
  5. Verify
  6. Validate
  7. Deploy
  8. Commercialize
  9. Improve
30-SECOND READ

What matters

AI makes software development accessible. But a functioning app is not necessarily accurate, secure, reliable or useful. Hidden defects can harm customers and undermine a business. This series follows an evidence-first development process, beginning with recognizing risks.

Anyone can build an app. But can anyone build a reliable product?

Imagine having an idea on Monday morning and a working prototype by Monday afternoon. Instead of manually writing hundreds of lines of code, you describe your idea to an AI coding agent, which then generates the software for you. This approach, often called vibe coding, is valuable for experimentation. Public release creates additional responsibilities.

An attractive user interface is not evidence of a reliable application.

Reveal what a working interface can hide

Prototype A

Monthly payment: $850

No demonstrated accuracy, security, testing or monitoring evidence.

Prototype B

Monthly payment: $850

Assume independent reference results, security checks and tests are documented.

Illustrative comparison; neither represents an actual product assessment.

What does the research tell us?

RESEARCH SPOTLIGHT · CRITICAL CARE EXPLORATIONS 2026
85 out of 300

References were entirely fabricated.

On March 10, 2026, researchers queried GPT-5.3, DeepSeek-V3 and Grok-4 without external retrieval. Of 300 citation outputs, 85 (28.3%) referred to publications that did not exist, and 165 (55%) had at least one inaccuracy.

28.3%

Why it matters: A citation can look convincing even when its source does not exist. This experiment concerns neurocritical-care references under retrieval-disabled conditions; it does not measure all applications or web-enabled models.

Peer-reviewed study, September 2026

RESEARCH SPOTLIGHT · VERACODE FALL 2026 · INDUSTRY BENCHMARK
38%

Approximate share of evaluated code-generation tasks not passing the security benchmark.

Veracode reported that its average security pass rate increased from roughly 56% in summer to 62% in fall 2026. The improvement is encouraging, but working code still warrants security review. These are vendor benchmark results, not observed production failure rates.

Fall 2026 update · Benchmark methodology

RESEARCH SPOTLIGHT · IEEE ICSME 2026
4,882

Agent-generated pull requests analyzed.

A study of five coding agents examined test coverage in Java and Python repositories. Only 49.6% of pull requests modifying code under test included test changes. Existing tests may still cover some changes; this is not a production defect rate.

Test Coverage Analysis of Agentic Pull Requests · IEEE publication

RESEARCH SPOTLIGHT · ACM 2025
733

AI-generated code snippets examined

Researchers reported security weaknesses in 29.5% of Python and 24.2% of JavaScript snippets in their sample. These are sample-specific findings, not the failure rate of all AI applications.

Fu et al. · Original study

RESEARCH SPOTLIGHT · USENIX SECURITY 2025
205,474

Unique hallucinated package names

Researchers evaluated 16 models and generated 576,000 code samples. Invented dependencies create a potential software supply-chain risk. Results reflect the tested models and conditions.

Spracklen et al. · Original study

AI also offers useful assistance with testing, documentation and review. The concern is inadequate engineering controls, not AI use itself.

The hidden pitfalls

Applications built using AI can contain ordinary software defects. Applications powered by AI add runtime model and agent risks. Explore the categories below; examples are illustrative, and some mechanisms overlap.

Accuracy and information integrity

ACC-01 AI hallucinations

What it is: AI can produce plausible false information.

Example: A research assistant invents a statistic.

Impact: Users make decisions based on false information.

ACC-02 Unverified sources

What it is: Information is used without checking its origin and applicability.

Example: A calculator uses a material property from an unidentified website.

Impact: Results cannot be substantiated.

ACC-03 Fabricated dependencies

What it is: AI recommends a nonexistent library or API.

Example: A coding agent imports an invented package.

Impact: Development fails or an unsafe substitute is installed.

ACC-04 Unexamined assumptions

What it is: Incomplete requirements allow AI to guess.

Example: A pricing calculator assumes taxes are included.

Impact: Plausible but incorrect output.

Security and privacy

SEC-01 Prompt injection

What it is: Untrusted content influences an AI system's instructions.

Example: An uploaded document redirects a summarizer.

Impact: Unintended responses or actions.

SEC-02 Jailbreaking

What it is: Attempts to bypass intended model restrictions; overlaps with prompt injection.

Example: A user persuades an assistant to disregard its constraints.

Impact: Behavior outside the intended boundary.

SEC-03 Sensitive information disclosure

What it is: Private data is exposed to an unauthorized party.

Example: One customer receives another customer's records.

Impact: Privacy violations and loss of trust.

SEC-04 Excessive agency

What it is: An agent has more permissions than its job requires.

Example: A read-only assistant can delete records.

Impact: Unauthorized or irreversible actions.

SEC-05 Improper output handling

What it is: Generated output is used by downstream software without adequate validation.

Example: A service accepts unsafe generated content.

Impact: Unexpected behavior or vulnerabilities.

SEC-06 Supply-chain weaknesses

What it is: Dependencies or external services introduce weaknesses.

Example: A compromised library enters the project.

Impact: System compromise or interruption.

SEC-07 Data and model poisoning

What it is: Manipulated information affects model behavior.

Example: A research assistant reads deliberately false product data.

Impact: Unreliable output.

SEC-08 Broken access control and exposed credentials

What it is: Permissions or secrets are inadequately protected.

Example: A basic subscriber reaches administrative functions.

Impact: Unauthorized access or financial loss.

Development and verification

DEV-01 Inadequate requirements

What it is: The intended behavior is not clearly specified.

Example: A loan calculator lacks a defined interest method.

Impact: Software performs the wrong task.

DEV-02 Insufficient testing

What it is: Important behaviors and edge cases are not evaluated.

Example: A calculator fails at zero interest.

Impact: Defects reach consumers.

DEV-03 Unchallenged AI output

What it is: The original agent's review is accepted without independent evidence.

Example: An agent approves its own incorrect formula.

Impact: Errors survive review.

DEV-04 Code regressions

What it is: A change breaks an existing feature.

Example: Adding search breaks login.

Impact: Existing users experience failures.

DEV-05 Insecure generated code

What it is: Working code contains hidden security weaknesses.

Example: A login flow inadequately protects sessions.

Impact: Exploitable software.

DEV-06 Technical debt

What it is: Repeated quick fixes make the architecture increasingly difficult to maintain.

Example: An agent duplicates logic across files.

Impact: Fragility and maintenance costs.

DEV-07 Poor version control

What it is: Previous working states cannot be reconstructed.

Example: An agent changes several files without recording a baseline.

Impact: Difficult recovery.

Operational and commercial reliability

OPS-01 Lack of observability

What it is: Developers cannot see useful diagnostic information.

Example: Intermittent failures leave no useful logs.

Impact: Failures are harder to diagnose.

OPS-02 Inadequate error handling

What it is: Unexpected failures are not handled gracefully.

Example: An external API times out and the app freezes.

Impact: Interrupted service.

OPS-03 Uncontrolled resource consumption

What it is: Computing or AI usage is not bounded.

Example: Repeated requests consume paid API credits.

Impact: Unexpected costs.

OPS-04 Poor performance and scalability

What it is: The application fails to meet expected demand.

Example: Concurrent users cause slow responses.

Impact: Reduced availability.

OPS-05 Inadequate recovery

What it is: Data or service cannot be reliably restored.

Example: A faulty database update removes records.

Impact: Data loss and downtime.

OPS-06 Unvalidated consumer usefulness

What it is: The product has not been evaluated against actual user needs.

Example: A polished application solves an uncommon problem.

Impact: Poor adoption.

OPS-07 Poor usability and accessibility

What it is: Consumers struggle to operate the product.

Example: A mobile user cannot complete a basic task.

Impact: Abandonment and exclusion.

Sources: NIST Generative AI Profile, NIST Secure Software Development Framework, OWASP LLM risks, OWASP ASVS, Google SRE and GOV.UK user needs guidance.

Observability: driving without a dashboard

Without a dashboard you cannot see your speed, fuel or engine temperature. Software needs equivalent visibility. Google's SRE guidance defines the Four Golden Signals:

1. Latency

How long a response takes.

1.82 s

2. Traffic

Demand placed on the service.

520 requests/min

3. Errors

How often requests fail.

12.4%

4. Saturation

How close a resource is to its capacity.

87% memory utilization

Illustrative metrics, not actual measurements. AI apps may also track API expenditure and token use. Observability does not prove correctness. Source: Google SRE.

How a small mistake becomes a commercial problem

Suppose AI reverses the conversion factor for pounds to kilograms. The calculator returns a number without crashing, but the result is wrong.

100 lb

Incorrect

lb × 2.20462

220.46 kg

Correct

lb × 0.45359237

45.36 kg

Relative error: approximately +386%. Hypothetical coding error; exact conversion factor for the international avoirdupois pound.

Without independent reference calculations, the mistake may survive testing and reach customers. A result is not evidence of a correct result.

Who is checking your AI coding agent?

Asking the same agent to review its own code can help, but the original assumptions may persist. A 2024 survey of self-correction research found stronger evidence for correction when reliable external feedback was available. Kamoi et al.

Agreement between two AI agents is not proof of correctness.

Independent challenge means examining assumptions against external reference data and repeatable tests. A separate agent is not automatically unbiased. Future articles will demonstrate how to assess this approach.

From vibe coding to engineering

Rapid experimentation is valuable. As an app matures, engineering rigor should match the consequences of failure. Evaluate functionality, accuracy, security, reliability, observability, maintainability, usefulness and operating costs. No single dimension guarantees commercial success.

DEVELOPER RESOURCE 001

Your first assignment: Application Development Risk Register

Identify which risks may apply to your application. This is an initial screening, not mitigation or a readiness certificate. The register stays in this page until copied; it is not stored on the server.

0 risks assessed

Next: Before You Write a Single Line of Code

The next planned article covers requirements, intended consumers and measurable acceptance criteria. Return to the Playbook roadmap as new articles are published.

References and limitations

Sources are linked throughout. Older research establishes documented mechanisms; it should not be interpreted as a measurement of the latest models. The examples and register are instructional, not empirical findings or a formal certification standard.