{"id":34117172,"url":"https://github.com/jeromer/mumbojumbo","last_synced_at":"2026-03-12T06:02:01.595Z","repository":{"id":38434703,"uuid":"166374347","full_name":"jeromer/mumbojumbo","owner":"jeromer","description":"Obfuscates golang strings","archived":false,"fork":false,"pushed_at":"2022-12-03T15:47:59.000Z","size":7,"stargazers_count":61,"open_issues_count":1,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-14T05:04:00.307Z","etag":null,"topics":["golang","obfuscation","security"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jeromer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-18T08:52:42.000Z","updated_at":"2025-06-23T22:05:34.000Z","dependencies_parsed_at":"2022-07-29T22:09:52.407Z","dependency_job_id":null,"html_url":"https://github.com/jeromer/mumbojumbo","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/jeromer/mumbojumbo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeromer%2Fmumbojumbo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeromer%2Fmumbojumbo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeromer%2Fmumbojumbo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeromer%2Fmumbojumbo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeromer","download_url":"https://codeload.github.com/jeromer/mumbojumbo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeromer%2Fmumbojumbo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30416736,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T04:41:02.746Z","status":"ssl_error","status_checked_at":"2026-03-12T04:40:12.571Z","response_time":114,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["golang","obfuscation","security"],"created_at":"2025-12-14T20:27:35.077Z","updated_at":"2026-03-12T06:02:01.582Z","avatar_url":"https://github.com/jeromer.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mumbo jumbo\n\nA small tool to obfuscate strings in your Go code\n\n## Description\n\nWhen you want to store specific strings in your go code they are automatically\nsearchable in the go binary.\n\nFor example take the following code (`x.go`):\n\n```go\n    package main\n\n    import (\n        \"fmt\"\n    )\n\n    const (\n        C = \"hello\"\n    )\n\n    func main() {\n        fmt.Println(C)\n    }\n```\n\nNow run `go build ./x.go` to build it and the run `strings ./x | grep hello`.\n\nSurprise ! `hello` is visible to anyone who has access the go binary.\n\n[mumbojumbo](https://github.com/jeromer/mumbojumbo) tries to mitigate this\nproblem by obfuscating the string so it is no longer searchable with\n[strings](https://linux.die.net/man/1/strings).\n\n\n## Getting Started\n\nYou can install mumbojumbo by running:\n\n    go get github.com/jeromer/mumbojumbo/...\n\n## Usage\n\nOnce [mumbojumbo](https://github.com/jeromer/mumbojumbo) is installed just run:\n\n    mumbojumbo -s=foo -p=bar\n\nwhere `foo` is the string you want to obfuscate and `bar` is the name of the go\npackage which will be generated.\n\nFor example, imagine I want to obfuscate the string `some secret` in pkg\n`foo`:\n\n    mumbojumbo -s=\"some secret\" -p=foo | goimports \u003e foo.go\n\nThe following code will be generated:\n\n```go\n// CODE GENERATED BY mumbojumbo 1.0 (https://github.com/jeromer/mumbojumbo) DO NOT EDIT !!!!\n\npackage foo\n\nimport (\n\t\"unsafe\"\n)\n\nconst (\n\tEAX = uint8(unsafe.Sizeof(true))\n)\n\nfunc Get() string {\n\treturn string(\n\t\t[]byte{\n\t\t\t((((EAX\u003c\u003cEAX|EAX)\u003c\u003cEAX|EAX)\u003c\u003cEAX\u003c\u003cEAX\u003c\u003cEAX|EAX)\u003c\u003cEAX ^ EAX),\n\t\t\t(((((EAX\u003c\u003cEAX|EAX)\u003c\u003cEAX\u003c\u003cEAX|EAX)\u003c\u003cEAX|EAX)\u003c\u003cEAX^EAX)\u003c\u003cEAX | EAX),\n\t\t\t((((EAX\u003c\u003cEAX|EAX)\u003c\u003cEAX\u003c\u003cEAX|EAX)\u003c\u003cEAX|EAX)\u003c\u003cEAX\u003c\u003cEAX ^ EAX),\n\t\t\t(((EAX\u003c\u003cEAX|EAX)\u003c\u003cEAX\u003c\u003cEAX\u003c\u003cEAX|EAX)\u003c\u003cEAX\u003c\u003cEAX | EAX),\n\t\t\tEAX \u003c\u003c EAX \u003c\u003c EAX \u003c\u003c EAX \u003c\u003c EAX \u003c\u003c EAX,\n\t\t\t((((EAX\u003c\u003cEAX|EAX)\u003c\u003cEAX|EAX)\u003c\u003cEAX\u003c\u003cEAX\u003c\u003cEAX|EAX)\u003c\u003cEAX ^ EAX),\n\t\t\t(((EAX\u003c\u003cEAX|EAX)\u003c\u003cEAX\u003c\u003cEAX\u003c\u003cEAX|EAX)\u003c\u003cEAX\u003c\u003cEAX | EAX),\n\t\t\t(((EAX\u003c\u003cEAX|EAX)\u003c\u003cEAX\u003c\u003cEAX\u003c\u003cEAX\u003c\u003cEAX|EAX)\u003c\u003cEAX | EAX),\n\t\t\t(((EAX\u003c\u003cEAX|EAX)\u003c\u003cEAX|EAX)\u003c\u003cEAX\u003c\u003cEAX\u003c\u003cEAX | EAX) \u003c\u003c EAX,\n\t\t\t(((EAX\u003c\u003cEAX|EAX)\u003c\u003cEAX\u003c\u003cEAX\u003c\u003cEAX|EAX)\u003c\u003cEAX\u003c\u003cEAX | EAX),\n\t\t\t(((EAX\u003c\u003cEAX|EAX)\u003c\u003cEAX|EAX)\u003c\u003cEAX\u003c\u003cEAX | EAX) \u003c\u003c EAX \u003c\u003c EAX,\n\t\t},\n\t)\n}\n\n```\n\nNow import `foo.go` in your project and call `fmt.Println(foo.Get())` you should\nsee \"some secret\"\n\nRun `mumbojumbo --help` to get help\n\n## License\n\nThis project is licensed under the BSD 3-Clause License - see the [LICENSE](LICENSE) file for details\n\n## Acknowledgments\n\n* Thanks [GH0st3rs](https://github.com/GH0st3rs) for the [obfuscation code](https://github.com/GH0st3rs/obfus/blob/master/obfus.go)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeromer%2Fmumbojumbo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeromer%2Fmumbojumbo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeromer%2Fmumbojumbo/lists"}