Hacker News new | ask | show | jobs
Show HN: HimitsuShell – DRM for Shell Scripts with Obfuscation (github.com)
2 points by mushstory 9 days ago
I built this because of the problem of source code being fully exposed when deploying shell scripts to client companies.

Existing tools like shc (a shell script compiler) wrap shell scripts in C code and convert them into binaries. Because of this, using kernel-level monitoring tools like auditd or bpftrace can easily expose the source code.

HimitsuShell embeds its own shell interpreter directly into the binary. It doesn't depend on the OS's /bin/sh or /bin/bash, so the source code isn't exposed as-is through kernel-level monitoring tools. It also applies obfuscation and anti-debugging techniques to raise the difficulty of reverse engineering.

It's up on GitHub, and you can also try it live at himitsushell.com I hope this helps other developers who are dealing with similar problems.