{"course":{"productid":36417,"modality":1,"active":true,"language":"fr","title":"Code responsibly with generative AI in Java","productcode":"CRWGAIJ","vendorcode":"CY","vendorname":"Cydrill","fullproductcode":"CY-CRWGAIJ","courseware":{"has_ekit":false,"has_printkit":true,"language":""},"url":"https:\/\/portal.flane.ch\/course\/cydrill-crwgaij","objective":"<ul>\n<li>Understanding the essentials of responsible AI<\/li><li>Getting familiar with essential cyber security concepts<\/li><li>Understanding how cryptography supports security<\/li><li>Learning how to use cryptographic APIs correctly in Java<\/li><li>Understanding Web application security issues<\/li><li>Detailed analysis of the OWASP Top Ten elements<\/li><li>Putting Web application security in the context of Java<\/li><li>Going beyond the low hanging fruits<\/li><li>Managing vulnerabilities in third party components<\/li><li>All this put into the context of GitHub Copilot<\/li><\/ul>","essentials":"<p>OWASP, SEI CERT, CWE and Fortify Taxonomy<\/p>","audience":"<p>Java developers using Copilot or other GenAI tools<\/p>","contents":"<h4>Day 1\n<\/h4><h4>Coding responsibly with GenAI<\/h4><ul>\n<li>What is responsible AI?<\/li><li>What is security?<\/li><li>Threat and risk<\/li><li>Cyber security threat types &ndash; the CIA triad<\/li><li>Consequences of insecure software<\/li><li>Security and responsible AI in software development<\/li><li>GenAI tools in coding: Copilot, Codeium and others<\/li><li>The OWASP Top Ten from Copilot&rsquo;s perspective\n<ul>\n<li>The OWASP Top Ten 2021\n<ul>\n<li>A01 &ndash; Broken Access Control\n<ul>\n<li>Access control basics<\/li><li>Case study &ndash; Broken authn\/authz in Apache OFBiz<\/li><li>Confused deputy<\/li><li>Insecure direct object reference (IDOR)<\/li><li>Path traversal<\/li><li>Lab &ndash; Insecure Direct Object Reference<\/li><li>Path traversal best practices<\/li><li>Lab &ndash; Experimenting with path traversal in Copilot<\/li><li>Authorization bypass through user-controlled keys<\/li><li>Case study &ndash; Remote takeover of Nexx garage doors and alarms<\/li><li>Lab &ndash; Horizontal authorization (exploring with Copilot)<\/li><li>File upload\n<ul>\n<li>Unrestricted file upload<\/li><li>Good practices<\/li><li>Lab &ndash; Unrestricted file upload (exploring with Copilot)<\/li><li>Case study &ndash; File upload vulnerability in Netflix Genie<\/li><\/ul><\/li><\/ul><\/li><li>A02 &ndash; Cryptographic Failures\n<ul>\n<li>Cryptography for developers<\/li><li>Cryptography basics<\/li><li>Java Cryptographic Architecture (JCA) in brief<\/li><li>Elementary algorithms<\/li><li>Hashing\n<ul>\n<li>Hashing basics<\/li><li>Hashing in Java<\/li><li>Lab &ndash; Hashing in JCA (exploring with Copilot)<\/li><\/ul><\/li><li>Random number generation\n<ul>\n<li>Pseudo random number generators (PRNGs)<\/li><li>Cryptographically secure PRNGs<\/li><li>Weak and strong PRNGs in Java<\/li><li>Lab &ndash; Using random numbers in Java (exploring with Copilot)<\/li><li>Case study &ndash; Equifax credit account freeze<\/li><\/ul><\/li><li>Confidentiality protection\n<ul>\n<li>Symmetric encryption\n<ul>\n<li>Block ciphers<\/li><li>Modes of operation<\/li><li>Modes of operation and IV &ndash; best practices<\/li><li>Symmetric encryption in Java<\/li><li>Symmetric encryption in Java with streams<\/li><li>Lab &ndash; Symmetric encryption in JCA (exploring with Copilot)<\/li><\/ul><\/li><li>Asymmetric encryption<\/li><li>Combining symmetric and asymmetric algorithms<\/li><li>Key exchange and agreement\n<ul>\n<li>Key exchange<\/li><li>Diffie-Hellman key agreement algorithm<\/li><li>Key exchange pitfalls and best practices<\/li><\/ul><\/li><\/ul><\/li><\/ul><\/li><\/ul><\/li><\/ul><\/li><\/ul>\n<h4>Day 2<\/h4><h4>The OWASP Top Ten from Copilot&rsquo;s perspective<\/h4><ul>\n<li>A03 &ndash; Injection\n<ul>\n<li>Injection principles<\/li><li>Injection attacks\n<ul>\n<li>SQL injection\n<ul>\n<li>SQL injection basics<\/li><li>Lab &ndash; SQL injection<\/li><li>Attack techniques\n<ul>\n<li>Content-based blind SQL injection<\/li><li>Time-based blind SQL injection<\/li><\/ul><\/li><li>SQL injection best practices<\/li><li>Input validation<\/li><li>Parameterized queries<\/li><li>Lab &ndash; Using prepared statements<\/li><li>Lab &ndash; Experimenting with SQL injection in Copilot<\/li><li>Database defense in depth<\/li><li>Case study &ndash; SQL injection in Fortra FileCatalyst<\/li><\/ul><\/li><li>Code injection\n<ul>\n<li>OS command injection<\/li><li>OS command injection best practices<\/li><li>Using Runtime.exec()<\/li><li>Case study &ndash; Shellshock<\/li><li>Lab &ndash; Shellshock<\/li><li>Case study &ndash; Command injection in VMware Aria<\/li><\/ul><\/li><li>HTML injection &ndash; Cross-site scripting (XSS)\n<ul>\n<li>Cross-site scripting basics<\/li><li>Cross-site scripting types\n<ul>\n<li>Persistent cross-site scripting<\/li><li>Reflected cross-site scripting<\/li><li>Client-side (DOM-based) cross-site scripting<\/li><\/ul><\/li><li>Lab &ndash; Stored XSS<\/li><li>Lab &ndash; Reflected XSS<\/li><li>XSS protection best practices<\/li><li>Protection principles &ndash; escaping<\/li><li>XSS protection APIs in Java<\/li><li>Lab &ndash; XSS fix \/ stored (exploring with Copilot)<\/li><li>Lab &ndash; XSS fix \/ reflected (exploring with Copilot)<\/li><li>Additional protection layers &ndash; defense in depth<\/li><li>Case study &ndash; XSS vulnerabilities in DrayTek Vigor routers<\/li><\/ul><\/li><\/ul><\/li><li>A04 &ndash; Insecure Design\n<ul>\n<li>The STRIDE model of threats<\/li><li>Secure design principles of Saltzer and Schroeder\n<ul>\n<li>Economy of mechanism<\/li><li>Fail-safe defaults<\/li><li>Complete mediation<\/li><li>Open design<\/li><li>Separation of privilege<\/li><li>Least privilege<\/li><li>Least common mechanism<\/li><li>Psychological acceptability<\/li><\/ul><\/li><li>Client-side security<\/li><li>Frame sandboxing<\/li><li>Cross-Frame Scripting (XFS) attacks<\/li><li>Lab &ndash; Clickjacking<\/li><li>Clickjacking beyond hijacking a click<\/li><li>Clickjacking protection best practices<\/li><li>Lab &ndash; Using CSP to prevent clickjacking (exploring with Copilot)<\/li><\/ul><\/li><li>A05 &ndash; Security Misconfiguration\n<ul>\n<li>Configuration principles<\/li><li>XML entities\n<ul>\n<li>DTD and the entities<\/li><li>Entity expansion<\/li><li>External Entity Attack (XXE)<\/li><li>File inclusion with external entities<\/li><li>Server-Side Request Forgery with external entities<\/li><li>Lab &ndash; External entity attack<\/li><li>Preventing XXE<\/li><li>Lab &ndash; Prohibiting DTD<\/li><li>Case study &ndash; XXE vulnerability in Ivanti products<\/li><li>Lab &ndash; Experimenting with XXE in Copilot<\/li><\/ul><\/li><\/ul>\n\n\n<h4>Day 3<\/h4>\n\n<h4>The OWASP Top Ten from Copilot&rsquo;s perspective<\/h4>\n\n<ul>\n<li>A06 &ndash; Vulnerable and Outdated Components\n<ul>\n<li>Using vulnerable components<\/li><li>Untrusted functionality import<\/li><li>Case study &ndash; The Polyfill.io supply chain attack<\/li><li>Vulnerability management<\/li><li>Lab &ndash; Finding vulnerabilities in third-party components<\/li><li>Security of AI generated code<\/li><li>Practical attacks against code generation tools<\/li><li>Dependency hallucination via generative AI<\/li><li>Case study &ndash; A history of GitHub Copilot weaknesses (up to mid 2024)<\/li><\/ul><\/li><li>A07 &ndash; Identification and Authentication Failures\n<ul>\n<li>Authentication\n<ul>\n<li>Authentication basics<\/li><li>Multi-factor authentication (MFA)<\/li><li>Case study &ndash; The InfinityGauntlet attack<\/li><\/ul><\/li><li>Password management\n<ul>\n<li>Inbound password management<\/li><li>Storing account passwords<\/li><li>Lab &ndash; Is just hashing passwords enough?<\/li><li>Dictionary attacks and brute forcing<\/li><li>Salting<\/li><li>Adaptive hash functions for password storage<\/li><li>Lab &ndash; Using adaptive hash functions in JCA<\/li><li>Lab &ndash; Using adaptive hash functions in Copilot<\/li><li>Password policy<\/li><li>NIST authenticator requirements for memorized secrets<\/li><\/ul><\/li><\/ul><\/li><li>A08 &ndash; Software and Data Integrity Failures\n<ul>\n<li>Integrity protection\n<ul>\n<li>Message Authentication Code (MAC)<\/li><li>Calculating MAC in Java<\/li><li>Lab &ndash; Calculating MAC in JCA<\/li><\/ul><\/li><li>Digital signature\n<ul>\n<li>Elliptic Curve Cryptography<\/li><li>ECC basics<\/li><li>Digital signature with ECC<\/li><li>Digital signature in Java<\/li><li>Lab &ndash; Digital signature with ECDSA in JCA<\/li><\/ul><\/li><li>Subresource integrity\n<ul>\n<li>Importing JavaScript<\/li><li>Lab &ndash; Importing JavaScript (exploring with Copilot)<\/li><li>Case study &ndash; The British Airways data breach<\/li><\/ul><\/li><li>Insecure deserialization\n<ul>\n<li>Serialization and deserialization challenges<\/li><li>Integrity &ndash; deserializing untrusted streams<\/li><li>Integrity &ndash; deserialization best practices<\/li><li>Look ahead deserialization<\/li><li>Property Oriented Programming (POP)<\/li><li>Creating a POP payload<\/li><li>Lab &ndash; Creating a POP payload<\/li><li>Lab &ndash; Using the POP payload<\/li><li>Case study &ndash; Deserialization RCEs in NextGen Mirth Connect<\/li><\/ul><\/li><\/ul><\/li><li>A09 &ndash; Security Logging and Monitoring Failures\n<ul>\n<li>Logging and monitoring principles<\/li><li>Log forging<\/li><li>Log forging &ndash; best practices<\/li><li>Case study &ndash; Log interpolation in log4j<\/li><li>Case study &ndash; The Log4Shell vulnerability (CVE-2021-44228)<\/li><li>Case study &ndash; Log4Shell follow-ups (CVE-2021-45046, CVE-2021-45105)<\/li><li>Lab &ndash; Log4Shell<\/li><\/ul><\/li><li>A10 &ndash; Server-side Request Forgery (SSRF)\n<ul>\n<li>Server-side Request Forgery (SSRF)<\/li><li>Case study &ndash; SSRF in Ivanti Connect Secure<\/li><\/ul><\/li><li>Wrap up\n<ul>\n<li>Secure coding principles<\/li><li>Principles of robust programming by Matt Bishop<\/li><li>And now what?<\/li><li>Software security sources and further reading<\/li><li>Java resources<\/li><li>Responsible AI principles in software development<\/li><li>Generative AI &ndash; Resources and additional guidance<\/li><\/ul><\/li><\/ul><\/li><\/ul><\/li><\/ul>","outline":"<p>Coding responsibly with GenAI\nThe OWASP Top Ten from Copilot&#039;s perspective\nWrap up<\/p>","summary":"<p>Generative AI is transforming the software industry, with tools like GitHub Copilot and Codeium enabling developers to achieve unprecedented levels of efficiency. While this is exciting progress, it also raises important concerns, encouraging stakeholders to approach these technologies with care. Current AI tools often lack the nuanced understanding necessary to address subtle, yet critical aspects of software development, particularly in the domain of security.<\/p>\n<p>This course provides a comprehensive insight into the responsible use of generative AI in coding. Participants delve into topics in software development that are most likely to be impacted by careless use of generative AI, including authentication, authorization, and cryptography. The curriculum also includes an analysis of how AI tools like Copilot handle secure coding practices related to key vulnerabilities outlined in the OWASP Top Ten, such as path traversal, SQL injection, or cross-site scripting.<\/p>\n<p>Through hands-on learning and experimenting, participants will get a solid understanding of both the strengths and limitations of AI-assisted development. In addition, case studies of real-world incidents showcase the consequences of insecure code and demonstrate the dual nature of generative AI as both a resource and a potential risk.<\/p>\n<p>By the end of the course, developers will be equipped with the knowledge and skills to integrate AI tools into the software development lifecycle responsibly, enhancing efficiency without compromising security or product quality.<\/p>","objective_plain":"- Understanding the essentials of responsible AI\n- Getting familiar with essential cyber security concepts\n- Understanding how cryptography supports security\n- Learning how to use cryptographic APIs correctly in Java\n- Understanding Web application security issues\n- Detailed analysis of the OWASP Top Ten elements\n- Putting Web application security in the context of Java\n- Going beyond the low hanging fruits\n- Managing vulnerabilities in third party components\n- All this put into the context of GitHub Copilot","essentials_plain":"OWASP, SEI CERT, CWE and Fortify Taxonomy","audience_plain":"Java developers using Copilot or other GenAI tools","contents_plain":"Day 1\n\n\nCoding responsibly with GenAI\n\n\n- What is responsible AI?\n- What is security?\n- Threat and risk\n- Cyber security threat types \u2013 the CIA triad\n- Consequences of insecure software\n- Security and responsible AI in software development\n- GenAI tools in coding: Copilot, Codeium and others\n- The OWASP Top Ten from Copilot\u2019s perspective\n\n- The OWASP Top Ten 2021\n\n- A01 \u2013 Broken Access Control\n\n- Access control basics\n- Case study \u2013 Broken authn\/authz in Apache OFBiz\n- Confused deputy\n- Insecure direct object reference (IDOR)\n- Path traversal\n- Lab \u2013 Insecure Direct Object Reference\n- Path traversal best practices\n- Lab \u2013 Experimenting with path traversal in Copilot\n- Authorization bypass through user-controlled keys\n- Case study \u2013 Remote takeover of Nexx garage doors and alarms\n- Lab \u2013 Horizontal authorization (exploring with Copilot)\n- File upload\n\n- Unrestricted file upload\n- Good practices\n- Lab \u2013 Unrestricted file upload (exploring with Copilot)\n- Case study \u2013 File upload vulnerability in Netflix Genie\n- A02 \u2013 Cryptographic Failures\n\n- Cryptography for developers\n- Cryptography basics\n- Java Cryptographic Architecture (JCA) in brief\n- Elementary algorithms\n- Hashing\n\n- Hashing basics\n- Hashing in Java\n- Lab \u2013 Hashing in JCA (exploring with Copilot)\n- Random number generation\n\n- Pseudo random number generators (PRNGs)\n- Cryptographically secure PRNGs\n- Weak and strong PRNGs in Java\n- Lab \u2013 Using random numbers in Java (exploring with Copilot)\n- Case study \u2013 Equifax credit account freeze\n- Confidentiality protection\n\n- Symmetric encryption\n\n- Block ciphers\n- Modes of operation\n- Modes of operation and IV \u2013 best practices\n- Symmetric encryption in Java\n- Symmetric encryption in Java with streams\n- Lab \u2013 Symmetric encryption in JCA (exploring with Copilot)\n- Asymmetric encryption\n- Combining symmetric and asymmetric algorithms\n- Key exchange and agreement\n\n- Key exchange\n- Diffie-Hellman key agreement algorithm\n- Key exchange pitfalls and best practices\n\nDay 2\n\nThe OWASP Top Ten from Copilot\u2019s perspective\n\n\n- A03 \u2013 Injection\n\n- Injection principles\n- Injection attacks\n\n- SQL injection\n\n- SQL injection basics\n- Lab \u2013 SQL injection\n- Attack techniques\n\n- Content-based blind SQL injection\n- Time-based blind SQL injection\n- SQL injection best practices\n- Input validation\n- Parameterized queries\n- Lab \u2013 Using prepared statements\n- Lab \u2013 Experimenting with SQL injection in Copilot\n- Database defense in depth\n- Case study \u2013 SQL injection in Fortra FileCatalyst\n- Code injection\n\n- OS command injection\n- OS command injection best practices\n- Using Runtime.exec()\n- Case study \u2013 Shellshock\n- Lab \u2013 Shellshock\n- Case study \u2013 Command injection in VMware Aria\n- HTML injection \u2013 Cross-site scripting (XSS)\n\n- Cross-site scripting basics\n- Cross-site scripting types\n\n- Persistent cross-site scripting\n- Reflected cross-site scripting\n- Client-side (DOM-based) cross-site scripting\n- Lab \u2013 Stored XSS\n- Lab \u2013 Reflected XSS\n- XSS protection best practices\n- Protection principles \u2013 escaping\n- XSS protection APIs in Java\n- Lab \u2013 XSS fix \/ stored (exploring with Copilot)\n- Lab \u2013 XSS fix \/ reflected (exploring with Copilot)\n- Additional protection layers \u2013 defense in depth\n- Case study \u2013 XSS vulnerabilities in DrayTek Vigor routers\n- A04 \u2013 Insecure Design\n\n- The STRIDE model of threats\n- Secure design principles of Saltzer and Schroeder\n\n- Economy of mechanism\n- Fail-safe defaults\n- Complete mediation\n- Open design\n- Separation of privilege\n- Least privilege\n- Least common mechanism\n- Psychological acceptability\n- Client-side security\n- Frame sandboxing\n- Cross-Frame Scripting (XFS) attacks\n- Lab \u2013 Clickjacking\n- Clickjacking beyond hijacking a click\n- Clickjacking protection best practices\n- Lab \u2013 Using CSP to prevent clickjacking (exploring with Copilot)\n- A05 \u2013 Security Misconfiguration\n\n- Configuration principles\n- XML entities\n\n- DTD and the entities\n- Entity expansion\n- External Entity Attack (XXE)\n- File inclusion with external entities\n- Server-Side Request Forgery with external entities\n- Lab \u2013 External entity attack\n- Preventing XXE\n- Lab \u2013 Prohibiting DTD\n- Case study \u2013 XXE vulnerability in Ivanti products\n- Lab \u2013 Experimenting with XXE in Copilot\n\n\n\nDay 3\n\n\n\nThe OWASP Top Ten from Copilot\u2019s perspective\n\n\n\n\n- A06 \u2013 Vulnerable and Outdated Components\n\n- Using vulnerable components\n- Untrusted functionality import\n- Case study \u2013 The Polyfill.io supply chain attack\n- Vulnerability management\n- Lab \u2013 Finding vulnerabilities in third-party components\n- Security of AI generated code\n- Practical attacks against code generation tools\n- Dependency hallucination via generative AI\n- Case study \u2013 A history of GitHub Copilot weaknesses (up to mid 2024)\n- A07 \u2013 Identification and Authentication Failures\n\n- Authentication\n\n- Authentication basics\n- Multi-factor authentication (MFA)\n- Case study \u2013 The InfinityGauntlet attack\n- Password management\n\n- Inbound password management\n- Storing account passwords\n- Lab \u2013 Is just hashing passwords enough?\n- Dictionary attacks and brute forcing\n- Salting\n- Adaptive hash functions for password storage\n- Lab \u2013 Using adaptive hash functions in JCA\n- Lab \u2013 Using adaptive hash functions in Copilot\n- Password policy\n- NIST authenticator requirements for memorized secrets\n- A08 \u2013 Software and Data Integrity Failures\n\n- Integrity protection\n\n- Message Authentication Code (MAC)\n- Calculating MAC in Java\n- Lab \u2013 Calculating MAC in JCA\n- Digital signature\n\n- Elliptic Curve Cryptography\n- ECC basics\n- Digital signature with ECC\n- Digital signature in Java\n- Lab \u2013 Digital signature with ECDSA in JCA\n- Subresource integrity\n\n- Importing JavaScript\n- Lab \u2013 Importing JavaScript (exploring with Copilot)\n- Case study \u2013 The British Airways data breach\n- Insecure deserialization\n\n- Serialization and deserialization challenges\n- Integrity \u2013 deserializing untrusted streams\n- Integrity \u2013 deserialization best practices\n- Look ahead deserialization\n- Property Oriented Programming (POP)\n- Creating a POP payload\n- Lab \u2013 Creating a POP payload\n- Lab \u2013 Using the POP payload\n- Case study \u2013 Deserialization RCEs in NextGen Mirth Connect\n- A09 \u2013 Security Logging and Monitoring Failures\n\n- Logging and monitoring principles\n- Log forging\n- Log forging \u2013 best practices\n- Case study \u2013 Log interpolation in log4j\n- Case study \u2013 The Log4Shell vulnerability (CVE-2021-44228)\n- Case study \u2013 Log4Shell follow-ups (CVE-2021-45046, CVE-2021-45105)\n- Lab \u2013 Log4Shell\n- A10 \u2013 Server-side Request Forgery (SSRF)\n\n- Server-side Request Forgery (SSRF)\n- Case study \u2013 SSRF in Ivanti Connect Secure\n- Wrap up\n\n- Secure coding principles\n- Principles of robust programming by Matt Bishop\n- And now what?\n- Software security sources and further reading\n- Java resources\n- Responsible AI principles in software development\n- Generative AI \u2013 Resources and additional guidance","outline_plain":"Coding responsibly with GenAI\nThe OWASP Top Ten from Copilot's perspective\nWrap up","summary_plain":"Generative AI is transforming the software industry, with tools like GitHub Copilot and Codeium enabling developers to achieve unprecedented levels of efficiency. While this is exciting progress, it also raises important concerns, encouraging stakeholders to approach these technologies with care. Current AI tools often lack the nuanced understanding necessary to address subtle, yet critical aspects of software development, particularly in the domain of security.\n\nThis course provides a comprehensive insight into the responsible use of generative AI in coding. Participants delve into topics in software development that are most likely to be impacted by careless use of generative AI, including authentication, authorization, and cryptography. The curriculum also includes an analysis of how AI tools like Copilot handle secure coding practices related to key vulnerabilities outlined in the OWASP Top Ten, such as path traversal, SQL injection, or cross-site scripting.\n\nThrough hands-on learning and experimenting, participants will get a solid understanding of both the strengths and limitations of AI-assisted development. In addition, case studies of real-world incidents showcase the consequences of insecure code and demonstrate the dual nature of generative AI as both a resource and a potential risk.\n\nBy the end of the course, developers will be equipped with the knowledge and skills to integrate AI tools into the software development lifecycle responsibly, enhancing efficiency without compromising security or product quality.","version":"1.0","duration":{"unit":"d","value":3,"formatted":"3 jours"},"pricelist":{"List Price":{"DE":{"country":"DE","currency":"EUR","taxrate":19,"price":2250},"SI":{"country":"SI","currency":"EUR","taxrate":20,"price":2250},"AT":{"country":"AT","currency":"EUR","taxrate":20,"price":2250},"SE":{"country":"SE","currency":"EUR","taxrate":25,"price":2250},"CH":{"country":"CH","currency":"CHF","taxrate":8.1,"price":2250}}},"lastchanged":"2025-10-29T08:38:39+01:00","parenturl":"https:\/\/portal.flane.ch\/swisscom\/fr\/json-courses","nexturl_course_schedule":"https:\/\/portal.flane.ch\/swisscom\/fr\/json-course-schedule\/36417","source_lang":"fr","source":"https:\/\/portal.flane.ch\/swisscom\/fr\/json-course\/cydrill-crwgaij"}}