Skip to content
Platforms / 06PCKGodot security audits

Godot.

What your build
gives away.

Your exported PCK carries scripts, scenes and assets. Encryption can raise the effort, but the client also needs the means to open the pack. We check what can be recovered and what the game trusts.

Get a free first look Explore the build
An open game cartridge containing a miniature landscape and its separate game objects.
Build / PCKIllustrated, layer by layer
  • .pck
  • .gd
  • .gdc
  • .tscn
  • .tres
  • export template

01 / Inside the build

A package.
Many ways in.

Select a layer to see what it contains and which tools can read it.

Inside the package

The .pck pack file (a separate data.pck, or embedded inside the executable)

The whole exported project: scripts, scenes, resources, imported assets and project settings. Godot's docs call PCK 'the default and recommended format' and note PCK embedding into the executable is supported up to ~3.89 GB.

Reads as source

Very high. GDRE Tools 'Loads project resources from an APK, PCK, or embedded EXE file' and performs full project recovery; GodotPckTool, godotdec and Godot PCK Explorer list and extract contents.

Indicative readability. Build settings, obfuscation and access to a running device change the effort.

Tools that can read these layers

GDRE Tools (gdsdecomp) · GodotPckTool · Godot PCK Explorer · godotdec · gdke · KeyDot · ILSpy / dnSpyEx

02 / The method

One build.
Six ways to inspect it.

Agents inspect the package, trace its behaviour and collect evidence through six stages. An engineer verifies each finding before it enters your report.

Unpack.

Opens the build and lists every file, format and layer.

Tools used in this stage
  • inspect_artifact
  • extract_artifact
  • binary_overview
Illustrative run log
  1. unpack
    inspect_artifact game.exe

    Godot 4 export, PCK embedded at the end

  2. map
    search_bytes in the export template

    PCK encryption on; a 32-byte key found

  3. unpack
    extract_artifact game.pck

    1,812 files, scripts and scenes

  4. read
    recover GDScript

    214 scripts back to readable source

  5. hunt
    search_strings "http|token"

    1 leaderboard write token

  6. hunt
    compare_artifacts demo vs full

    the full campaign is in the demo

  7. run
    capture_process_scenario

    score posted straight from the client

  8. prove
    export_evidence_bundle

    4 findings, ranked, sent to the engineer

8 / 8 eventsEngineer review follows ↗

A written example of the report format. Replay is condensed; the real time budget is agreed before a run and printed on the report.

03 / Exposure areas

What can
escape the build.

The places we look on Godot, the business risk behind them, and the changes that reduce exposure.

Readability alone is not a vulnerability. Impact depends on what the recovered material lets someone do.

01

Exported PCK recovers to a near-complete project

A default export packs scripts, scenes, resources and settings into a PCK that GDRE Tools turns back into an editable Godot project. Thieves can re-export the game under a new name, and cheaters can read every rule the game enforces.

The fix

Assume the project is readable: keep secrets and authority on a server, and use encryption and obfuscation only to raise the cost.

CWE-656

02

PCK encryption key ships inside the executable

Godot's PCK encryption uses one AES-256 key that, by the docs' own description, must be stored in the binary. Public tools such as gdke and KeyDot recover it, and Check Point lists 'Reverse and obtain AES Key' as a step for attacking legitimate games.

The fix

Treat encryption as a speed bump, turn on encryption filters and directory encryption, strip symbols from the template, and never rely on it to protect secrets.

CWE-321

03

Tokenized GDScript decompiles back to source

Binary-token export removes comments and speeds loading, but the tokens map one-to-one back to code. GDRE Tools' --decompile turns.gdc files back into readable GDScript.

The fix

Use binary tokens plus encryption for casual protection, and move anything valuable (validation, pricing, loot rules) server-side.

04

Client-trusted multiplayer state and any_peer RPCs

Godot's own multiplayer docs call it a 'common mistake' to 'let clients authoritatively decide important game states'. RPCs marked any_peer that apply damage, score or position without checks let a modified client send any value.

The fix

Clients send input or intent, and the server validates RPC sender, arguments and rates before changing state.

CWE-602

05

Unsafe deserialization of saves and network data

