Security testing begins during the requirements stage of the software development lifecycle. At this stage, security-related business needs, regulatory obligations, information protection requirements and potential vulnerabilities must be identified and incorporated into the project’s requirements.
The ISTQB Security Tester syllabus explains that security requirements and user stories should be reviewed to determine whether security-related aspects of users’ needs have been adequately addressed. Establishing these requirements early enables the development team to determine an appropriate approach for implementing the application securely.
Security requirements may include authentication controls, authorization restrictions, data confidentiality, integrity protection, privacy obligations and compliance with organizational security policies. These requirements must be sufficiently clear, complete, unambiguous and testable to support subsequent security test design.
The design stage concentrates on translating established requirements into secure architectural and technical solutions. Implementation involves developing components and applying secure coding practices. System testing evaluates the integrated application against defined requirements and identified security risks.
Deferring security requirement evaluation until implementation or system testing increases the likelihood of expensive architectural changes and corrective development activities.
Sophie's activities therefore belong to the requirements stage, where security expectations are established and validated before detailed design and implementation begin.
Official Reference: ISTQB CT-SEC Syllabus 2016, Sections 4.1.2 – Security-Related Activities in the Software Lifecycle and 4.2 – The Role of Security Testing in Requirements, pages 49–52.