Categories: Programming

Mutant: An open-source, cross-platform, encrypted programming language

Advertisements

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.

Features of Mutant

Security

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.

REPL

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

VM

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

Unicode Support

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.

Wisdom Geek

Share
Published by
Wisdom Geek

Recent Posts

How To Get The Hash of A File In Node.js

While working on a project, I wanted to do an integrity check of a file…

19 hours ago

Native popover API in HTML

Popovers have been a problem that was typically solved by using a third-party solution. But…

1 week ago

Node.js 20.6 adds built-in support for .env files

Node.js 20.6 added built-in support for the .env file. This is an excellent addition to the platform…

2 weeks ago

Object destructuring in TypeScript

Object destructuring is a powerful ES 6 feature that can help developers write cleaner code.…

4 weeks ago

Improve git clone performance in a CI pipeline

Have you felt particularly annoyed by the time it takes to clone a large repository,…

1 month ago

Fix: Hydration failed because the initial UI does not match what was rendered on the server

Within a React or Next.js app, if you encounter the error "Hydration failed because the…

1 month ago
Advertisements