Skip to content

Is it safe?

Anvil loads native plugins into EU4, so this is a fair question. This page says what runs on your computer, how you can check each file yourself, and what to do when Windows or an antivirus objects.

  • Anvil is a version.dll next to eu4.exe. Windows loads it with the game; it forwards every call to the system version.dll and loads plugins. eu4.exe and the game files are never changed, and uninstalling puts the game back at once.
  • A plugin is native code that runs inside the game with the same rights as the game, like any program you install. Anvil is not a sandbox: it does not limit what a plugin can do on your computer. Only install plugins from authors you trust.
  • Nothing runs from a mod without your approval. A plugin that comes with a mod loads only after you approve it, and the approval covers exactly those files by their SHA-256 hash. A new version waits for you. See Plugins from mods.
  • You see a plugin before it is installed. The Manager shows its name, authors, whether it changes gameplay, and whether it fits your game build.
  • The Manager’s catalog pins each file. A plugin from the Catalog page is installed only if its SHA-256 equals the one in the list, and each release in the list had its size, hash and build attestation checked when it was added.
  • Nothing happens on the network by itself. Anvil never downloads a file by itself. The Manager downloads a plugin only when you click. The Manager and the game check GitHub for a newer Anvil only if you say yes when one of them asks, and then only show a link. With the same yes, the Manager from Anvil 1.15 also reads the list of the team’s plugins from GitHub when it starts, to show which installed plugins have an update. GitHub sees your address and the Manager’s version, not which plugins you have. A benchmark report leaves your computer only when you click Send after seeing it.

You can check any Anvil or plugin file from GitHub in two ways. Neither needs our word.

1. Compare the SHA-256. It shows that you have the same file as the release. The hash is under each download button and in SHA256SUMS.txt of the release. In PowerShell:

Terminal window
Get-FileHash .\AnvilManager.exe -Algorithm SHA256

2. Verify the build attestation. It shows that GitHub Actions built this file in the project’s public repository, and from which commit. It needs the GitHub CLI:

Terminal window
gh attestation verify .\AnvilManager.exe -R happy-dwarf-team/anvil
Project -R File
Anvil happy-dwarf-team/anvil AnvilManager.exe, anvil-windows-x64.zip
Bellows happy-dwarf-team/bellows bellows-windows-x64.zip
Hamweard happy-dwarf-team/hamweard hamweard-windows-x64.zip
Mei happy-dwarf-team/mei mei-windows-x64.zip
Tongs happy-dwarf-team/tongs tongs-windows-x64.zip

A file that passes came from that repository’s release workflow, and you can read the source of that commit. It does not prove that the code is free of bugs.

A Workshop item has no attestation of its own. The release workflows of Bellows, Hamweard and Tongs upload the checked release zip to it; to check by hand, take the zip from GitHub instead.

The Chinese install page also links a copy of AnvilManager.exe and SHA256SUMS.txt at dl.happydwarf.dev, our mirror on Cloudflare for players who reach GitHub slowly. Anvil’s release workflow copies both files there from the GitHub release and checks that their SHA-256 matches, so the mirror’s file has the same hash and passes the same attestation check as the one from GitHub.

Anvil’s files are not code-signed, and this is not planned (#157). Your browser or SmartScreen may therefore warn about AnvilManager.exe the first time; see If Windows warns about the file.

Anvil is a proxy version.dll, and plugins change game code in memory. Both are patterns that antivirus heuristics can flag.

  1. Check the file first. Download it again from the release and compare the SHA-256, or verify the attestation. If it does not match, do not run it, and tell us.
  2. If it matches, it is the file we published. Restore that one file in your antivirus and allow only that file. In Microsoft Defender this is in Protection history.
  3. Report the false positive, which helps the next player. For Microsoft Defender use the WDSI submission page (it needs a Microsoft account): send the file, choose incorrectly detected as malware, and give the detection name. Other vendors have a form of their own.
  4. Tell us in an Anvil issue with the antivirus, its version and the detection name, so we can see when it happens.

Please do not open a public issue. Report it privately on the project’s Security tab; each project’s SECURITY.md says what it covers. Anvil’s is here.