<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: CodezMorarity</title>
    <description>The latest articles on DEV Community by CodezMorarity (@codezmorarity).</description>
    <link>https://dev.to/codezmorarity</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4245542%2F0c26e8d0-fb97-4cf1-a182-53c6a7fd8220.png</url>
      <title>DEV Community: CodezMorarity</title>
      <link>https://dev.to/codezmorarity</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/codezmorarity"/>
    <language>en</language>
    <item>
      <title>RBXGuard - I'm exploring an open-source security scanner for Roblox games. Here's why.</title>
      <dc:creator>CodezMorarity</dc:creator>
      <pubDate>Sun, 15 Nov 2026 10:00:15 +0000</pubDate>
      <link>https://dev.to/codezmorarity/rbxguard-im-exploring-an-open-source-security-scanner-for-roblox-games-heres-why-5271</link>
      <guid>https://dev.to/codezmorarity/rbxguard-im-exploring-an-open-source-security-scanner-for-roblox-games-heres-why-5271</guid>
      <description>&lt;p&gt;I've been exploring GitHub recently, looking at projects that are gaining traction and trying to understand what developers actually need.&lt;/p&gt;

&lt;p&gt;One area that caught my attention is the intersection of &lt;strong&gt;AI-assisted development, game development and cybersecurity&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;That led me to an idea I've started working on: &lt;strong&gt;RbxGuard&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  The problem
&lt;/h2&gt;

&lt;p&gt;Roblox makes it relatively easy to build multiplayer games using Luau, RemoteEvents and RemoteFunctions.&lt;/p&gt;

&lt;p&gt;But there's an important security problem that is easy to overlook:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Your client is not trustworthy.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Consider a simple currency system:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight lua"&gt;&lt;code&gt;&lt;span class="n"&gt;giveCoins&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;OnServerEvent&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="nc"&gt;Connect&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;function&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;player&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;amount&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;player&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;leaderstats&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Coins&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Value&lt;/span&gt; &lt;span class="o"&gt;+=&lt;/span&gt; &lt;span class="n"&gt;amount&lt;/span&gt;
&lt;span class="k"&gt;end&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Looks harmless, right?&lt;/p&gt;

&lt;p&gt;The problem is that &lt;code&gt;amount&lt;/code&gt; comes from the client. An exploiter could manipulate the value sent to the server and potentially grant themselves an unreasonable amount of in-game currency.&lt;/p&gt;

&lt;p&gt;The server should validate the request and independently determine whether the player is eligible for the reward.&lt;/p&gt;

&lt;p&gt;This is just one example of a broader category of vulnerabilities involving client-server trust.&lt;/p&gt;

&lt;p&gt;And it got me thinking:&lt;/p&gt;

&lt;p&gt;What if Roblox developers had an easy-to-use tool that could identify these problems before their games were published?&lt;/p&gt;

&lt;h2&gt;
  
  
  Introducing RbxGuard
&lt;/h2&gt;

&lt;p&gt;RbxGuard is an open-source project I'm exploring to make security auditing more accessible to Roblox developers.&lt;/p&gt;

&lt;p&gt;The idea is simple:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Scan your Luau code. Find potentially exploitable patterns. Understand why they're dangerous. Get actionable recommendations to fix them.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The initial vision includes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;RemoteEvent auditing:&lt;/strong&gt; Identify potentially unsafe client-to-server communication.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;RemoteFunction auditing:&lt;/strong&gt; Detect suspicious handling of client-controlled input.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Input validation checks:&lt;/strong&gt; Identify missing or insufficient validation.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Authorization checks:&lt;/strong&gt; Find potentially unsafe player permissions and ownership checks.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Game-state protection:&lt;/strong&gt; Identify suspicious currency, inventory, health and damage modifications.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Security reports:&lt;/strong&gt; Generate readable reports alongside JSON and SARIF output.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI coding-agent integration:&lt;/strong&gt; Allow tools like Codex and Claude Code to understand findings and assist with remediation.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I'm particularly interested in making the scanner deterministic wherever possible, with findings backed by source-code evidence rather than relying entirely on an LLM to decide whether something is vulnerable.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why AI integration?
&lt;/h2&gt;

