In this episode of the Elixir Mentor Podcast, your go-to source for All Things Elixir, I'm thrilled to welcome back Michael Lubas, CEO of Paraxial.io. This special episode explores the powerful combination of Paraxial.io's security solutions and Elixir-focused hosting platforms like Gigalixir. We'll dive into how these services complement each other to provide a robust, secure environment for deploying Elixir applications. Michael will share insights from his recent blog post about integrating Paraxial.io with Elixir deployments, covering topics such as preventing SQL injection, remote code execution, and cross-site scripting. The discussion will also touch on how platforms like Gigalixir optimize Elixir app hosting and scaling. Whether you're a seasoned Elixir developer or just starting out, this episode offers valuable knowledge on securing and deploying your Elixir projects effectively. Don't miss this opportunity to learn from an industry leader about elevating your Elixir deployment strategy. #ElixirLang #Paraxial #AppSecurity #CloudHosting Connect with Michael Lubas: X: Follow Paraxial.io on X (Twitter) Paraxial.io: Visit Paraxial.io Website SUPPORT ELIXIR MENTOR 🌐 My website: Visit Elixir Mentor Website 🎙 Check out my podcast: Listen to Hired Gun Apps Podcast 🆘 NEED HELP?? Join our Discord Server 🔗 All my Links: Connect with Jacob on Linktree
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.
Testing what's up? I'm Jacob Blitzo, your Elixir mentor and welcome to another exciting episode of the Elixir Mentor Podcast. This is where we discuss everything related to Elixir, from interviews with enthusiasts, pioneers in the community to innovative projects and library shaping. Elixir's future. Today we have a very special guest returning to the show. I'm thrilled to welcome back Michael Lubis, CEO of Paraxial dot IO. Michael holds a special place in the history of this podcast as he was my very first guest.
I don't even know like a year ago now, February. So Michael, welcome back. It's awesome to have you back on. And I know we we have a last minute shift. We lost Michael Few in the last last minute unfortunately. Had another thing come up but we are still going to be covering the same topics and I think it'll be a really good conversation. Yeah, yeah. Thanks.
We got connected because of that Gig Elixir article. I mean, you've also been using Praxeal in your work. Yes I have been and I mean I love it. Easy integration and my platform doesn't get a lot of traffic yet so it's depressing to see how many like bots are just crawling my site and getting blocked. Well, that's good that they're getting. Blocked. Yeah, yeah, for sure. Yeah. I feel like Paraxial has had a ton of updates since you've been
on last. Do you want to like talk about some of your like major features and releases? Yeah, yeah, of course, the one that got the most attention was really the free tier, which basically means if you're a developer using Elixir or any programming language really, we'll we can talk about that later, but this is the Elixir Elixir podcast. If you have an Elixir app and it's not commercial, so you're not making any money off of it, you can use Praxeal for free, which is very nice because you
can learn about security and, and all these topics. I know people, particularly in elixir, they tend to be a little wary of free tiers because there's this history of, of venture backed companies. You know, they start with the free tier and then there's this push for growth and then the free tier goes away or something. So I, I wanted to talk about kind of like how, how is it economically viable when a practical strap business, how can you kind of give away the free tier?
So the, I, I should mention that the big difference is with the ingestion of traffic. So that's where a lot of the cost to operate a service like Praxial comes as when you ingest traffic, there's a processing cost for every GB of of data or so with the free tier, you actually get the bot defense features because you can run them without doing the traffic ingestion. So the, you know, per user cost of running the I, I have it all kind of calculated out in, in a
lot of detail. It's very cheap from the server side. It's also great because, you know, from an economic perspective, if you're a developer using this on your personal project and you're saying, wow, this is a security tool that's actually good. But you know, a developer sat down and designed this and seems like they actually have a brain. It's not some enterprise junk. What's the word you would use for most security software? I don't know. Have you used enterprise security software before? No, I.
Have done. A great job of avoiding most corporate life in my in my developer and software world so. As as you can imagine, there's a lot of money and budgets for this kind of things, and the big problem is all of that goes to the decision maker, who is often not the programmer. So that's why a lot of this software is just so horrible. So the Praxial model is if somebody uses the software and is a developer and says, wow, this is actually pretty good, I'm using this for, you know, my side project or whatever, that
person will probably also have a job at some point and be involved in a decision making process. And I think that's so much more valuable than trying to market to the Fortune 500 companies. They have the chief information security officer, so that's the person at that company that does the decision making of what security software they're going to buy. And these people are the most emailed LinkedIn, you know, people offering them air pods
and trips to van any anything. You know, they're absolutely sick of it and it's just insane kind of what goes on. So you know how many people are in that decision making capacity at the Fortune 5 hundreds, probably about 500 people. How many software developers do you think are out there? I'm sure they're like with the security world too. It's just full of buzzwords, right? And they're selling a product to people that don't know that much about security. Yeah, and what's really what what I like about engaging with, you know, the Elixir community
going on podcasts like this is you can't really fool developers. Like if something sucks, they're not gonna use it. You know, you can get away with it in enterprise corporate a longer than you'd expect. But yeah, it's like, OK, most developers are are using this tool. I know we've seen some some hype cycles with the low interest rates and things meet and, and, and that, but for something that you know, you just find personally useful in your day-to-day, I think there's a tremendous amount of value in that.
Yeah, no, absolutely. That makes a lot of sense. Well, like I know like the very first time I had you on and then I made a tutorial video for Paraxial as well, and I knew very little. Like, I know the dangerous things. Yeah, we, we, we should explain this for the guests. Like what is paraxial? Yeah, yeah, because. We're assuming that. Yeah, so I'll let you do that 'cause I I would butcher it. So, well, the one sentence summary is, you know, you have
an Elixir application, it's going on the public Internet, it's going to get attacked by bots and people are going to try to hack it no matter what size you are. And Praxial helps you ensure that the app you put online is secure. I mean, I want to hear your description of it too, because you're a user now. You know, yeah, actually I, I got a kick out of it. So it timing kind of worked out. I just finished building like a web hosting platform in Phoenix. And then I got my first client
that we or we just launched his website, but I already had Paraxial integrated. And what's wild is actually I might have got it integrated a day later because I was sitting there watching my logs and within 4 hours of just opening up an IP address to the, you know, the big wide world of the Internet, I was getting just hit, you know, hits after hit from like bot crawls just trying to crawl random paths and URLs. And. It was wild.
So like, yeah, 4 hours of a new product being online and I'm sure it happens faster depending on popularity of an IP address or where it's hosted. But yeah. And then so getting Praxial integrated, it was awesome 'cause then I just started seeing all these WordPress paths get blocked. Oh yeah, that's a, that's a good one. Yeah, well, WordPress is so heavily hit, like I would say that's most of the bad traffic on my platform. That doesn't surprise me at all.
There was a survey ranking how secure web frameworks are, which is something I'm interested in. So you're making a website with Rails or Phoenix or WordPress? WordPress was the least secure, so it had the most security problems. And then I'm. Guessing it had a lot of default admin portals and things that get crawled and discovered, right? Yeah, it's, it's a combination of, I mean, WordPress is very popular and it's very extensible. There's, there's plug insurance and things you can use it even if you're not a developer, but
that, that does lead to problems. Yeah, it's funny you mentioned going online because I, I talk to people and they think, oh, I'm a small company. I, I'm one person. How would a bad guy even find my site? And the answer is when you register a domain name for like ATLS certificate, people monitor that and then immediately will scan those sites and try to find them for a number of reasons. But a big one is if you want to do credit card fraud, you know, you have a million credit cards that you want to test which ones would would work?
They're stolen by the way, you're, you're a criminal in this scenario. Not good. You want to test those against the site. All of the major e-commerce sites know about this and block it. But you know who usually doesn't is new sites that just came online and it's a guy with a Phoenix app and a Stripe set up. Those get targeted all the time. And that's where I've seen a lot of people get benefit out of paraxials against those Cardian attacks, very, very common. Yeah, I I think it's like a bit terrifying too, if you're naive
to this. Yeah, well, it's difficult too, because I, I have my own soapbox about this. You, you get a lot of like security vendors saying like, oh, developers don't care about security, which is wrong. I think that is a wrong statement. Developers care a lot about securities. In my experience, security vendors don't care about developers. They care about, you know, sales and the chief information security officer and the buzzwords and and putting AI in their product, even if it
doesn't make any sense or we're. Creating an NFT or is that done now? I I don't know but that, but that's the thing. It's like, I go on podcasts like this and it's like, oh, the security, like the security episode that people are gonna be interested in this. The people are interested in it. The content that's out there though is just not written for developers. There's just very little good material out there. The tooling is not very good. So that's something I, I want to do a lot with Praxial is kind of get, get that into people's
hands. Yeah, and I think that's good. Like one thing, like obviously developers care, but like I think as time goes on to more and more developers, it's easier to operate a small team and become a product owner. So it's easier. So you have a lot more developers becoming product owners and I think they're aware of the vulnerabilities they have, but I think it becomes I'll worry about it when I have to or when I can afford it. So they're kind of, they leave things out there in the open,
vulnerable, hoping they're not popular enough to be targeted. Yeah. And and that's the problem is the targeting's automated. It's not, it's not some guy sitting down and like, oh, I found this. It's it's usually just a scanner that picks it up. Right. And if you are targeted from a non automated thing, most likely they'll probably find a vulnerability if you're like the target right? Yeah, yeah, yeah. There's a whole, there's a whole dimension to it. Yeah, I remember this. I feel like this was a different lifetime ago, but I was very
involved in like the crypto world and like blockchain, Zem, that kind of stuff. And the company I was working for, the CEO actually got personally targeted because he just did a coin launch, right? And some dude knew a guy that he paid at like, I don't know, T-Mobile. Yeah, yeah, yeah. To duplicate, you know the SIM card and cellular companies, they don't know that there's a duplicate on their network for like a couple hours.
So they start intercepting all of your two step auth codes if you have them go to your phone number versus using like an authenticator app. Yes. And so he got his e-mail hacked, all everything hacked and some of the coins he was launching ended up getting hacked because they found like a private key in one of his accounts. Yeah, yeah. And that's, well, that's a problem with SMS to FA, but yeah, that's very, very. Yeah, I always tell people not to use SMS like you should be using an authenticator app and. It's just going to get worse,
you know, people, people live their lives online now. Yeah, what like I guess like to circle back because we were talking about just small web projects, like why does security matter to me? Like say I deploy on some past system like Gigalix or why does it matter to me if I don't even have any like data that I could worry about losing or you know something like that? Yeah, this is a great question because like, why would you care?
It's it's just a, it's just like a project out there. I would say the good news is if you don't have any data, that's kind of a good thing because you're not, you know, going to be causing a data breach. But if let's say the server that you're hosting does get hacked, there are a few things that the bad guy could do #1 is just mine cryptocurrency on it, which is going to get transferred to your bill. You know, you can negotiate with Michael. He's a nice guy. I'm sure he wouldn't keep you on
the hook for, but then he might have to be on the hook for that with his business. It like creates this terrible incentive where it it just ruins like you know anything where you're you have a little bit of hosting people will target it and try to just mine cryptocurrency on it. I. Just realize it's one of the biggest problems like gig elixir and other past companies have to worry about it too. With a free tier especially, but let's say even, let's say they're not gonna do that. It could even be more sinister. Let's say they're gonna go on to that box and then send spam e-mail from it, or they're gonna
do more attacks from it, and then suddenly, you know your. Your IP is now flagged. Your web project is now involved in some kind of nation state hacking campaign and you've got the FBI. I mean, I don't mean to scare people. I don't. The likelihood of that happening is pretty low, but it could happen if a server that you own is now tied to this hacking campaign because somebody compromised it. It's just not a situation you really want to be in if it's avoidable. Yeah, that would suck. I mean, you're just sitting here at your desk in your own where
and you get the FBI knocking on your door. I don't think that that would they, they usually communicate with people or like there's cybercrime investigations. But yeah, you don't want to have a bad guy on your servers, you know? Well, you just don't. You don't want to foot the bill for someone else. That's the main thing, especially if you're a bootstrap company. Like you know how difficult it is to bootstrap a company until you're become profitable? Oh, yeah, yeah. And it never ends too, because then when you're profitable, you're probably more liable to
lawsuits because you have deeper pockets to pay out. So yeah, cybersecurity just it, it's relevant at every level. You kind of can't. I'd say it's table stakes now for any, anything. People ask me this about paraxial, like what's your, what's your total addressable market that this company could serve? I'd be like, well, does a business have a web application where people log in? OK, That's part of the market. And that's most businesses today, no matter what you're in.
It could be construction, it could be media, it could be real estate, medical, banking, anything. Yeah. What like so you peroxide has it's free tier? I have a small project How how does the free tier protect me? What are like the limitations of it? The limitations are I think it's about 30 scans a month, which is a good amount. Can you explain what a scan is? Yeah. So a scan it's, it means your source code. So it's checking for vulnerable dependencies, which is, you
know, you have like a depths like a hex package that has a vulnerability or a security problem. It's also checking the source code. So if you write some code that's not secure, it would catch that. What else do we have? So that's the code scan. There's also the app audit, which is the inventory. So let's say like tomorrow, there's some really bad Phoenix problem. And this, this can happen in anything. Ray else has had this happen a few times where it's, if you're running this version of Phoenix,
you're vulnerable. And anyone who can run curl against your app could hack into it. If this version is running very common with Praxial, you could actually see OK I I checked this in production at runtime. It's this version, I'm safe. Like every security person ever at a company has had to do that at one point or another after some big security thing was leaked. Like log 4 J was a recent example.
We weren't using Java at the company I was working at at the time. So we were sitting there going, yeah, we're good. The whole other every other place was. So fine, the app audit is my second favorite next to seeing, you know, the blocked requests. Yeah, but like it's so nice because it just gives you an inventory of even dependencies you don't realize were in your project because. Yeah, that's always fun. I like. Yeah, because they're dependencies from other dependencies, which is always like, you know, a huge security vulnerability.
But it gives you a good like overlook to even see if you want to going to be using all the dependencies that are in your project because you might not want one of the dependencies that they're using. And so I love that feature, just having the quick overview of all. Your. Libraries. That's a good one. So app audit the code scans. Code scans hooks into the GitHub app as well, so you can check every new pull request for security problems. Yeah, the GitHub action is super nice. I love that. Yeah, if you're not, people went
crazy for that when it launched. Yeah, I bet now does. Is that included in the free tier? Yeah, that's in the free tier, the GitHub app code scans app. But like really all the app secure features, X flow guard, the runtime, that's the one that checks at runtime if somebody's trying to hack you. Because the cost to run it on the Praxial back end is actually very low. Just, you know, obviously the scan limit, you can't do 1000 scans a month as a, as a free tier member. But yeah, I, I think it, I think it definitely gets people, you
know, thinking about security in the right way, thinking about the security of their code. And then for bot defense, which you've been using, you know, you actually can't see the traffic on the free tier because that's the paid feature. But you can do the IP blocking, you can do the rate limiting, the banning requests from rented servers, which is how people cycle through IPS. I had to. I had to get a little creative because so the I'm, I built a web hosting platform, right? And I'm doing a lot of the, the
routing. I mean, I have nginx and like certbot, you know, at the Docker container level. That's good. And then when I come in though I'm looking at the host and then I'm using plug to route to the specific website. Yeah. And so I have like, I have a dynamic live view essentially. So I have a parent live view that then loads a child live view inside of it. And so I had to get a little creative because a lot of paths will just return like a four O 4, but on my end it returns a 200.
I have some things to like iron out, but like if too many of my four O 4 live views get hit, I've been using the rate limiter to block those IP. Addresses. That's good. Yeah. So it it's been working pretty well and I like that a lot because I like that you automatically pretty much block requests from any like data centers 'cause you. Know should we explain? Should we explain about that way? That's bad? Yeah, absolutely. So when you do IP rate limiting,
which I absolutely recommend, it seems really basic. You know, this one IP address just did 100 login attempts. You should ban it. You'd be shocked how many companies don't have that set up. If you do, like great, you absolutely want that, even if you have some really expensive AI, whatever solution. I've been at companies where those got bypassed and then the day after the attack you're sitting there going, why didn't we have rate limiting in place? So you want rate limiting?
The way that usually if anything's exposed, like if you have a public API or anything, you want rate limiting. Exactly. So the bad, the thing the bad guys do is they will take the attack that they're doing and you'll see they get banned from one IP and they will proxy their traffic through a cloud provider. And I'll give AWS the example here where they have a service called API Gateway. So you can do this from your laptop. There's like scripts on GitHub that you don't have to know how to code, you just know how to run the script. It will run the credential
stuffing attack, the, you know, login attempts with the usernames and password. But now every request has a different IP. So every single HTTP request you send 1000 requests, thousand different IPS. The common denominator is they all come from Amazon. So if you see 1000 requests from Amazon, or really if you see a login attempt from an Amazon data center IP, you don't want to serve that. So Praxial can block that for you, even on the free tier. That's a free tier feature.
That's really nice and I never thought about that until you explained it to me 'cause I think I had a question about something with rate limiting and IP traffic. And the story of how that got started, I was working at A at a bank, you know, financial start up where I saw this attack and we were paying a lot of money for a very expensive like a modern WAFF firewall solution. And I was sitting there thinking I could code this myself. Like why?
Like why are we sitting here? Like relying on our vendor. This seems pretty simple. And I had the same experience at my next job. And and that's how Paraxial got started. Turns out, coding is the easy part. Running a business is a lot more complicated than a software project. Although software is hard, people will say, oh, you know, software is the easy part. That business is hard. No, I software is also hard. I'll say that. I say that all the time. Building the product. Yeah, building the product is easy, at least for me, right. I mean, I'm not saying it's easy, easy, but selling your
product, that's hard. But also learning the code is hard. Well, that's true. No, I agree it is and it's. Not easy. I just saw this great. Theo just did something like a couple days ago where he went through some blog post, Y Combinator something where he was talking about hiring. And he's like, most. Yeah. Most people make the mistake of hiring for things they hate to do or that they don't know how to do, when you should really only be hiring for things that you love to do and you know how
to do. And that hit home because I keep trying to find people to help me with sales because I hate doing sales. You know, it's kind of like, OK, you love building your product, it's time to hire a developer so you can focus on sales until you're good at it. And then when you're good at sales, then you hire someone to do sales. And I thought that was a pretty awesome advice. Yeah, it's it's complicated too, because I think people have different pictures of sales. I think a lot of software people just write off sales.
They just are like, no, my product's so good it'll sell itself. I. Unfortunately, that is not true. I don't need a sales, I don't need any sales people. I mean, it does, it does depend on your market of course and and kind of what your goals are. But yeah, I think whatever whatever you're doing in software or building a company, it's all, it's all challenging. I wouldn't say any of it is easy. No, yeah, not at all. And like everyone comes from different backgrounds too. So you could have a sales
background and start building your own software product. Then building your software is going to be the hardest thing you've ever done. You know what's interesting too? I, I've noticed this in a few areas of life, but I think sometimes when you study a subject kind of academically with, you know, a text, something where there's a textbook for it, you kind of think about it in a different way compared to somebody who just has 0 background knowledge and all. And just, I'm going to do this
like whatever project it is, I'm going to kind of run at it. And I, I know that doesn't apply for everything, you know, maybe when you go to a dentist or something, you'd like to, to have some, some textbook knowledge on, on dentistry, of course. You know what? I'm just guessing and drilling. Yeah, just just guessing around, but I think I think even in a lot of fields, just kind of trying to trying to go for things with a different perspective where you're saying like, OK, I, I know this is like kind of the traditional wisdom, we're just going to try this completely different. I'm going to kind of run at the solution. You'll probably run into the
same problems that other people ran into from that perspective. I I also think that just, you know, trying something like the action of it is, is really important. I know this is starting to sound like a start up podcast and not a not a Elixir podcast. I mean, it's kind of both I think like learning Elixir in like Phoenix are the best tools to bootstrap and build your own product with because you don't need a big team. I feel like you can. You can build quickly. Yeah, I, I suppose that's a good
segue because the big announcement I have coming up very soon. Well, it's live now. Praxeel's coming into rail support very soon. So that's up on the website now, which is kind of like a it's a natural. Next up. Thank you. Yeah, because so many Alexa people also know Ruby and Rails. And I think philosophically, the two communities share a lot in terms of people usually learn those languages and frameworks, not because they want to get a job at a big tech company. I'll call it like, you know,
Kubernetes as an example. I don't think anyone's, I don't think many people are kind of learning Kubernetes for their own use necessarily. Like with Ruby and Elixir in Phoenix, it was very much like, I want to build something and Rails, you know, like huge influence on Phoenix, I think. Oh, hello. Do you see my dog back there? He, like Jax, likes to make an appearance on my live streams from time to time. Awesome.
I guess. All right. So you're releasing. Is everything going to be feature matched for Ruby or how's that working for you? Yeah, that's what I'm very excited about is it's going to be completely feature matched like on launch day. There's this chart on the Praxeal site. I think that was like the best marketing I ever did. It only took two years of the company and and building features where it's just saying these these are all the features that Praxeal does compared to kind of other security vendors. I want to pull that up. I feel like yeah, like.
Can you Can you pull stuff up on this? Yeah, let me maybe. I might lose you for a second though if I do. You need like a Jamie the from the. Jamie, I know well what what's annoying is I always forget to set things up so like I have two so I use Stream Deck and I have like two different themes. I have my interview one and then my code along 1. So I don't have like the screen sharing on this one and I need
to set that up because. That's OK. Oh well. But I love that guys go to perexil dot IO and the Foley, Ruber and Elixir support, Ruby and Elixir support. It's awesome because all your competitors are sitting there with like one or two check Marks and then you have what, 123-4567, like 8? Well, and, and this is the thing that I, that I saw as a developer security engineer was you kind of sit down and you
say, OK, these are like the most realistic threats to my project. Like I'm going to get attacked by bots. People are going to try to hack it. I need this information about the dependencies. No product does all of that really. Because I can tell you exactly why when you start a cybersecurity company in application security, you go out and raise a lot of EC money and you're saying, you know, we're going to be the best at dependencies or static analysis or anything, whatever. And you usually are those
companies do very well. They raise the money, they go after the Fortune 500 Sisos, they get their sales pipeline kind of figured out and they're good for a while. And then kind of like the creep comes in where you know, the the big companies, they want more features that only really a big company would ever want. And the products just it's not designed for a developer. It's designed for a big company that wants this one specific feature. There's really nothing out there before Praxeulia where you kind
of sat down and said, OK, I'm just like a developer, I'm not a security expert, but I want to secure my app. How do I do that? And I'm, I'm shocked and I'm not surprised that this, that this has happened because I think every security company falls into this trap where you raise VC money. OK, where are your milestones? Like where are the enterprise deals? That's what all your investors want to see. They don't care how many developers you onboarded. They care how many enterprise contracts you landed.
Well, that's where the money is, right? But. But I would say I my, and this is like my insane idea here is that all of those companies end up kind of being one in the same. Like you're a software developer apart from Paraxial. Like is there kind of a standard like I have a, a Rails app or an Elixir app? Like I need to secure it? Like what do I use? No, I mean I was just out there being naive, hoping I want to get hacked for. All the, all the major software is kind of like, it's like big
corporate companies. And when you go to a developer security conference, you'll very, very rarely see the security firm there. But my whole thing is the security firm that developers really like is going to be the one that wins in a much bigger and meaningful way. It's a much better opportunity because it's going to stick around. There's there's more developers than Sizzo's and. There's well what I like about your approach. Your approach, which is you reach out, you're easy to deploy, you have good documentation for developers. So now when big companies that
have their tech stack is Elixir and they're not using anything, or they're using a different expensive corporate solution, people are going to start talking about paraxial at like the low developer level. Yeah, yeah. So much more of a bottom up approach. Exactly. And you've seen this approach with other businesses. I think Stripe is a great example. Where did you code web apps before Stripe was around? Dude, I was.
I was, I kind of just started as Stripe was becoming popular like because they, their documentation was so amazing. So I want to feel like I started using Stripe like really early in my because it was just like the same timing as like when I was doing web applications and like backends and like the node GS world, Stripe was just popping up really cool. And before that, it was like PayPal and like other like kind of crappy solutions that were harder to integrate because they
didn't really catch up until Stripe made them. Yeah, that was the thing, because all the payment process were going, oh, software developers, that's cool. They don't have any money. Like, why would we target them? Stripe really saw, and now it's obvious. Like, of course you'd go after software developers because how do companies collect payments online? It's through software. Yeah, exactly. But at the time, I think it was seen as a little crazy, like people didn't it it's, it's not obvious at the time. Yeah. And it's to this day, those are
like some of the most enjoyable documentation to go through is Stripe documentation. Yeah, I use Stripe. It's a great company. Yeah, highly highly recommend Stripe. We have a question that I please just don't want to forget about cuz it was a little bit ago but I'm gonna butcher your name and I'm sorry I'm not even going to try. But anyways he's asking if paraxial does it protect against like ecto and SQL injection? Oh yeah, yeah, that's a great question.
So it does through the stack analysis portion. The good news is people ask me this about ecto. Ecto is great. If you're using Ecto by default, you're probably not vulnerable. You should be using Ecto honestly, not writing your own SQL queries. If you are writing raw SQL through a the ecto adapter proxial will will catch that if you have somehow managed right an oixerap not using ecto but using SQLI. Kind of applaud that because I I don't even really know how you'd
get started there, but probably not the best from a security perspective. Praxial also has really good docs on how to like analyze a sequel injection finding because SOBLO does occasionally throw false positives for this. It's this article that let me double check I can pull it up on my. I'm sorry I can't like share my screen but it's like. No, it's my fault. Well, actually you can share your screen. You can, because I'm not even. Going to try because it's but
yeah, it's called Detecting Sequel Injection in Phoenix with soblo. It's a 2022 article that I wrote, but it like walks through how like sequel injection works in Ecto. I use that article for the guidance in Paraxial in like the GitHub app for how you, how you analyse that. So yeah, Sequel injection, great, great call out too. Because my whole thing is if you have a web app, there's kind of two of like the OS top 10, which
is actually not of the top ten in my opinion. The two big ones are like remote code execution and sequel injection. Like those are probably the most important ones you just need to check for and it's really good that you do. And Praxial just makes it a bit more convenient. Yeah, Praxial did a great job. I did some naughty things because I was building some dynamic views and it called out some possible dynamic values that could have been vulnerabilities.
Was it? Was it? Raw with like. It was raw, yeah. Yeah, that'll I see that. I I didn't even think that was the thing, but I see it all the time. Yeah, well, the problem is I have to like, I could be doing it wrong, but whenever you're doing like markdown and things where you're showing like code snippets. Yeah. Yeah, that's so that's where I get the flag. But then, you know, you're paraxial tells me to write like, you know, a nice separate component to just make it a safer, compartmentalized thing.
I'm glad. I'm glad that's that's a good use case. Yeah, yeah. So there it is. Nice. I don't use what is the the main one that you always talk about binary string to binary? Yeah, binary to term, that's an awful. Yeah, that's a very. Very dangerous. One, don't do that. Don't use it. Yeah, that's great. Do we have more questions from the audience? Let's see. No, not not product related. A lot of hellos. What's up, Adolfo Rashab, Eddie,
good to see you guys. Let's see, I have a whole list of things. Well, OK, so I wanted to like circle back where like when you're deploying on like Gigalix or other past systems, what what does it all take to integrate Paraxial? What steps are you taking? How much work is it and how do you know if it's even done correctly? Yeah. So this is a big thing with a lot of security software is it
will sometimes assume that you have control over like the underlying web server. So this is something I wanted to avoid with Paraxial. So it's completely installed in the Elixir code layer, meaning you have your project open, you install Praxeal by adding the dependency, You can set up the plugs for bot defense and things. And then you just do, you know, git push gig Elixer or Heroku or Fly or whatever, your platform as a services and you're protected. You don't have to drop down into
the engine X or the Docker file or the Kubernetes whatever. If your Elixir code runs on it, Praxeal's compatible with it seems very obvious, right? This is this is something I have personally seen in the security industry is they don't want to write a code native integration, meaning the, you know, practical agent for the Elixir apps is written in Elixir. Obviously not obvious. I've seen several vendors write that in Java and then their documentations like, OK, you
want to secure your Python app? Step one, install Java and you're just like oh great, that just like sets the tone for the entire project. For real, is it normally like, so I don't know much about like like let's say some of your main competitors, are they usually like a separate kind of like reverse proxy layer or is it always software based? So it depends. There's kind of, I would say two different approaches here. I, I guess we should talk about
like the, the CDNS are the big ones. So Cloudflare, Akamai, Fastly, those are the big CDN companies and they're kind of incidentally security companies. I would say that security is, is not the focus of Cloudflare as a business. It's it's a few things. I mean, I actually like Cloudflare. I think I think they're, they do a pretty good job on some things, anti DDoS like CDN. So they operate, you know, kind of the points of presence all over the world.
So when you hit a, when you go to like retrieve an image or something, you hit a Cloudflare server that's close to you instead of going like round trip and then you know the business people or the. The company said, oh, we have all these like, you know, servers around. We can also do DDoS protection where you hit the Cloudflare server 1st and then that absorbs the DDoS and then it doesn't get to your server. The big problem that people run into with all of these services is it's basically a man in the middle attack in a way where when you have, you know, the
customer like your user and then the CDN server and then your real server, that middle CDN server can see all of the traffic. And we know this because a few years back it was Cloudbleed was like the name that came up for it, where if you were Cloudflare customer, your passwords, all the, all the private data, you know, from the TLS connection was just being dumped on the Internet. It was like a big incident. A researcher from Google
uncovered it. So people got very concerned about that risk. This the having the CDN layer is really useful for all of these reasons. But then it also introduces this security risk where now all of the encrypted data is, is flowing through the third party provider. So trade and I talked to very intelligent, very sharp founders, CTOS of of companies and they didn't know about this. They said like what? And I was like, yeah, I mean, everyone in security knew about
this because it's like it's like the same group of people. The guy who found it is pretty famous. It was like, it was like the security, like the infosec news for like. That's why, like one of went very early on, one of my first encounters with security issues was a man in the middle attack. And then like, so I feel like I became very like, aware. Yeah, it was just like, I was like a little naive and just like, you know, giving too much data, you know, in an API response or, you know, and then like manipulating too much on the back end with their requests
and they used. I'm trying to think what the what is the damn server app you can run like Charles proxy is that. Oh yeah, yeah, yeah. Yeah. So they were running Charles Proxy on one of my applications and just like on the fly changing their requests. And I was like unloading all this like paid products to these people that weren't on the paid tier. Yeah.
Yeah, I and, and it's funny, the reason I kind of like cybersecurity, I think it's, it's something very inherent and just humanity is there are these adversarial things where when you put something online, someone's going to attack it. You know, like you take the security of your house or the security of your of your life for granted. A lot of but the world can be a pretty dangerous place in a lot of instances. And it kind of makes sense of the digital world. Wouldn't wouldn't be any different. You know, there's people that
want to steal from you. I mean, there's also like the social media aspect of it too, but then there's also sort of like the technical aspect, which I I always found so fascinating. Yeah, for sure. But yeah. So ever since then I was like, Dang, dude. Like you can't just you can't just give them all this information in your responses. And I was like so naive I was, I just started like being like a back end engineer. Like it was a very like small startup and I was just the only
one willing to step up and do something. I didn't know what to do. Yeah, I'm curious about that. So you've had a career as a developer, you know, What do you think of like how developers approach security? Has that changed? Do you think it's gotten better or do you feel like there's not really a standard or like a good solution yet? I don't know, I think a lot of people their go to now is Cloudflare. You'll always hear about it. Yeah, yeah, definitely for bot
defense. Yeah, and. Us, I suppose. And then I think people are smarter with payment processing. You're more likely to use services like Stripe and things and not even worry about holding data like that. I don't know if it is how long I've written software that I'm more aware of it or. How many years experience? I'm coming on like 10 now. Yeah. So you're quite, you're quite experienced compared to, yeah. So I think it might be the
experience where I'm more like aware of it because when I first started like junior level, you kind of just assume you know, other people are worried about that stuff for you and like your droplets or servers are set up to be secure. And you don't really realize like just accessing a server isn't really your only vulnerability. And. Yeah, and it, and it changes so quickly. I, I get frustrated because, you know, like I know this stuff just from, you know, the work I've done. But I'll pick up a textbook where I'll try to be like, OK, imagine if I'm a developer and I
just, I'm trying to learn about this for the first time and you know, the, the material will be outdated or it'll be like, how do you defend against this? And it doesn't, I'm like, that's not really the way you should do it. There's definitely like a bit of a lag that like in the and you see this in other fields. I think this is a problem in medicine too. Like the medical textbooks aren't always. I mean, how could they be up to date with the most recent research? Right. Well, anytime like anything's published, it's already, yeah, out of date, right. And then look at like most tech, yeah.
Yeah, that's rapidly advancing. Yeah, we do have another question we Eddie is asking. Can paraxial be used right from the start of a project or can you only reach for it once a project is completed? Oh, Eddie, fantastic question. You should start using it immediately, even if it's just, you know, the free tier, because you don't want to start using it right before launch and then you have 100 security problems that the first scan picks up. You can start using it immediately and then as soon as you introduce a security problem
it'll give you a heads up and you can fix it rather than kind of coding yourself into this corner where now that vulnerable function is load bearing, which is not pleasant in a project. Yeah, I want to say when I first got Paraxial up and running, I had to fix like 20 things. So if you put it on right away, you'll get your scans every time. You know you do APR to your staging or development branch and you can catch it right away, especially with your GitHub
action. Yeah. And that's a common, that's a common question to where people or project managers will try to put security in at the end of a project where they say, oh, we're going to, we're going to spend, you know, 4 weeks developing this, oh, and then last two days we're going to do the security. It's not how it works. You have to do it continuously. Well, I think it's really nice that you pretty much have full feature on your free tier, so that's really beneficial. Yeah, I'm, I'm very, I'm very grateful that it worked out
economically and that people are using it. It's just it's very nice to get it into the hands of of developers. What Let's say like, I have a project, right? And it's kind of like a pet project, but it starts to take off. What cuts me out of the free tier? When does that change? When you when you charge money for it. So it wouldn't be a commercial project anymore that that's where the licensing changes. Yeah, yeah. So it could be a side project. If it just doesn't generate any revenue, you're fine. It's sort of the the early Internet had this licensing
where it was like free for educational. I think a lot of software, open source software has been in that vein. That's where I wanted to be like if you're a student, like, yeah, you're not going to buy an enterprise software license. Yeah, I've been a student before. You don't have any money. So that's unreasonable. But yeah, like use it, learn, learn about security. It's beneficial. Yeah, for sure. No, I love that you did that because it allows people to become familiar with your product as well and learn a little bit about security as they go. Like if anything, just like your
little logs and your warning messages like you learn quite a bit just reading about like why you shouldn't use dot raw and. That's a good one. Yeah, Geeks. Template. Yeah. Do you want to explain that one at all? Do you want to explain it for people? So is an attack called cross site scripting, where the summary is you go to your bank's website, the JavaScript that's running on that page should only be written or approved by your bank. A bad guy should not be running
a script on that page. But let's say that for some reason your bank had like a chat feature where I could chat with Jacob on our bank accounts. I don't know why, but let's just say that you, you can kind of picture how that would be implemented. I'm sending some data that's going to be rendered in your browser now, right? What's the problem there? Let's say that the developer wanted to do like, I want to send a bold or like italic message and it's like, oh, HTML is that built in? So I'm going to just raw the data that I send to your chat so
I can like bold kind of like early Myspace days. Myspace had this problem, by the way. So that's a good example. Dang it, Tom. Yeah, the problem is now I could, I could send you bold text, but I could also send a message that's like script and then some JavaScript that I wrote and it's going to run in your bank account browsing session, which is really bad because then I can just steal your cookie. I can do a lot of bad things. I could steal your bank balance. I could issue a wire. Huge huge security problem.
That's what cross site scripting is. So it essentially gives a bad guy access to your your your client session of. That exactly exactly, and Phoenix defends against this by default. If you code that bank app that I just described with the chat feature with Phoenix and Live you, you won't have a problem if you just kind of stick to the default because Phoenix renders that output correctly by default. The Phoenix people are very, very smart and it provides you with great, great guardrails. The problem is, though, the raw
function gets you off that and then you're rendering the raw HTML. That's how the vulnerability gets introduced. And it's very bad for for everyone really except the bad guy. But it's also not good to be doing bank fraud. I think that's a bad career choice. Yeah. I mean, if you're smart enough to do bank fraud, that's that's enough to get a good job. That's, and that's the sad thing. Yeah, it's sometimes you see these scams or these cyber crimes, it's like these people are clearly intelligent. But yeah, it's just, it's not good.
You have to. You can't do it. You could have gone the dark path and you went the good path. You're. Preventing the attacks versus. Yeah, I think it's and I think it's a really interesting like problem. There's this like glorification of the the Black Hat hacker. I think with like, you know, hacked into a company or something. It's actually not that hard to do if you look at it just from a skill perspective. I think if you just kind of
trained anyone that knew a little bit of programming like you could, you could perform hack. Like it's not really that impressive in my opinion. Well, you're just basically going after already known vulnerabilities. That's yeah, that's the, I mean, you can also do like the zero day stuff, but that's actually a bit more above ground now these days, most people that do that have like a W2 or a maybe not W2 job, but a job where they pay taxes. It's a lot of like cybercrimes, a lot of fraud. Honestly zero day is like when they find the 1st to find a vulnerability is that.
What? Yeah, yeah, I, I let me, yeah, 'cause this is people kind of like this topic. Somebody that's doing like credit card fraud, they're probably not that smart, to be honest. Like you don't have to be like a genius program. You just have not like you can buy like credit card fraud kit on the dark web for like 100 bucks. And it's like, you know, it's like it's probably some some crime where it's been like repackaged and repackaged and forked and repackaged. And the only person making any money with it is the guy selling it. But they're like, we're going to teach you how to like do credit
card. Yeah, it's stupid stuff like that. Be a credit. Card fraud hacker. At the other end of it is like people who hack iPhones and some of that's done kind of with the goal of like reporting the vulnerability to Apple. Some of it's done with using the vulnerability for like an intelligence agency. So a much different career path. Like that person is employed and usually has like a job and a family, You know, they they work for their country or they work
for a major tech company or Apple or something. Just a very different social scene. I guess I'll put it that way from the the credit card fraud and the zero day people very different skill sets as well. So not not much of. Them saying they're wearing a button down versus a black hoodie. No, they still wear T-shirts. I think that's that's the style. I don't I don't see too many T-shirts like what were the I mean Black Hat and Defcon I think are like the the two biggest ones for sure. You'll see. Do you do you make an appearance at conferences like?
So that's the thing. This is, this is my whole thing with practice. I, I went to Black Hat and, and Defcon a lot before I actually started the company. And I, I thought about this when I was like sitting down, like, OK, I'm going to start a company to secure software. You go to Black Hat and Defcon and there's like a million security vendors. Everyone's going to tell you their pitch and you, you kind of get lost in the crowd and it's like, oh great. Like another like security vendor, like that's cool. There's like a million of them if you go to a developer conference and there's no security vendors. So then if you show up to one
and you're the security guy, that's kind of like you stand out. That's a good thing. So that was how I approached the marketing. Like we go to a lexicon for oral Toronto, September 26th, practical sponsoring that. I think it's a much better way to market because you get a lot more value and the people are excited to talk to you like, oh, like the security guy, because you go to Black Hat and people are just like, oh, great, like another security, but they kind of rolled their eyes at you. I don't know how familiar people are with that world, but it's
just it's saturated. But it's the thing that's crazy to me is you go to a security conference and people want to learn about security. So it's like, yeah, go, go there, obviously. Yeah, for sure. I mean like I have an interest in it, but I also don't have enough time to be super knowledgeable. So like I always enjoy like chatting with you and seeing your posts and all of that because I feel like it's a wealth of knowledge for me. Yeah, there's very much a different like social grouping. Like there's people in security
and there's people in soft. And, and I thought that when I start, first started with security, I assumed it was like the same, like you'd walk up to like a guy who knows how to hack iPhones at a conference where he did some crazy exploit and you'd be like, Hey, like, how do I secure my Rails app or my Flex app? He has no idea, you know, because it's not what he works on. It's, it's, it's just a completely different world. And learning that was like, actually probably the most useful thing I ever learned in my career because I'm like, OK, that's, that's good to know. Yeah, very compartmentalized,
right? You kind of know what you know. And that's, but yeah, but you, but like you don't, I don't know, you don't learn this stuff in a book necessarily. I think there's, there's a lot of like you kind of have to get out there and, and talk to people. It's sad because I like, I actually really like learning from books. I like reading and kind of going through exercise and stuff. And and a really bitter pill to swallow was that the stuff you need to know is, is not always in there. You have to kind of get your hands. You know, there's actually a great, I might, I might be misattributing this, but I think it was Hamming, the guy who worked at Bell Labs.
He wrote a book called You and Your Research, which I believe Stripe Press published. And he talks about researchers at Bell Labs, where, you know, the research you had to work with your door open because you you tended to get more ideas. He said there were people that just went to the library all day and they knew everything that was written down about a topic. But he said they very rarely made good progress in their research because they they weren't kind of engaging in the same way. Somebody that had to go out and, you know, talk to people and experiment was great.
Great author, great book. But I, I've, I've found that applicable. And that's why so many people, so many software people, love that book and Stripe republished it with. People. Well, that makes sense, because look how many times you like roadblock yourself because you're too close to a problem, and the second you describe your problem to another developer or friend, you usually solve the problem before you even get an answer from them. Exactly. Just the reframing and hearing yourself discuss your problem, you normally solve a problem. I know we like to, we kind of
like to sit in our bunkers all day and like just the keeper. But yeah, getting now and talking to people is really, and it's nice now that, yeah, I think remote work has become much more mainstreamed. We can do a podcast like this. Developers didn't really do stuff like this. I mean, I would never talk to people if I didn't start a podcast. Like, how ridiculous is that? Yeah. So now it's great, too. Yeah. I just get to invite people that are doing cool things on and I get to have a conversation with them. So it's awesome. Yeah, it's really, it's really nice.
But yeah, I mean, it was great talking today. You think that's a good place to to call this episode? Yeah, I mean, we could. I have well, actually, I know a good way to end this. If you were to like suggest best practices for Elixir developers for like securing their applications, whether like just good takeaways resources to kind of stay on top of things. Yes, yes. And like feel free to plug paraxial obviously. But we haven't done all of this episode. But yeah, what are just like things that, you know, we
should, as Elixir developers, have ingrained as we take a project, you know, live? Yeah, that's a good question. You definitely should be using Praxial, especially with the free tier now and subscribing to the Praxial blog because that's where I publish a lot of material on Elixir security. The other really important resource is Potion Shop, which I believe you've you've covered. Actually, that's the open source Elixir app that has a lot of vulnerabilities. I use it a lot in, in Paraxial demos too.
It's nice 'cause you can kind of see the the vulnerabilities. These are all Elixir specific by the way. I should mention the other one is the Erlang Ecosystem Foundation, the Security working group. They published some guidance on Elixir secure coding and Erlang and Elixir. So that's really relevant. The thing is everything I just talked about is very Elixir specific. There is also like a wider body of web security knowledge. So the other company that I
really like that I'll I'll mention is Portswigger. The founder of it is the author of this book called the Web Application Hackers Handbook. The second edition is published like a decade ago, but it's still the best resource if you want to learn web security. They're not going to publish a third one though. They just have these labs online. It's like the web security Academy. You know, none of the labs are an Elixir. But for learning, if you're like, I want to like grind web security, like I really want to learn this stuff. I want to get it.
Those labs are great. I like, I highly recommend them because those will teach you like what the vulnerability is. And then you know, with Prax, you'll be like, how do you prevent it in your own work? So the Elixir app you're shipping is secure. Awesome. Well, Michael, thank you so much for coming on. It's always so much awesome information when we chat. And thank you, this is fantastic. I. Appreciate it. And it's awesome because, yeah, having you back on and seeing
that you were my first guest, I think I've ironed out quite a few things since we first did this, too. Yeah, you've got some major names on the podcast you Jose on it's. Been, I know, wild it's. Already taken up. That's fantastic, man. I know I was very nervous for that one. He's a great guy. He's awesome. Oh yeah. He's so chill. He's so awesome. Probably one of the nicest people I've ever met, too. Yeah, yeah. But yeah, it's been fun. Thank you everyone that tuned in and I'll see you guys in the next live stream testing.
Francesco Cesarini, founder of Erlang Solutions, and Allen Wyma, hosts of BEAM There, Done That, join Jacob for a live crossover of both podcasts. They trade origin stories, compare what the Erlang and Elixir...
Jason Cohen, founder of WP Engine and Smart Bear, joins Jacob to talk about his new book Hidden Multipliers. They dig into why engineers avoid marketing, the onboarding math behind SaaS trials, finding your ideal...
Filipe Cabaço, team lead on Realtime at Supabase, returns after two years to talk about his side projects: Vitro, a browser for every AI agent with a replayable timeline of what each one did, and Ampoule, which packs an...
Peter Ullrich returns to talk about Pushin.eu, the European GitHub alternative he's building in Elixir. Five months in, it has about 700 confirmed registrations after going viral on Hacker News, and Peter walks through...
Nathan Hessler, organizer of ExMex and RBQ Conf, is back four weeks out from ExMex 2026 in Austin. We cover MCing Rails World, how he picks speakers and keynotes for a single track, what running a Ruby conference taught...