Secure AIDLC for Startups: A 12-Stage Framework With a 30/60/90-Day Roadmap
Secure AIDLC is a proposed, human-governed lifecycle with 12 stages and three implementation levels, designed for teams without a dedicated security function. This article sets out the stages, the essential controls at each level, a 30/60/90-day roadmap, a maturity check and a CTO checklist.
A startup does not fail a security review because it lacks a framework. It fails because nobody owns the basics, the basics are scattered across five tools, and the person who understood the setup left. I have led readiness for SOC 2, PCI DSS, ISO 27001 and ISO 42001 audits, and the lesson I carry from all of them is that a small number of consistently operated controls beat a large number of documented ones.
AI coding tools raise the rate of change: more code, dependencies and automation reach production, usually with the same two or three people responsible. This article proposes a framework for that situation, which I call Secure AIDLC: a human-governed AI development lifecycle in twelve stages, with three implementation levels so a seed-stage team and a regulated enterprise can use the same model at different depth.
Secure AIDLC is my proposed framework, not a standard, and AIDLC itself is an emerging operating model, not a standardised lifecycle. I do not assume you need paid enterprise products: most essential controls below are processes and free tooling.
Why this matters now
The first reason is evidence. Research on AI coding assistance and security is mixed. Some studies found weaker security or inflated confidence among users of assistants, others found small or no effects, and a randomised trial found experienced developers took longer with AI tools while expecting to be faster 23. I take two things from that: you cannot assume AI makes your team faster or safer, and you should measure outcomes in your own environment.
The second reason is responsibility. CISA's secure-by-design material puts security ownership on the software producer and says products should be secure out of the box, with MFA, logging and SSO available at no extra cost 18. That statement describes what vendors should offer, and it does not say any product enables MFA by default. As a startup you are the producer for your customers, and the customers' questionnaires will reflect that.
Background: the frameworks I am drawing on
Secure AIDLC does not replace existing frameworks. It borrows from them.
- NIST SSDF supplies secure development practices to add to any SDLC, organised into four groups 8.
- OWASP SAMM provides a maturity model with five business functions and fifteen practices that you can use to assess where you are 9.
- OWASP ASVS is the OWASP list of application security requirements; the current stable release is 5.0.0 10.
- CIS Controls v8.1 and Implementation Group 1 give a foundational set of 56 safeguards described as essential cyber hygiene for small and medium organisations with limited IT staff, intended as a starting point and not full coverage 45.
- NIST CSF 2.0 is a taxonomy of high-level cybersecurity outcomes any organisation can use 1. NIST's small business quick-start guide is a supplement to the CSF, not a replacement 3. An important caveat: CSF outcomes are not a checklist and are not prescriptive, since the framework does not prescribe how outcomes are achieved 2. Use it to frame conversations and gaps, not to tick boxes.
- CISA Cyber Essentials is a guide for small organisations built on six elements: Yourself, Staff, Systems, Surroundings, Data and Crisis Response 6. The UK NCSC publishes a small organisations guide covering backups, protecting devices and accounts, and spotting scams 7.
My contribution is the arrangement: a twelve-stage lifecycle placing these controls where AI-assisted delivery makes them most likely to be skipped.

