{"id":32520765,"url":"https://github.com/getkey/rollup-plugin-obfuscator","last_synced_at":"2025-10-28T05:50:21.148Z","repository":{"id":46210775,"uuid":"168571293","full_name":"getkey/rollup-plugin-obfuscator","owner":"getkey","description":"The most powerful rollup plugin for javascript-obfuscator.","archived":false,"fork":false,"pushed_at":"2024-09-24T19:48:45.000Z","size":81,"stargazers_count":134,"open_issues_count":8,"forks_count":10,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-03T01:24:33.690Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/getkey.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.txt","code_of_conduct":null,"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}},"created_at":"2019-01-31T18:02:44.000Z","updated_at":"2025-08-20T15:58:33.000Z","dependencies_parsed_at":"2024-06-18T15:31:15.817Z","dependency_job_id":"251ab216-a705-4195-8633-2b83c57c818a","html_url":"https://github.com/getkey/rollup-plugin-obfuscator","commit_stats":{"total_commits":33,"total_committers":6,"mean_commits":5.5,"dds":0.5757575757575757,"last_synced_commit":"548ccec9290fa31eaff71b35c675b15a96ee32a7"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/getkey/rollup-plugin-obfuscator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getkey%2Frollup-plugin-obfuscator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getkey%2Frollup-plugin-obfuscator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getkey%2Frollup-plugin-obfuscator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getkey%2Frollup-plugin-obfuscator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/getkey","download_url":"https://codeload.github.com/getkey/rollup-plugin-obfuscator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getkey%2Frollup-plugin-obfuscator/sbom","scorecard":{"id":424280,"data":{"date":"2025-08-11","repo":{"name":"github.com/getkey/rollup-plugin-obfuscator","commit":"1865d42622604b2bb4f7d3e901423b20ee17b4c2"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.6,"checks":[{"name":"Code-Review","score":2,"reason":"Found 3/15 approved changesets -- score normalized to 2","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":-1,"reason":"No tokens found","details":null,"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":"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":-1,"reason":"no workflows found","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":"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":-1,"reason":"no dependencies found","details":null,"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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: license.txt:0","Info: FSF or OSI recognized license: Mozilla Public License 2.0: license.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"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":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 18 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-19T01:55:43.799Z","repository_id":46210775,"created_at":"2025-08-19T01:55:43.799Z","updated_at":"2025-08-19T01:55:43.799Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281391766,"owners_count":26492903,"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-10-28T02:00:06.022Z","response_time":60,"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":[],"created_at":"2025-10-28T05:50:17.669Z","updated_at":"2025-10-28T05:50:21.139Z","avatar_url":"https://github.com/getkey.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rollup-plugin-obfuscator\n\n[![npm](https://img.shields.io/npm/v/rollup-plugin-obfuscator)](https://www.npmjs.com/package/rollup-plugin-obfuscator)\n\nThe most powerful rollup plugin for [javascript-obfuscator](https://github.com/javascript-obfuscator/javascript-obfuscator).\n\n```sh\nyarn add --dev rollup-plugin-obfuscator javascript-obfuscator\n```\n\nor\n\n```sh\nnpm install --save-dev rollup-plugin-obfuscator javascript-obfuscator\n```\n\n## Features\n\n1. javascript-obfuscator is installed separately from the rollup plugin, so it will always be updatable (unlike the official rollup plugin which has been outdated for years!)\n2. You can decide if you prefer to apply obfuscation:\n\t- the traditional way, to the whole bundle\n\t- to each file separately, avoiding obfuscating your open-source dependencies, which results in a **huge performance boost**\n\n## Usage\n\n```js\nimport obfuscator from 'rollup-plugin-obfuscator';\n\nexport default {\n\tinput: 'src/main.js',\n\tplugins: [\n\t\tobfuscator({\n\t\t\toptions: {\n\t\t\t\t// Your javascript-obfuscator options here\n\t\t\t\t// See what's allowed: https://github.com/javascript-obfuscator/javascript-obfuscator\n\t\t\t},\n\t\t}),\n\t]\n}\n```\n\n## Options\n\n### `global`\n\nType: `boolean`\u003cbr/\u003e\nDefault: `false`\n\nSet to `true` if you want to obfuscate the whole bundle, `false` to obfuscate each file separately.\n\n### `options`\n\nType: `Object`\u003cbr/\u003e\nDefault: `{}`\n\nOptions that will be passed to javascript-obfuscator.\nSee allowed options [here](https://github.com/javascript-obfuscator/javascript-obfuscator).\n\n### `include`\n\nType: `String | RegExp | Array[...String|RegExp]`\u003cbr/\u003e\nDefault: `['**/*.js', '**/*.ts']`\n\nWhich files to obfuscate. This parameter is ignored when `global` is `true`.\n\n### `exclude`\n\nType: `String | RegExp | Array[...String|RegExp]`\u003cbr/\u003e\nDefault: `['node_modules/**']`\n\nWhich files not to obfuscate. This parameter is ignored when `global` is `true`.\n\n### `obfuscator`\n\nType: `JavascriptObfuscator`\u003cbr/\u003e\nDefault: `require('javascript-obfuscator')`\n\nThis plugin uses the version of `javascript-obfuscator` you installed alongside with it, but you are free to override it (for example, if you want to use a fork).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetkey%2Frollup-plugin-obfuscator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgetkey%2Frollup-plugin-obfuscator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetkey%2Frollup-plugin-obfuscator/lists"}