fivem-security-audit

Audits FiveM and RedM resources for backdoors, exploits, dupes, and performance issues.

5|1|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/matiaspalmac/fivem-security-audit --skill fivem-security-audit-matiaspalmac
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: fivem-security-audit
Source: https://github.com/matiaspalmac/fivem-security-audit
Command: npx skills add https://github.com/matiaspalmac/fivem-security-audit --skill fivem-security-audit-matiaspalmac

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? FiveM server operators cannot tell from a pattern scan whether a resource lets players mint money, crash the server, or escalate to admin, or whether a leaked script carries a hidden backdoor. This Skill performs a semantic security review of FiveM and RedM resources, reasoning about reachability and trust boundaries rather than matching signatures. ## Core Features & Use Cases - Multi-phase audit: Covers provenance and trust tiers, security (dupes, event forgery, SQLi, NUI trust, state bags, HTTP handlers), malware and supply chain (backdoors, C2 indicators, npm/NUI build chain, txAdmin injection), performance, cleanup, compatibility, and architecture quality. - Structured report with scoring: Every finding carries a confidence level, file and line, exploit scenario, and copy-paste fix, ending in a 0-100 score, a trust tier, and a hard gate where any unresolved CRITICAL means not production ready. - Use Case: You downloaded a free copy of a paid shop script and want to know if it is safe. Run the audit in the resource folder; it classifies the origin as untrusted, finds the Lua 5.4 integer-overflow dupe in the purchase handler, and reports the result as "no backdoor found" rather than "clean". ## Quick Start Navigate to a FiveM resource folder in Claude Code and ask it to audit this resource for security issues, optionally naming a single phase such as security, provenance, malware, or performance.

Frequently Asked Questions about fivem-security-audit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit a FiveM resource for backdoors and exploits?▼

Install the skill with npx fivem-security-audit, restart Claude Code, then run /fivem-security-audit inside the resource folder. It reads the code, checks provenance, security, malware, and performance phases, and outputs a scored report with fixes.

What is the difference between a FiveM backdoor scanner and a semantic audit?▼

A scanner matches known signatures and blocklisted domains, so it misses logic flaws like money dupes that contain no malicious string. A semantic audit reads the code and reasons about who can reach each line, catching dupes, missing authorization, and trust-boundary errors.

Does the FiveM security audit support QBCore, ESX, and RedM?▼

Yes, it covers ESX Legacy, QBCore, QBox (ox_core), ND_Core, ox_lib, and standalone resources, plus RedM frameworks VORP, RSG, and RedEM. It also distinguishes GTA V Legacy from Enhanced builds because several findings change meaning between them.

Can the audit check escrow-protected or minified FiveM scripts?▼

No. Escrowed .fxap files, minified NUI bundles shipped without source, and compiled .NET assemblies are unreadable to static review. The audit reports these as UNAUDITED in a separate report line rather than implying they are clean.

Why does a clean scan not mean a leaked FiveM script is safe?▼

The dominant backdoor vector is a leaked or cracked paid script repacked with a loader, so origin predicts risk better than any pattern. A resource with unknown or untrusted provenance that scans clean is reported as "no backdoor found", never "clean".

How do I run only one audit phase like security or performance?▼

Pass the phase as an argument, for example /fivem-security-audit security, provenance, malware, performance, cleanup, compatibility, or architecture. Single-phase modes skip the other phases and their report sections but keep the audit rules and self-review.