Skip to content

GoldnRam/ast-mutator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go AST Mutator

A compiler middleware that modifies Go source code at the Abstract Syntax Tree (AST) level to defeat static analysis and signature-based detection.

Project Status: core engine done

Current Capabilities:

  1. Junk Code Injection: Inserts randomized arithmetic operations (_ = x + y) into the main function to alter byte offsets and file hash.
  2. Literal Obfuscation: Automatically detects string literals, XOR-encrypts them at build time, and replaces them with runtime decryption calls.
  3. Universal Traversal: Uses astutil.Cursor to target strings in any context (Variable assignments, Return statements, Function arguments).

About

experimenting with mutating go code. studying AST

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages