Sebastian Leuer
Programming secure C#/.NET Applications: Dos & Don'ts
#1about 5 minutes
AI-generated code can introduce security risks
AI tools can generate insecure code by using deprecated APIs, introducing biases like modulo bias, or having incomplete logic, requiring a manual security review.
#2about 11 minutes
Handling character encoding to prevent spoofing attacks
Visually similar Unicode characters can be used to spoof identities in attacks, which can be mitigated by using ordinal string comparison instead of culture-invariant comparison.
#3about 12 minutes
Mitigating SQL, command, and path traversal injections
Untrusted user input can lead to various injection attacks, which are prevented by using parameterized SQL queries, the ArgumentList property for processes, and robust path validation.
#4about 4 minutes
Avoiding deserialization vulnerabilities in JSON and XML
Insecure default settings in parsers, like TypeNameHandling in Newtonsoft.Json or DTD processing in XML readers, can lead to remote code execution vulnerabilities.
Related jobs
Jobs that call for the skills explored in this talk.
Matching moments
00:28 MIN
Why developers make basic cybersecurity mistakes
Don't Be A Naive Developer: How To Avoid Basic Cybersecurity Mistakes
08:03 MIN
Managing security risks of AI-assisted code generation
WWC24 - Chris Wysopal, Helmut Reisinger and Johannes Steger - Fighting Digital Threats in the Age of AI
39:54 MIN
Key takeaways for building secure applications
Typed Security: Preventing Vulnerabilities By Design
18:51 MIN
Five common cybersecurity mistakes developers make
Don't Be A Naive Developer: How To Avoid Basic Cybersecurity Mistakes
00:03 MIN
The security risks of AI-generated code
A hundred ways to wreck your AI - the (in)security of machine learning systems
04:07 MIN
Addressing security and reliability in AI-generated code
Panel discussion: Developing in an AI world - are we all demoted to reviewers? WeAreDevelopers WebDev & AI Day March2025
17:12 MIN
Understanding the security risks of AI-generated code
Exploring AI: Opportunities and Risks in Development
07:38 MIN
Understanding core software security principles and terminology
Software Security 101: Secure Coding Basics
Featured Partners
Related Videos
Typed Security: Preventing Vulnerabilities By Design
Michael Koppmann
101 Typical Security Pitfalls
Alexander Pirker
How your .NET software supply chain is open to attack : and how to fix it
Andrei Epure
Don't Be A Naive Developer: How To Avoid Basic Cybersecurity Mistakes
Tino Sokic
Software Security 101: Secure Coding Basics
Thomas Konrad
Hacking C# from the inside - how to do anything in NET
Adam Furmanek
Real-World Security for Busy Developers
Kevin Lewis
You click, you lose: a practical look at VSCode's security
Thomas Chauchefoin & Paul Gerste
From learning to earning
Jobs that call for the skills explored in this talk.
Software Security Lead, DevSecOps, .NET, C#, Microsoft Stack, Remote
Carrington Recruitment Solutions Limited
Charing Cross, United Kingdom
Remote
€85K
Senior
.NET
Azure
Software Engineer C#/.NET | C++ MSVC | Security (all genders)
baramundi software AG
Augsburg, Germany
C++
.NET
Azure
Scrum
Unit Testing
+3
Software Engineer C#/.NET | C++ MSVC | Security (all genders)
baramundi software AG
Augsburg, Germany
Remote
C++
.NET
Azure
Scrum
+4
Application Security Engineer
MotabilityDotNet
Charing Cross, United Kingdom
Remote
Java
React
Node.js
Amazon Web Services (AWS)
Senior Full Stack.NET Developer Senior Full Stack .NET Developer
Secret Source
Municipality of Madrid, Spain
Remote
CSS
GIT
.NET
REST
+9
Security Solution Designer (SSH Key/Cryptography)
DevNull Security
Edinburgh, United Kingdom
Remote
€80-90K
UML
JIRA
Azure
+2
C++ Software Engineer MacOS - Cyber Security
Client Server
Charing Cross, United Kingdom
Remote
€55K
API
C++
Linux
+1