&lt;p&gt;Something else I've been following is the growing adoption of AI coding agents.&lt;/p&gt;

&lt;p&gt;Developers are increasingly using agents to generate code, build applications and automate development workflows.&lt;/p&gt;

&lt;p&gt;Roblox development is also becoming part of this shift.&lt;/p&gt;

&lt;p&gt;I think there is an interesting opportunity here:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;An AI agent generates or modifies a Roblox game.&lt;/li&gt;
&lt;li&gt;RbxGuard scans the resulting Luau code.&lt;/li&gt;
&lt;li&gt;It identifies potentially vulnerable code paths.&lt;/li&gt;
&lt;li&gt;The developer or coding agent reviews the findings.&lt;/li&gt;
&lt;li&gt;A proposed fix is applied and the scanner runs again to verify the result.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The idea isn't to replace developers or security researchers. It's to make security checks a more natural part of the development workflow.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I'm planning to build first
&lt;/h2&gt;

&lt;p&gt;I'm deliberately keeping the first version focused.&lt;/p&gt;

&lt;p&gt;The initial MVP will concentrate on:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Luau source parsing.&lt;/li&gt;
&lt;li&gt;RemoteEvent and RemoteFunction analysis.&lt;/li&gt;
&lt;li&gt;Detection of client-controlled values reaching sensitive operations.&lt;/li&gt;
&lt;li&gt;Evidence-backed security findings.&lt;/li&gt;
&lt;li&gt;A simple CLI interface.&lt;/li&gt;
&lt;li&gt;JSON and terminal reports.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I'm planning to use TypeScript and Node.js for the CLI and analysis infrastructure, with an architecture that can support more advanced integrations later.&lt;/p&gt;

&lt;p&gt;I'm also exploring how to support Rojo-based projects initially.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;RbxGuard is currently in the planning and early development stage.&lt;/strong&gt; These are proposed capabilities, not features I'm claiming are already implemented.&lt;/p&gt;

&lt;h2&gt;
  
  
  I'd love feedback from the Roblox community
&lt;/h2&gt;

&lt;p&gt;Before going too far with implementation, I'd like to hear from people who actually develop Roblox games.&lt;/p&gt;

&lt;p&gt;A few questions:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;What are the most common security mistakes you encounter when developing Roblox games?&lt;/li&gt;
&lt;li&gt;Are there particular RemoteEvent or RemoteFunction vulnerabilities you'd like an automated scanner to detect?&lt;/li&gt;
&lt;li&gt;Would you prefer a CLI tool, a Roblox Studio plugin, or both?&lt;/li&gt;
&lt;li&gt;Would integration with Codex, Claude Code or other AI coding agents be useful to your workflow?&lt;/li&gt;
&lt;li&gt;What existing Roblox security tools do you currently use, and what do you wish they did better?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I'm especially interested in feedback from experienced Roblox developers and people who work with Luau regularly.&lt;/p&gt;

&lt;h2&gt;
  
  
  A little about the project
&lt;/h2&gt;

&lt;p&gt;Repository: &lt;em&gt;Coming soon&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Project: &lt;strong&gt;RbxGuard&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Focus: Roblox security, Luau static analysis and AI-assisted development.&lt;/p&gt;

&lt;p&gt;I'm building this as an open-source project and would love to have other developers contribute ideas, identify edge cases and help shape its direction.&lt;/p&gt;

&lt;p&gt;If this sounds interesting, I'd love to hear your thoughts!&lt;/p&gt;

&lt;p&gt;Let's make secure Roblox development a little easier.&lt;/p&gt;

</description>
      <category>security</category>
      <category>opensource</category>
      <category>testing</category>
      <category>discuss</category>
    </item>
  </channel>
</rss>
