cd /news/ai-safety/cryptship-part-3-an-honest-threat-mo… · home › topics › ai-safety › article
[ARTICLE · art-170031] src=dev.to ↗ pub= topic=ai-safety verified=true sentiment=· neutral

cryptship | Part 3 — An Honest Threat Model, and the Hardening That Raises the Cost

The cryptship project released Part 3 of its writeup, laying out an honest threat model for its code-protection tool and the hardening measures it adds. The project acknowledges that root on the host can always read a running container's plaintext memory, and that only confidential computing or removing the plaintext from the host truly solves this; everything else raises the cost. Its mitigations include a pre-encryption transform step that compiles source (e.g. Python bytecode via scripts/compile-python.sh, or Nuitka) so memory dumps yield compiled artifacts rather than readable source, a tmpfs deploy path, and a licensee-tracing manifest exposing CRYPTSHIP_LICENSE_ID and CRYPTSHIP_CUSTOMER.

by read1 min views2 publishedNov 15, 2026

Every "protect your code" product has to answer one question honestly: what about root? This part is cryptship's answer.

The image on disk is ciphertext. But once your app runs, its plaintext is in the container's memory, and root on the host can read that memory. No user-space trick changes that. Only two things truly do:

Everything else in cryptship raises the cost. We would rather say that plainly than sell you a lock that is not there.

cryptship pack --transform-cmd "<your toolchain>" …

The transform runs over a copy of your app before it is encrypted. A memory dump then recovers compiled artifacts instead of readable source, which matters a lot when the attacker has AI tools that are good at reconstructing source. The repo includes a Python-bytecode recipe (scripts/compile-python.sh); swapping in Nuitka for native code is a one-line change. scripts/demo-compiled.sh shows the difference.

tmpfs`` deploy/. That stops an attacker who is inside the container or not root. It does not stop root on the host.

The writes .cryptship-manifest.json and exposes CRYPTSHIP_LICENSE_ID and CRYPTSHIP_CUSTOMER to your app. If an instance leaks, it traces back to its licensee. That is a deterrent, not a lock: a determined attacker can strip it.

docker save and tar. online provider, revocation is real and immediate. If you work on confidential computing and want to help, we would love to hear from you.

── more in #ai-safety 4 stories · sorted by recency
── more on @cryptship 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/cryptship-part-3-an-…] indexed:0 read:1min 2026-11-15 · —