In this talk, Ramona Schwering talks - and draws - her way into explaining some key and increasingly important security concepts that all builders should know. This talk was recorded live at HalfStack Vienna on November 15th 2026.
----------------------------------------
Welcome to WeAreDevelopers, the #1 developer community in Europe!
This is your one-stop destination for the latest tech insights, tutorials, and career advice to elevate your developer career.
Stay updated Dev Digest, with our weekly newsletter featuring the most recent tech trends, career guidance, and original content crafted by developers, for developers. Subscribe now
Interested in advancing your career? Browse through our job board featuring over 190,000 jobs. Unlock job opportunities with a free developer profile
Don't miss out on the annual highlight of every developer's calendar - the WeAreDevelopers World Congress. Network with 15,000 peers and learn from over 500 speakers. Secure your spot and save 10% with "wearedevs_yt"
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
SPEAKER_00I wanted to show you the way how I like to learn. It's by drawing all the kinds of things. And just to start with a small history, like pretty current history, I work at a hosting company, and I guess you might not be surprised to hear that this month was pretty tough. Like with PHP to shell, two times a node security issue, deliberate attack, all kinds at once. And we have something called a front-end guild.
SPEAKER_00I'm a front-end developer by trade. And there, a colleague told me like people think we should be lucky to be front-end engineers right now. With all the securities being torn to you like left and right and stuff. I'm not completely sure about that one. Of course, you might assume that security is often in the back end. And there's some truth to it. But we as front-end people should mind as well. So let's take a look how I draw my way into security.
SPEAKER_00Or at least the three things I think are most important to know when it comes to being a front-end engineer or a design engineer. So yes, let's have basically draw our way into security inside of an artful way inside of my sketchbook. Okay, quickly get my pickup here. Yes. So if I think about security in basically any, the most general way, and I guess media proves gives me, at least agrees a little bit, I think about, yeah, a kind of a fortress.
SPEAKER_00Because a fortress is usually a building which should keep stuff safe. Not only property, but also like people, especially people in it. When I think about like Lord of the Rings, or when I think about even Star Wars, they play with this analogy a lot. Let's have it a little more pretty. And in the real world, I would say let's think about our application exactly like we think about a fortress. Because there's lots of things we need to have protected.
SPEAKER_00I guess the most obvious one and even the most important one. I said there's people inside of those castles, and that's the same in our applications as well. So say hello to my small weird kittens, I think. I love to use cats in sketchnoting a little bit. So yeah. I'm talking about our digital identities, which make us human, which are super valuable because it is us, right?
SPEAKER_00You sometimes cannot divide internet from the real world, so you shouldn't divide this inside of your application as well. But you might think about going up upselling as well. If you have your application, your project, and you want to make money from it, then you might need to have some safeguards in place as well. And let me give you a small disclaimer. I'm a view developer normally, so lots of the um actual code examples I'm using. Let's get this a little bigger here. Are basically I'm using view for it, but I try to be as agnostic as possible.
SPEAKER_00So don't be worried if you go React, if you go Angular, or if you go complete vanilla, most of the things should be completely independent of framework.
SPEAKER_01Except
SPEAKER_00one thing which I will copy this smaller castle real quick. Because if I think about a castle, or if I see a castle inside of a movie, and I want to keep it safe, there's one point where I look at first. It's the foundation, it's how the castle is built, if you use um rocks or anything dirty, or if it would collapse at the first storm or something like that. And actually, the real world is not that different from it.
SPEAKER_00If I think about what frameworks or what the languages we use already gets us from a feature perspective. I'm working with view. So I often see strings. So basically anything which comes from a user might be by a form, might be by a URL, might be by lots of different means. And in view, you have a certain, let's get a little more space here.
SPEAKER_00In view, you have a certain syntax you often see, especially if you want to display a string. Let's have it here at the foundation. I'm talking about those curly brackets here. And from the I'm super happy to see them. Because here and in a couple of other places, I know that the content provided by the user is automatically, let me quickly write that down, automa chically, and again running out of space.
SPEAKER_00It's automatically escaped. And that's pretty
SPEAKER_01cool, right?
SPEAKER_00Because
SPEAKER_01that way
SPEAKER_00lots of ways how we display strings, especially if they are provided by a user, are already covered. And I'm pretty sure, at least in React, it's pretty similar. In Angular, I'm don't have that much experience with Angular, but I guess it's pretty similar because lots of frameworks do it. Especially as I know how they do it. So in case they break, we have a whole different problem, right? Because we need to find unfix the native stuff. This is the point which I often see, at least in view applications, talking about directives.
SPEAKER_01You see this by buffer point, type, and then
SPEAKER_00Let's just say user because I don't want to write it down completely and save a little time. So attribute bindings are also always protected. And these are super important because they target a certain issue which is super old, I guess around like almost as old as the internet is. I'm not that old yet, so I don't know it completely, but I'm talking about cross-site scripting, so all kinds of ways how an attacker injects their code to be compiled alongside their own.
SPEAKER_00And with all these escaping mechanisms, the main culprit is already takeoff. You might have guessed, that's not the only part where we need to take care. And that way I already did a little spoiler alone. I guess it wouldn't be fair to say that no matter if it's view or react or angular or you name it, swelty, whatever, it's a pretty big ask to say, like, okay, they take care of us. We don't need to do anything because we're funny, right?
SPEAKER_00Especially if I think about performance, this is too much of an ask. So, yes, we are still the last line of defense. Even for cross-site scripting, we get to that a little later. Because especially beautiful and absolute. I'm thinking about one of, in my opinion, biggest reasons, and there's some data to back it up. And for that, I will draw over,
SPEAKER_01which
SPEAKER_00is people tend to get water from. This is almost cliche
SPEAKER_01of getting
SPEAKER_00into a castle.
SPEAKER_01Okay,
SPEAKER_00it might be a sealer where they used it in the second part in Ham's Deep, and bombing open and basically taking down the first wall, or even Star Wars with the Deaf Star, where they used the AC vent, I guess, to get into the Dev Star and then destroying it basically. So, yes, this is a part which is basically present in all kinds of castles, and it's always a cult when it comes to risks. Because attackers love to use supply chains, supply lines to get into us.
SPEAKER_00Here I copy quickly, so we don't need to wait because I am pretty bad at drawing bottles still. The typical image is basically an attacker poisoning a well. Basically going like this. Poisoned risk root. And this is exactly what happens in so many ways right now in the real world. Yes, I'm talking about supply chain issues. And we don't need to take a look at a certain um database which helps us to see supply chain issues.
SPEAKER_00I'm talking about common, oh that's a little, this looks better. Common vulnerability exposures. So basically entries in the database of my tree, I hope I pronounced that correctly, to write down all present security issues and ideally how to fix them. And there's plenty of us. PHP to shell, let's be honest, how many of you guys needed to work with PHP to shell on updating all of those things? I see a couple of hands, a little bit. I especially loved how we sat in front of our screens and waited for the Docker images to be updated, I guess.
SPEAKER_00In in my company, half of the people just looked at this GitHub PR. That was almost funny if it wouldn't be so scary. But we don't need to take a look at PHP, we can look at front end as well. For example, React Chell. This was my second shift, which I had back in December. So non-silent night, holy night. Not for me. I like to sum this up as NPM related issues. No worries, npm in quotes, because this is not npm as well, it doesn't matter basically which package manager you use.
SPEAKER_00Maybe I should type really good that right. Basically, all things you need to have inside of your projects, and sometimes you cannot replace such dependencies, right? So, yes. The the source of the parents of law dependencies.
SPEAKER_01If I take a look at
SPEAKER_00because I want to be fair on that regard, my favorite one was a super rare package called view IATN. I guess something like localization is nothing we need. We need it really badly. And that one was super scary, and the point is it's barely a year old. In it, we had the prototype pollution of object prototype. So basically injecting malicious property into object prototype, which is super scary because you need it on so many places, right?
SPEAKER_00And even such an important and well-maintained package can be infected. And what's even more scary, get my wonderful improvised uh clipboard here, is this one I cycle right now. CrossAmph is a wonderful package, but the problem wasn't the package itself. You see this small dash here, right? And it's exactly what it looks like. The attacker took a slightly different name and did the bet on typos.
SPEAKER_00So the one with the typo was infected and malicious, and lots of people downloaded it or used it as dependencies because they thought it would be cross-m. This is called typosquatting. The next point is, I guess, not that much of a surprise.
SPEAKER_01It's basically
SPEAKER_00sorry for the negative word, but slob. My favorite example here, and I'm not talking about okay, AI is dependent on test data, we all know that. But how many of you guys love to use regex? I see some hands I'm not the only nerd here, I'm happy. But I can completely relate to people who use LLMs to generate regular expressions. But if it's outdated and there's one point inside of your regex where the server might get stuck, it becomes a denial of service attack when used delivered via a user-provided screen.
SPEAKER_00It's called reados. Sounds pretty theoretical. It is not. There has been one, albeit two years old, 2024, where there was a view redes in a past HTML function. So basically a door for a server to become overwhelmed in all of service. So, yes, there's lots of ways how to get your app poisoned. And this is something we really need to keep in mind. So let's get the well.
SPEAKER_00And how can we be a little more safe here? And it sounds easier or more logic, but it doesn't make it easier to fix it. Let me quickly get the fix in, at least for analogy. It's easy. We will close the well. I know I I drew more pretty lits before. Hopefully you can see. Because that way, pulling um the poison into it doesn't matter at all and get lost.
SPEAKER_00There's a couple of ways, and the most pretty, not that much surprising one is check your dependencies. I know we all are feeling annoyed when it comes to the panda bot, but please don't ignore it. And I don't say that you need to manually check all of your dependencies, see if there's a new CVE coming in. You don't need to do that. You could think about a couple of tools to help you with that. I like Retired.js, for example.
SPEAKER_00There's loads of dependency checkers, even by OVASP, you could take a look at. The dependency cruiser is a wonderful package to use because it makes it even more visual to see the state of your dependencies. Or even if it's not completely connected to your packages, think about going for KNIP, for example, if you have unused code, because this can be a dependency as well, or a point where people can attack. Only go for trusted packages. And even if you build something on your own, it doesn't, it shouldn't be completely trusted.
SPEAKER_00The deliberate attack at my employee it's open, it's public, so I can talk a little bit about it, was by our MCP server. You should uh treat an MCP server as a dependency as well. Because yeah, people could steal your tokens via MCP.
SPEAKER_01So all those are
SPEAKER_00trusted packages, double check if you have no typos in it. And
SPEAKER_01yes,
SPEAKER_00just be careful on that one. And of course, double check your AI code as if it would be an intern, but I guess you will hear this in almost every talk. Finally. I told you that is not the most uh sustainable way to have this done all by your own. And also, if you go back to the castle analogy, the castle defense wouldn't work if there's no people in it and no people trying to support.
SPEAKER_00Especially like in The Lord of the Rings, in the third, in the return of the king, I guess Minasteri would have a more difficult time if it wasn't warned beforehand by these fires of, I don't I don't know how there were code, but there were fires to alert the people. And yes, we do have such wonderful people inside of the internet and maybe even close to your home as well. Wonderful people keeping us safe.
SPEAKER_00So let me quickly get the name of this group of people, which I would like to talk about with you. It's called OVASP. This is a wonderful project because it's a project of volunteers, it's nonprofit, and their goal is to keep us more secure. And OVASP itself is short for Open Worldwide Application Security Project. And I love lots of things they do. And I'm pretty sure you know them by one thing, which I will get to that in a few seconds. But I love that they're doing lots of meetups, that they do interesting workshops, especially with a sophisticated online shop called OVASP Juice, which you can hack basically, so it's broken on purpose, and they provide challenges for you to hack it.
SPEAKER_00But I'm pretty sure that the people who know about OVASP already know it by their top 10 rankings. The most common one, and the one which I will refer to in a little bit, is taking care of all general web security issues, I'd say, but they have lots of more rankings as well. I guess in 2025 it was, they came out with the LLM ranking as well, which is pretty interesting to look at. But here I would digress. In our case, the supply issue point is rank three.
SPEAKER_00So it's pretty high up already. I guess it's rank three in both the normal and the LLM one, but I digress again. So, yeah, supply chain attacks are being taken super serious as well. But still, there's one point which I want you to learn about, which is not completely front-on-related, but we should still be at least aware of it. And there's a little like homework we should be able to do. So let's get back to the people of the fortress.
SPEAKER_00It's a deliberate group of people, which is important in this regard. Let's try to have it a little more, I don't want to say intimidating, but they should have a more serious and yeah, more attack-ish way. So let's give it a little like armor, right? Yeah, I know cats in sketchnotes can be really intimidating, but I guess it's important here. Let's give him a shield so he can defend themselves, or she or it.
SPEAKER_00Being a little quicker. I guess some of you already know about which persons I'm talking about, or which group of people inside of a castle. Yeah, it's basically the warden, the guard. The people trying to keep dangerous people out. And to be able to keep them out, let's give them a spare as well, or a javelin or something, because I need to keep the villains out of the admin room or basically any room.
SPEAKER_00So, yes, those guards will prevent the villains from walking right through the front door. And this refers to the number one threat of UVAS being broken access control. Means users who can do more than they're allowed to, referring to permissions. And yes, here I would advise you in any case to not go only from a client, only for the front end, because that might be an anti-pattern. But I would like to remind you to get access control in place.
SPEAKER_00This could be OpenFGA, which I have here. I like this open source project because it's hosted by the OpenCNCF, also CNCF Foundation, which is pretty cool. I guess we can trust them, trust your packages. So I'd be careful when it comes to referring to dependencies, which I really like. However, this is like fine-grained authorization. So you can define the permissions of your users pretty, pretty, pretty detailed the way you need to. But still, there's something we should be doing or at least checking as a front-end people.
SPEAKER_00It is having our guards in place. And protecting or defining some routes, some navigation, some pages as protected. I'm talking about the view router. There's the gun. Be sure to define the pages people shouldn't have access to. This happens in the metadata. So here it's like a simplified check on how to make sure non-admin people cannot enter the admin panel.
SPEAKER_00So we're checking on metadata of the the of the things you basically restrict. Plus, have authentication in place. It can be any kind of tokens here. Let's assume it's JWT. And yeah, together with this, we can make sure that people without the proper permissions are not able to come here. So if it's not an admin, they will get a 403 forbidden in place.
SPEAKER_00This is super short on access control because this is just like the bare minimum you. You should keep in mind, go for access control layers and talk to your biking partners if you need to implement it, because just having both small guards in players is not a good pardon. Okay. Now we get to some edge cases where cross-site scripting might be a problem. And before I draw a wonderful image for cross-site scripting, how many of you saw Odyssey this summer?
SPEAKER_00I see a couple of hands. I'm not completely sure. I didn't watch it myself, but I know that in the Odyssey there's a certain story about the Troy Troyan Empire. So the people in Troy succumbing to a wonderful, totally not sus and wonderful present. Yes, I'm talking about a Troyan horse. So I do think that's a wonderful image for cross-site scripting because it's exactly that. A way on how an attacker tries to get their code to be compiled alongside their own.
SPEAKER_00And yes, I know this is not new. But we will not get rid of cross-site scripting, especially with AI inside the mix. And there's still a couple of ways how attacker can do cross-site scripting even though we have safeguards in place which are there by design. So let's get back to that real quick. The first CVE in view, which I remember, let's have it a little smaller, was from 2024.
SPEAKER_00And it's basically a client-side XSS, again, prototype pollution, but in the view template compiler. So those things happen still. And especially with AI, and if you have especially an AI service inside of your project, the LLM can be used as another attacker. So via prompt injection, we are interesting prompts so that the AI is building the attacker, not the attacker. So yes, there's a couple of ways how cross-site scripting can still happen.
SPEAKER_00I have a talk on how improper output handling can lead to cross-site scripting right now. If you're interested in that one, I can send you the slides. The first thing you should never ever do, and this is a snippet from the view documentation as well as this here. You should never use untrusted templates in the component template because here the user provided string will be rendered directly and bypass everything.
SPEAKER_00Seems self-explanatory? You still see this in the vial. So please try to forget about this string, never do this in any case. But there's still some more edge cases which are a little more hidden, talking about VHTML. And I actually love the React name of it because this is dangerously set inner HTML, because it's so open about the risk. If you have a directive rendering raw HTML, and sometimes you need that, you might have your reasons for it.
SPEAKER_00But if you do that, be aware that you need to filter it so you don't have any HTML injection in place. Herefore, you need to take care of the sanitization itself. So here I like to use Dump Purify, for example, but there's other ways as well. You could write it on your own, but again, we talked about RegX, just do it if you know what you're writing. And you don't need to build it on your own. So think about going for dump purifier or other sanitization things here.
SPEAKER_00Same if you have href. So basically using a link. A link can have parameters and there an URL injection can take place. I guess it's one of the typical SQL injection places where you have a query being entered. You need to take care of the sanitization here as well. Sanitized URL is an interesting package for that because they check the protocol. So if it's HTTP, HTTPS, or Mail2. So if it's not one of those secure protocols, they will fall back to about blank, for example.
SPEAKER_00So keeping those URLs intact but sanitized. Last but not least, it's not directly related to your code, but it's still an honorable mention, if not an important mention. Injection or XSS adjuston stuff can happen outside of your code as well, but still affect your code. Imagine this wonderful imposter here. At first they look pretty friendly, but they're not.
SPEAKER_00And they are using a sneaky way because let's say they have an invisibility cloak or a hiding cloak or something like that. And this hiding cloak looks like your page. is completely fine. It does wonderful things, intentional things, safe things. So this should be a not completely pretty button right now, but under this cloak, there's the attacker stuff happening.
SPEAKER_00Should happen. Let's give us a little more space. Like this, yes. So you're basically tricking the users to do actions they are not aware of, in plain words. So can be done by going by ice ray opacity phishing, but there's a couple of ways. Talking about click checking or UI address redressing. This is an example of CSS injection, I'd say, and it feels like okay, this is pretty safe.
SPEAKER_00However, I remember, I guess it's like a couple of months ago, where you had suspicious websites hidden and listening to the password manager's inputs by using hidden input fields, which is pretty scary because you don't notice it, right? You will be clicked or you are tricked to do stuff you don't intend because you don't remember entering your data, right? But you did. So, yes, there's lots of ways how an attacker could embed or mimic your site, your components to trick the users.
SPEAKER_00And I see when it comes to the timings, too, I should be a little quicker. How can we defend to cross-site scripting? And the most easiest one we as front-end developers should always keep in mind. And therefore, we need to have the guard in place. And I should definitely look up the English word for Spitzettel, so like those small pages we use to trick teachers in exams and stuff. We need exactly this thing for the guard as well.
SPEAKER_00So he has a certain document here detailing everyone not only if they have the right to enter the castle, but also if they have the right to use our resources. And if the person entering or using our resources inside of the castle can is a trusted or allied castle or not. Yeah, and I'm talking about the content security policy header.
SPEAKER_00This is a header you should always have in place because you could say it's like a rule set. So let me quickly, yeah. Defining where the browser is allowed to load resources from. So if others can load your resources as well or not. Let me read a little quicker. So it could look like this. So frame ancestors none is super strict, so nothing can be embedded or used from your resources. Or you go for self, which defines like allied castle, allied sources, trusted partners.
SPEAKER_00I'm a little too fast. Okay. How to implement it? If you have meta frameworks like Nuxt in place, you can do it directly in the Nitro's root rules in Nuxconfig.js, or just be a little more lazy and use the Nuxt security module. If you go for a complete normal SPA or you have another framework in place, sometimes this is a job you can confine, uh config your at your hostings, uh hosting providers, pages, and stuff like that. Just double check that you have content security policy in place.
SPEAKER_00In this way, you can be a little more safer for click checking and redressing. Okay, let's be a little quicker and get the things I want you to remember from this talk a little quicker and copy-pasting right now. Because this is nothing new. If I this is a few things I want you to remember from this sketchbook, basically. And before I forget, I will match all of those drawings I did right now to a full sketch node.
SPEAKER_00So you can download later on. But I don't do it here because it will involve lots of pinching and stuff, and I guess at least I get motion sick if I do it on a big screen. So, yes, I want you to remember that your framework is doing lots of things to keep you safe. Automatic escaping, for example. But you are the last line of defense. And in my opinion, supply chain is even more important as OVAS tells you, especially after this month. OVAS, speaking of them, try to follow up with their rankings and maybe give the OVAS Use shop and their challenges a try to keep it inside of your head.
SPEAKER_00Cross-site scripting is still a thing, even though it's old, especially when it comes to AI in the mix. So please be sure to take care of sanitization if it's not already there. Use content security policy headers, use access control layers, maybe OpenFGI or other tools, and configure your routes correctly. Another thing which is super important, if you see anything fishy inside of your framework, let the contributors know. This is the email for a few, but React and Engler have like similar ways on how to contact them.
SPEAKER_00So a security issue gets fixed pretty fast and for everyone. And yes, this is the QR code where you can find the merge sketch node in the next few hours, like as soon as I manage to merge them. Right now there's the older version in it, so if you want to be fixed or fast, go for that one. And if you're interested to learn what I'm working on, I'm a CSS nerd, so if you want to see some useless and just fun CSF stuff, check out my other stuff. And yes, thank you so much for listening. It was such a blast to have you here.
In this talk, Eduardo Aparicio Cardenes, Senior Software Engineer at the Super Group, tells a story of a little iFrame with big dreams, and how some simple rules when using iFrames can help solve some seemingly complex...
This talk - delivered by Paul Campbell, Founder of ticketing software Tito - was recorded live at HalfStack Vienna on November 15th 2026. Paul tells us developers and users deserve better software, and that now is the...
On this edition of Coffee with Developers we're joined by CEO and Lead Software Architect @ daenet, Dr. Damir Dobric, to look at the Masterclass he'll be leading at 2026's WeAreDevelopers World Congress Europe....
Faris Aziz, Software Engineer at Netlify, asks what seniority means in the age of AI, when writing code is no longer the bottleneck. This talk was recorded live at HalfStack Vienna on November 15th 2026....
This talk - delivered by Ruben Marcus Luz Paschoarelli - was recorded live at HalfStack Vienna on November 15th 2026. Ruben Marcus is a AI Fullstack Engineer at Big Shot Pictures, and has worked in the tech space for...