Research analysis: the startup gap
I will state the gap as analysis, not as measured prevalence, because I did not find a verified source quantifying it. In early-stage teams, the pattern is often:
- no named owner for application security,
- no threat model for the features that handle money, identity or personal data,
- review done by whoever is free, with pressure to merge,
- secrets and cloud permissions set up once and never revisited,
- logging added only after an incident.
The OWASP Top 10 explains why these matter. Broken access control is the top-ranked web application risk in the 2021 list 11, identification and authentication failures are a separate category 12, and without logging and monitoring, breaches cannot be detected 16. Misconfiguration is similarly structural: systems need a repeatable hardening and configuration process or risk rises 25. None of these are exotic, and all of them are easy to introduce when code is generated quickly and reviewed briefly.
AI changes the rate of change; it does not change who is accountable.
The framework: Secure AIDLC in 12 stages
Each stage names the control that matters most, who holds the decision, what AI may do, and the evidence to keep. "AI may" means permitted assistance; it never means authority to approve. Evidence entries are deliberately small, because a small team will keep evidence only if it is cheap.
| # | Stage | Objective | Human owns | AI may | Core controls | Evidence | Exit criteria |
|---|---|---|---|---|---|---|---|
| 1 | Human-led requirements | State intent, users, data and abuse cases | Product owner, CTO | Draft, expand, find gaps | Security and privacy requirements written per feature | Requirement note with data types | Requirements reviewed by a human |
| 2 | Risk classification | Decide how much assurance a change needs | CTO or security owner | Suggest a class | Low, medium and high classes tied to review depth | Class recorded on ticket | Class agreed before build |
| 3 | AI-assisted architecture | Choose design and components | Tech lead | Propose options, document trade-offs | Record assumptions and data flows; avoid unrequested dependencies | Short design note | Assumptions reviewed |
| 4 | Threat modelling and security design | Identify what can go wrong | Tech lead with security owner | Suggest threats | Four-question model; authN, authZ, secrets, logging decisions | Threat list with decisions | High-risk threats have owners |
| 5 | Controlled AI code generation | Generate within guardrails | Developer | Generate, refactor, draft tests | Approved tools and data classes; agent permissions scoped 20 | Tool inventory; AI-use note on PR | Developer can explain the change |
| 6 | Automated code and dependency analysis | Catch known issue classes cheaply | Developer, platform owner | Triage findings | SAST, dependency and secret scanning in CI | CI results retained | No blocking findings |
| 7 | Functional and security testing | Verify behaviour and abuse cases | Developer, tester | Draft tests | Authorisation tests, input validation; rate limits 24 | Test results | Tests independent of generator for high risk |
| 8 | AI-assisted review with independent validation | Add a second look | Reviewer | Summarise, flag risks | Reviewer is a different person from author; AI review is advisory | Review record | Reviewer approval |
| 9 | Human risk review and approval | Accept or reject residual risk | Security owner or CTO | Prepare summary | Exceptions with owner and expiry | Approval and exception log | Named approver |
| 10 | Controlled deployment | Release safely | Platform owner | Assist with config | Protected branches, CI/CD flow control and IAM 17, rollback plan | Deployment record | Rollback tested |
| 11 | Runtime security monitoring | Detect abuse and failure | On-call owner | Summarise alerts | Logging of authN, access control failures and admin actions 15 | Retained logs, alert rules | Alerts reach a person |
| 12 | Continuous assurance and feedback | Learn and re-verify | Security owner | Analyse trends | Periodic review of dependencies, access, exceptions and incidents | Review notes | Findings feed stage 1 and 4 |
Three design decisions underlie the table.
First, a risk class drives depth. Not every change deserves a threat model or a second reviewer. Stage 2 lets a typo fix move quickly and a payment change slow down, which is the only way a small team can afford the process.
Second, AI never holds the approval. At stages 8 and 9, AI output is advisory. If an AI reviewer and the author's assistant share the same blind spot, a second AI does not give independence. That is my reasoning, not a measured finding, and it is the reason stage 8 says independent validation.
Third, evidence is a by-product. Pull request templates, CI logs and a short exceptions register go a long way, and stage 12 feeds findings back into requirements and threat models.
Three implementation levels
The same stages apply at all levels. What changes is depth, formality and tooling.
| Dimension | Level 1: early-stage startup | Level 2: scaling startup | Level 3: enterprise |
|---|---|---|---|
| Team | Under about ten engineers, no AppSec | Several teams, first security hire | Formal security function and governance |
| Risk classification | Two classes (routine, sensitive) | Three classes with SLA by class | Tied to enterprise risk register |
| Threat modelling | One page for sensitive features | Template per service, reviewed quarterly | Required by policy, reviewed by security |
| Code analysis | Free SAST, dependency and secret scanning | Add container and IaC scanning, SBOMs | Central policy-as-code, SLSA-aligned builds 22 |
| Review | Second human on sensitive changes | CODEOWNERS for critical paths | Separation of duties enforced |
| AI controls | Approved tools list, no agent with production access | Scoped agent identities, audit logs | Formal AI governance aligned to AI RMF and ISO 42001 |
| Exceptions | Written, owner, expiry | Registry with review cadence | Risk acceptance process |
| Monitoring | Auth and access failures logged | Central logging, alert routing | SOC integration, incident exercises |
| Assessment | Self-check with this article | SAMM lens 9 | SAMM and external audit |
I use the SLSA framing 22 at Level 3 as a guide for supply-chain requirements, not as a starting point: SLSA is a set of incrementally adoptable guidelines, and a small team should adopt the early steps only.
Essential controls versus maturity improvements
I separate the controls I would not ship without from those that improve maturity. This is my judgement from programme work, informed by the sources cited in each row.
| Area | Essential (Level 1) | Maturity improvement |
|---|---|---|
| Identity | MFA on source control, cloud, email and CI; recommended by OWASP against credential attacks 1213 | Phishing-resistant authenticators, central SSO |
| Secrets | None in source code; rotate; short-lived where possible 14 | Central secrets manager, automatic rotation |
| Access | Least privilege on cloud and CI 17 | Just-in-time access, periodic reviews |
| Code review | Second person on auth, payments, data changes | Risk-based reviewer assignment |
| Dependencies | Automated vulnerability alerts, lockfiles | SBOMs, provenance checks 22 |
| Logging | Log auth events, access failures, admin actions; never log secrets 15 | Central log search, alerting |
| API security | Check authorisation on every object access (my recommendation); rate limits 24 | API inventory and automated testing |
| Cloud config | Block public storage by default where supported; for example S3 Block Public Access is recommended at account level 19 | Policy-as-code and drift detection |
| Backups and response | Tested restore, one-page incident plan 67 | Exercises, retainers |
A point on authentication that I see mishandled: OWASP's authentication guidance calls MFA the strongest defence against password attacks, and recommends standards and maintained libraries 13. That is guidance to enable MFA and use established components. It does not mean any platform has MFA switched on for you, so check each service.
Cost-conscious tooling
The categories matter more than the brands. Examples I have used or evaluated include open-source SAST (Semgrep OSS), secret scanning (gitleaks), dependency scanning (OSV-Scanner, platform-native alerts), container and IaC scanning (Trivy), and SBOM generation (Syft). I did not verify current licences, features or limits for this article, so confirm them before adopting. Buy a paid product only when you can name the specific gap it closes.