Godot's FileAccess docs warn that with allow_objects, 'Deserialized objects can contain code which gets executed' and should not be used on untrusted data. Godot's first public security fix (3.0.6) concerned deserializing untrusted native data, noting savegame data could also be affected.

The fix

Store saves as plain data (JSON or var without objects), validate every field on load, and never load user-supplied.tres/.res files as resources.

CWE-502

06

Unsigned PCKs, patches and mods loaded at runtime

Godot's docs say runtime PCK loading is a security vulnerability when a user installs a malicious mod or malware swaps the PCK. The GodLoader campaign shipped the Godot runtime with a malicious.pck whose GDScript downloaded malware.

The fix

Sign patch PCKs with asymmetric keys and verify the signature before ProjectSettings.load_resource_pack, and sign the executable itself.

CWE-494

07

Secrets and endpoints hardcoded in scripts

API keys, backend URLs and admin tokens written into GDScript constants or project settings come back in plain text after recovery. Godot keeps export passwords and encryption keys in a separate export_credentials.cfg for this reason, but nothing protects secrets placed in game code.

The fix

Rotate exposed keys, keep privileged keys on a server, and ship only public client identifiers.

CWE-798

08

Unreleased content left in demo exports

Exporting 'all resources in the project' packs every scene and asset, including levels and characters the demo never loads. Recovery tools show the full file tree, so upcoming content is visible to anyone who unpacks the demo.

The fix

Use 'Export selected scenes' or exclusion filters in a dedicated demo preset and inspect the exported PCK before upload.

04 / Sample findings

From recovered evidence
to a fix you can check.

Explore three illustrative Godot reports. Switch to the re-test to see what the next build changes.

01 / 03

Illustrative example · Premium PC roguelike on Steam, Godot 4.4, encrypted PCK

The hidden level is still in the pack.

The PCK is encrypted, but the AES key was recovered statically from the custom export template, and the full project, including the unreleased DLC biome, was rebuilt with GDRE Tools. The encryption filter also skipped .tres files, so balance tables were readable even without the key.

Evidence comes first

The full teardown records the recovered artifact, its business impact and a fix for your stack.

Recovered artifactEXAMPLE / 01
# key recovered from export template (static, no game launch)
key = 7c1e••••••••••••••••••••••••••••••••••••••••••••••••••••••a09f

# export_presets.cfg (recovered)
encrypt_pck=true
encryption_include_filters="*.gd, *.tscn"
encrypt_directory=false

These fictional examples show the report format. All names, hostnames and credentials are made up. They do not describe real customer work.

05 / On the record

The risk
has a history.

These reports show what other researchers found in released software. Each links to the original source.

  1. 2024

    A game runtime used to distribute malware

    Check Point documented GodLoader, which packaged malicious scripts with the Godot runtime. The Godot Foundation clarified that this was malicious software using the engine, rather than a vulnerability specific to Godot.

    Check Point Research (27 Nov 2024) (opens in a new tab)
  2. 2018

    A fix for untrusted deserialisation

    Godot’s 3.0.6 release notes describe a security fix for deserialising untrusted native data. The project identified networking servers and some save-game handling as affected use cases.

    Godot Engine blog, Maintenance release 3.0.6 (opens in a new tab)

Before the review

Godot
audit questions.

Compare pricing and scope, or read how we verify findings.

What does a Godot security teardown inspect?

Your exported PCK carries scripts, scenes and assets. Encryption can raise the effort, but the client also needs the means to open the pack. We check what can be recovered and what the game trusts. An engineer verifies the findings, explains their business impact and writes fixes for your stack.

What can a Godot PCK expose?

A shipped Godot game can contain packed scenes, resources, scripts and assets. Reviewing the release can reveal material that was not intended for players, as well as embedded credentials or logic trusted on the client. A finding must explain the consequence, not simply that a resource can be read.

What does a Godot teardown report include?

The paid teardown includes recovered evidence, findings ranked by business impact and a fix written for your stack. Audit and re-test adds a same-budget check of the updated build and a dated statement. The free first look reports counts and excludes recovered code and credential values.

Page updated . Samples are illustrative; public research is attributed above.

Your build. Your evidence.

See what
yours gives away.

Start with counts of exposed keys, files and readable logic. A full teardown adds verified evidence, business impact and a fix written for your stack.

Only software you own or are authorised to submit. No code or credential values in the free counts-only result.