{"id":22381966,"url":"https://github.com/googleinterns/ghidra-nsis-extension","last_synced_at":"2025-08-28T23:49:18.000Z","repository":{"id":42656693,"uuid":"263211920","full_name":"googleinterns/ghidra-nsis-extension","owner":"googleinterns","description":"Ghidra extension to disassemble NSIS installers","archived":false,"fork":false,"pushed_at":"2024-09-03T21:02:31.000Z","size":470,"stargazers_count":24,"open_issues_count":4,"forks_count":9,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-07-31T03:39:10.905Z","etag":null,"topics":["ghidra","nsis","nullsoft"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/googleinterns.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/contributing.md","funding":null,"license":"LICENSE","code_of_conduct":"docs/code-of-conduct.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-05-12T02:29:31.000Z","updated_at":"2024-12-04T17:52:07.000Z","dependencies_parsed_at":"2024-12-05T00:11:20.621Z","dependency_job_id":"6dc10d25-5a01-49e6-8bec-87c0bf86b8a1","html_url":"https://github.com/googleinterns/ghidra-nsis-extension","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/googleinterns/ghidra-nsis-extension","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googleinterns%2Fghidra-nsis-extension","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googleinterns%2Fghidra-nsis-extension/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googleinterns%2Fghidra-nsis-extension/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googleinterns%2Fghidra-nsis-extension/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/googleinterns","download_url":"https://codeload.github.com/googleinterns/ghidra-nsis-extension/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/googleinterns%2Fghidra-nsis-extension/sbom","scorecard":{"id":440521,"data":{"date":"2025-08-11","repo":{"name":"github.com/googleinterns/ghidra-nsis-extension","commit":"a9a38ce9204712b0f53911628a1adc47c10a2e5e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.9,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":5,"reason":"Found 16/30 approved changesets -- score normalized to 5","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/googleinterns/ghidra-nsis-extension/build.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/googleinterns/ghidra-nsis-extension/build.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/googleinterns/ghidra-nsis-extension/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/googleinterns/ghidra-nsis-extension/build.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/googleinterns/ghidra-nsis-extension/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/googleinterns/ghidra-nsis-extension/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:58: update your workflow using https://app.stepsecurity.io/secureworkflow/googleinterns/ghidra-nsis-extension/build.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/build.yml:62: update your workflow using https://app.stepsecurity.io/secureworkflow/googleinterns/ghidra-nsis-extension/build.yml/master?enable=pin","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   4 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v.0.9.9 not signed: https://api.github.com/repos/googleinterns/ghidra-nsis-extension/releases/139184257","Warn: release artifact v0.9.8 not signed: https://api.github.com/repos/googleinterns/ghidra-nsis-extension/releases/63064002","Warn: release artifact v0.9.7 not signed: https://api.github.com/repos/googleinterns/ghidra-nsis-extension/releases/55230269","Warn: release artifact v.0.9.6 not signed: https://api.github.com/repos/googleinterns/ghidra-nsis-extension/releases/53267370","Warn: release artifact v.0.9.5 not signed: https://api.github.com/repos/googleinterns/ghidra-nsis-extension/releases/42167093","Warn: release artifact v.0.9.9 does not have provenance: https://api.github.com/repos/googleinterns/ghidra-nsis-extension/releases/139184257","Warn: release artifact v0.9.8 does not have provenance: https://api.github.com/repos/googleinterns/ghidra-nsis-extension/releases/63064002","Warn: release artifact v0.9.7 does not have provenance: https://api.github.com/repos/googleinterns/ghidra-nsis-extension/releases/55230269","Warn: release artifact v.0.9.6 does not have provenance: https://api.github.com/repos/googleinterns/ghidra-nsis-extension/releases/53267370","Warn: release artifact v.0.9.5 does not have provenance: https://api.github.com/repos/googleinterns/ghidra-nsis-extension/releases/42167093"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-19T05:29:25.789Z","repository_id":42656693,"created_at":"2025-08-19T05:29:25.789Z","updated_at":"2025-08-19T05:29:25.789Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272582511,"owners_count":24959421,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-28T02:00:10.768Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["ghidra","nsis","nullsoft"],"created_at":"2024-12-05T00:11:17.326Z","updated_at":"2025-08-28T23:49:17.960Z","avatar_url":"https://github.com/googleinterns.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"**This is not an officially supported Google product.**\n\n![Ghidra NSIS Extension Build](../../workflows/Ghidra%20NSIS%20Extension%20Build/badge.svg)\n\nThis extension supports Nullsoft Scriptable Install System (NSIS) binaries built using the NSIS builder available from https://nsis.sourceforge.io/\n\n# Installing the extension\n\n* Download the built extension from GitHub\n  * Visit the [Releases](../../releases) page, normally use the latest release\n  * Download the built extension zip file, the name will be similar to:\n    `ghidra_11.0_PUBLIC_YYYYMMDD_nsis.zip`\n* If you don't already have Ghdira, download and install Ghidra from\n  https://ghidra-sre.org/\n* Install the extension into Ghidra\n  * Start Ghidra\n  * Open `File-\u003eInstall Extensions...`\n  * Press the `+` icon found in the top right of the `Install Extensions` window\n  * Navigate to the file location where you downloaded the extension zip file\n    above and select it\n  * Press `OK`\n  * You will be prompted to restart Ghidra for the changes to take effect\n\n# Loading Extension into Eclipse for Development\n* Install Java\n  * Tested verison: `jdk-18.0.2`\n* Install eclipse from [eclipse.org](https://www.eclipse.org/downloads/)\n  * Tested version: `2020-12`\n* Install Ghidra\n  * Tested version: `ghidra_11.0_PUBLIC`\n  * Ghidra must be started atleast once.\n* Install Ghidra Eclipse extension, follow instructions [here](https://ghidra-sre.org/InstallationGuide.html#Extensions)\n* Checkout git project `ghidra-nsis-extension` to local directory\n* In eclipse's `File` menu, select `New-\u003eJava Project`\n* Un-select `Use default location` and navigate to the `nsis` folder in the git\n  checkout location\n  * `ghidra-nsis-extension/nsis`\n* Press `Next`\n* Un-select `Create module-info.java file`\n* Press `Finish`\n  * There will be build errors\n* In the `GhidraDev` menu of Eclipse, use the `Link Ghidra...` and enter the path to the Ghidra binary install location\n  * Select the Java project `nsis` just created\n  * If there is Java conflict probably best to keep the current Java by pressing\n    `Cancel`\n  * Build errors should be resolved\n* Add the nsis/src/nsis/lib/xz.jar file to the build path in Eclipse to import those dependencies\n* You can test that everything is working in your project by selecting the `Run`menu, then `Run As` and `Ghidra`.\n* A new instance of Ghidra should be loaded, if you import an NSIS executable file, should see the 'Nsis' Format suggestion in the first entry of the import dialog.\n\n# Updating The Disassembler Specification\n\n* If a change is made to Nsis.slaspec, it needs to be reprocessed by the sleight utility. Example command: `\u003cghidra installer folder\u003e/support/sleigh data/languages/Nsis.slaspec`\n\n# Build extension from the command line\n\n* Install [gradle](https://gradle.org/)\n  * Tested version: `7.3`\n* Execute the command from nsis folder\n```\n$ gradle -PGHIDRA_INSTALL_DIR=\u003cpath_to_ghidra\u003e\n```\n* Zip file will be created in the `dist` folder\n\n# Resources\n\n## Ghidra\n* https://ghidra.re/courses/languages/html/sleigh.html\n* https://www.reddit.com/r/ReverseEngineering/comments/bupmxu/implementing_a_new_cpu_architecture_for_ghidra/\n* https://github.com/VGKintsugi/Ghidra-SegaSaturn-Processor\n* https://www.reddit.com/r/ghidra/comments/bhhrt0/quick_guide_to_creating_a_processor_in_ghidra/\n* https://wrongbaud.github.io/writing-a-ghidra-loader/\n\n## NSIS\n* NSIS home: https://nsis.sourceforge.io/\n* Data structures for NSIS file format: https://sourceforge.net/p/nsis/code/HEAD/tree/NSIS/trunk/Source/exehead/fileform.h\n* IDA plugin for NSIS files: https://github.com/isra17/nrs\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoogleinterns%2Fghidra-nsis-extension","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoogleinterns%2Fghidra-nsis-extension","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoogleinterns%2Fghidra-nsis-extension/lists"}