The 30/60/90-day roadmap
This roadmap targets a Level 1 team moving towards Level 2. It is my proposal and assumes one engineer can give about a day a week to it.
| Window | Focus | Deliverables | Done when |
|---|---|---|---|
| Days 1 to 30: foundations | Ownership and the basics | Name a security owner; inventory AI tools, repos, cloud accounts, third-party services; MFA everywhere 13; secret scanning and rotation of exposed secrets 14; protected main branch; dependency alerts; one-page lifecycle and AI-use policy | Every repo has protections; no known live secrets in code; owner named |
| Days 31 to 60: process in the pipeline | Make controls routine | Risk classes on tickets; PR template with risk class and AI-use note; SAST and dependency checks in CI; threat model for the two most sensitive features; authorisation and input tests on them; rate limits on public APIs 24; logging of auth and access failures 15 | CI blocks on agreed findings; two threat models exist; logs reach a person |
| Days 61 to 90: assurance and governance | Prove and improve | Exceptions register with expiry; reviewer independence for sensitive changes; agent permissions reviewed against least privilege 2021; restore and incident drill; SAMM or CIS IG1 self-assessment 59; first quarterly review | Self-assessment scored; exception register reviewed; drill completed |
Ninety days is realistic at Level 1 only if scope is limited to the sensitive parts of the system.
Startup security maturity check
Score each item 0 (no), 1 (partly) or 2 (yes, and evidence exists). This is my proposed assessment, not a validated instrument; use it to prioritise, not to benchmark against other companies.
| # | Question | Score |
|---|---|---|
| 1 | A named person owns application security | |
| 2 | We can list every AI tool and agent with access to code | |
| 3 | MFA is enforced on source control, cloud, CI and email | |
| 4 | No secrets in repositories; exposed secrets are rotated | |
| 5 | Changes carry a risk class and the review depth matches it | |
| 6 | Sensitive features have a written threat model | |
| 7 | CI runs dependency, secret and code scans | |
| 8 | High-risk tests are independent of the code generator | |
| 9 | Exceptions have an owner and an expiry date | |
| 10 | We log authentication and access control failures and someone sees them | |
| 11 | Agents run with their own scoped identity and no production secrets | |
| 12 | We have tested a restore and an incident call tree |
Read it as: 0 to 8, build the Level 1 foundations first; 9 to 16, fix the lowest-scoring areas; 17 to 24, plan Level 2. The bands are my own and have no empirical basis.
CTO checklist
| Check | Question to ask your team | Frequency |
|---|---|---|
| Ownership | Who is accountable for security decisions and exceptions? | Monthly |
| AI inventory | Which AI tools and agents can read or change code and what can they reach? | Quarterly |
| Agent permissions | Is each agent limited to the tools and scopes it needs, with human approval for shared-state actions? 20 | Quarterly |
| Untrusted content | Does any agent read external text and also hold authority over assets that matter? 21 | Quarterly |
| Access | Who has admin on cloud, CI and source control, and why? | Quarterly |
| Secrets | Any secrets in code, logs or agent context? Rotated since last incident? 14 | Monthly |
| Review | Are sensitive changes reviewed by someone other than the author? | Per release |
| Dependencies | How many unreviewed or outdated critical dependencies do we have? | Monthly |
| Exceptions | Which exceptions have expired? | Monthly |
| Logging | Can we detect and trace misuse of the main API? 16 | Quarterly |
| Recovery | When did we last restore from backup? | Twice yearly |
| Evidence | Could we show a customer our process without a month of preparation? | Quarterly |
Industry gaps and limits of this framework
Honest limits matter more than polish. First, Secure AIDLC is a proposal I have not validated through a controlled study, and the maturity scoring has no empirical calibration. Second, I did not find a verified source quantifying the startup security gap, so I describe it qualitatively. Fourth, no framework here substitutes for a compliance audit: CSF outcomes are not a checklist 2, and CIS IG1 is a starting point, not full coverage 5. I verified cloud-provider guidance only for one AWS example 19.
Key takeaways
- Secure AIDLC is a proposed twelve-stage, human-governed lifecycle, not a standard.
- Classify risk first so review and testing depth match the change.
- AI assists at every stage but holds no approval; independence in review must be real.
- Use CSF, SAMM and CIS IG1 as lenses and starting points, not checklists 259.
- Measure your own outcomes, because the evidence on AI productivity and security is mixed 23.
Conclusion
A startup does not need to look like an enterprise to be responsible. It needs an owner, a short list of controls that are actually operated, and a habit of asking what has changed since the last review. AI changes the rate of change; it does not change who is accountable.
The Monday-morning version: name the owner, switch on the basics, classify your changes, and make sure anyone, human or AI, who can change production was deliberately given that authority.
Views are my own; examples are composites and do not describe any specific employer or client.
Key takeaways
- Secure AIDLC is a proposed twelve-stage, human-governed lifecycle, not a standard.
- Classify risk first so review and testing depth match the change.
- AI assists at every stage but holds no approval; independence in review must be real.
- Use CSF, SAMM and CIS IG1 as lenses and starting points, not checklists.
- Measure your own outcomes, because the evidence on AI productivity and security is mixed.
References
- NIST. "The NIST Cybersecurity Framework (CSF) 2.0 (NIST CSWP 29)." 2024-02-26. https://csrc.nist.gov/pubs/cswp/29/the-nist-cybersecurity-framework-csf-20/final — Supports: CSF 2.0 is a taxonomy of high-level cybersecurity outcomes usable by any organisation.
- NIST. "The NIST Cybersecurity Framework (CSF) 2.0 (NIST CSWP 29), PDF text." 2024-02-26. https://nvlpubs.nist.gov/nistpubs/CSWP/NIST.CSWP.29.pdf — Supports: CSF outcomes are not a checklist and are not prescriptive; the CSF does not prescribe how outcomes are achieved. Limitations: confirms "not a checklist"; does not state "not a certification".
- NIST. "NIST Cybersecurity Framework 2.0: Small Business Quick-Start Guide (NIST SP 1300)." 2024-02. https://csrc.nist.gov/pubs/sp/1300/final — Supports: a starting point for small businesses, a supplement to the CSF and not a replacement. Limitations: abstract only.
- Center for Internet Security. "CIS Critical Security Controls Version 8.1." n.d. https://www.cisecurity.org/controls/v8-1 — Supports: v8.1 is an iterative update to v8 and includes Implementation Groups. Limitations: page states no release date.
- Center for Internet Security. "CIS Critical Security Controls Implementation Group 1." n.d. https://www.cisecurity.org/controls/implementation-groups/ig1 — Supports: IG1 is a 56-Safeguard foundational set described as essential cyber hygiene for small and medium organisations with limited IT staff; a starting point, not full coverage.
- CISA. "Cyber Essentials." n.d. https://www.cisa.gov/cyber-essentials — Supports: a guide for small business and small government leaders built on six elements: Yourself, Staff, Systems, Surroundings, Data, Crisis Response.
- UK National Cyber Security Centre. "Small organisations guide to cyber security." n.d. (page lists 2026 dates). https://www.ncsc.gov.uk/collection/small-business-guide — Supports: guidance for small organisations covering backups, protecting devices and accounts, spotting scams. Limitations: dates not fully confirmed; first page of six read.
- NIST (CSRC). "Secure Software Development Framework (SSDF) Version 1.1 (NIST SP 800-218)." 2022-02. https://csrc.nist.gov/pubs/sp/800/218/final — Supports: SSDF adds secure practices to any SDLC, in four groups.
- OWASP. "OWASP Software Assurance Maturity Model (SAMM) v2 - Model." n.d. https://owaspsamm.org/model/ — Supports: five business functions and fifteen practices for assessing security maturity.
- OWASP. "OWASP Application Security Verification Standard (ASVS) 5.0.0." 2025-05-30. https://asvs.owasp.org/ — Supports: ASVS is the OWASP list of application security requirements; current stable release is 5.0.0.
- OWASP Top 10 project. "A01 Broken Access Control - OWASP Top 10:2021." n.d. (2021 edition). https://top10.owasp.org/2021/A01_2021-Broken_Access_Control — Supports: broken access control is the top-ranked web application risk in the 2021 list. Limitations: 2021 edition.
- OWASP Top 10 project. "A07 Identification and Authentication Failures - OWASP Top 10:2021." n.d. (2021 edition). https://top10.owasp.org/2021/A07_2021-Identification_and_Authentication_Failures — Supports: recommends MFA where possible against credential stuffing, brute force and stolen-credential reuse.
- OWASP Cheat Sheet Series. "Authentication Cheat Sheet." n.d. https://cheatsheetseries.owasp.org/cheatsheets/Authentication_Cheat_Sheet.html — Supports: MFA is the strongest defence against password attacks; recommends standards (OAuth, OIDC, SAML, FIDO) and maintained libraries. Limitations: read via page summary.
- OWASP Cheat Sheet Series. "Secrets Management Cheat Sheet." n.d. https://cheatsheetseries.owasp.org/cheatsheets/Secrets_Management_Cheat_Sheet.html — Supports: rotate secrets so stolen credentials work only briefly; avoid secrets in source code; least-privilege access.
- OWASP Cheat Sheet Series. "Logging Cheat Sheet." n.d. https://cheatsheetseries.owasp.org/cheatsheets/Logging_Cheat_Sheet.html — Supports: log authentication successes and failures, access-control failures, admin actions, uploads; do not log passwords, secrets, session IDs or connection strings.
- OWASP Top 10 project. "A09:2021 - Security Logging and Monitoring Failures." n.d. (2021 edition). https://top10.owasp.org/2021/A09_2021-Security_Logging_and_Monitoring_Failures — Supports: without logging and monitoring, breaches cannot be detected.
- OWASP Foundation. "OWASP Top 10 CI/CD Security Risks." n.d. https://owasp.org/www-project-top-10-ci-cd-security-risks/ — Supports: lists CI/CD risks including CICD-SEC-1 Insufficient Flow Control Mechanisms, CICD-SEC-2 Inadequate Identity and Access Management, CICD-SEC-6 Insufficient Credential Hygiene. Limitations: landing page only.
- CISA. "Secure by Design." n.d. https://www.cisa.gov/securebydesign — Supports: products should be secure out of the box; MFA, logging and SSO should be available at no extra cost. Limitations: does not state that secure settings or MFA are on by default; addresses vendors.
- Amazon Web Services. "Blocking public access to your Amazon S3 storage." n.d. https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-control-block-public-access.html — Supports: S3 Block Public Access has four settings; new buckets are non-public by default; AWS recommends enabling all four at account level. Limitations: one provider only.
- OWASP Gen AI Security Project. "LLM06:2025 Excessive Agency." n.d. (2025 edition). https://genai.owasp.org/llmrisk/llm062025-excessive-agency/ — Supports: root causes are excessive functionality, permissions and autonomy; mitigations include minimal tools, scoped permissions and human approval for high-impact actions.
- OWASP Gen AI Security Project. "LLM01:2025 Prompt Injection." n.d. (2025 edition). https://genai.owasp.org/llmrisk/llm01-prompt-injection/ — Supports: indirect injection through external content; mitigations include least privilege, human approval and segregating external content; fool-proof prevention is unclear.
- SLSA (Linux Foundation / OpenSSF). "SLSA Specification, v1.2." n.d. https://slsa.dev/spec/v1.2/about — Supports: SLSA is a set of incrementally adoptable supply-chain security guidelines.
- METR. "Measuring the Impact of Early-2025 AI on Experienced Open-Source Developer Productivity." 2025-07-10. https://metr.org/blog/2025-07-10-early-2025-ai-experienced-os-dev-study/ — Supports: in a randomised trial, experienced developers took 19% longer with AI tools while expecting a speedup. Limitations: page flags the result as out of date and points to a later update that was not opened.
- OWASP API Security Project. "API4:2023 Unrestricted Resource Consumption - OWASP API Security Top 10." n.d. (2023 edition). https://api-security.owasp.org/editions/2023/en/0xa4-unrestricted-resource-consumption — Supports: APIs need rate limits and resource limits (timeouts, upload size caps) to resist abuse and cost blow-ups. Limitations: object-level authorization guidance (API1:2023) is a separate page not cited here.
- OWASP Top 10 project. "A05:2021 - Security Misconfiguration." n.d. (2021 edition). https://top10.owasp.org/2021/A05_2021-Security_Misconfiguration — Supports: systems need a repeatable hardening and configuration process or risk rises.