Mutant is an open-source, cross-platform, compiled, garbage collected, encrypted programming language that wants to make secure programming and security research more accessible. The target audience for mutant is students, security researchers, and reverse engineers.
The aim is to provide an accessible, secure system for programming & security research. And it can be learned in under an hour.
Mutant is loosely typed and it does not require defining specific data types while creating variables. The idea is to build a “secure by default” programming language that provides both compile-time and run-time security. This is achieved by encrypting byte code both on disk and in memory.
While semi-colons are not required strictly to use the language, it is recommended that they are used in order to avoid unusual errors in code.
The language supports both compile-time and run-time security through encryption & hashing. This is achieved by encrypting generated bytecode at complete bytecode and at the instruction level. This ensures that the compiled program runs only after a certain number of checks
The language also adds a header and a footer in the generated compiled file with the bytecode to identify the file with magic strings rather than relying on file extensions. The language also verifies hashes of encrypted and decrypted code to ensure that it has not been tampered with before running it.
The language has support for a basic REPL for testing out the capabilities. It is a powered-down version of the full language and is only intended to test basic features of the language
Mutant makes use of a virtual machine, known as “Mutant Virtual Machine” or MVM. This virtual machine makes sure that your program runs in YOUR machine. It has been tested on Linux, macOS, & Windows. It should also work on Android, FreeBSD, and essentially any platform/architecture that is supported natively by the Go Programming Language.
This virtual machine is run every time it has to run compiled mu files or whenever the user decides to run their programs through REPL
The language supports emojis, glyphs, and other non-ASCII characters making it truly multi-lingual. Future versions will include support for multi-lingual syntax so that programming is not restricted to just ASCII-based written languages.
You can check out the language at https://github.com/gaurav-gogia/mutant. Feel free to drop a comment below if you have any feature requests or anything that you would like to get added to the language. Or create an issue on the GitHub repository.
I recently switched completely to the Brave browser and have set ad blocking to aggressive…
I was preparing a slide deck for a hackathon and decided to put in a…
I have been using npx a lot lately, especially whenever I want to use a…
Manually copy-pasting the output of a terminal command with a mouse/trackpad feels tedious. It is…
While working on a project, I wanted to do an integrity check of a file…
Popovers have been a problem that was typically solved by using a third-party solution. But…