{"id":887088,"name":"@darkobits/mask-string","ecosystem":"npm","description":"Mask tokens in a string.","homepage":"https://github.com/darkobits/mask-string#readme","licenses":"Hippocratic","normalized_licenses":["Hippocratic-2.1"],"repository_url":"https://github.com/darkobits/mask-string","keywords_array":["string","mask","pattern","regex","secret","secrets","password","passwords"],"namespace":"darkobits","versions_count":7,"first_release_published_at":"2019-07-15T02:03:37.763Z","latest_release_published_at":"2024-11-27T09:01:48.034Z","latest_release_number":"3.0.0","last_synced_at":"2026-05-21T10:03:56.432Z","created_at":"2022-04-07T16:09:28.634Z","updated_at":"2026-05-21T10:03:56.433Z","registry_url":"https://www.npmjs.com/package/@darkobits/mask-string","install_command":"npm install @darkobits/mask-string","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"3.0.0"}},"repo_metadata":{"id":38435283,"uuid":"196903539","full_name":"darkobits/mask-string","owner":"darkobits","description":"⚙️ Mask tokens in a string.","archived":false,"fork":false,"pushed_at":"2025-01-13T06:13:17.000Z","size":3756,"stargazers_count":1,"open_issues_count":7,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-26T19:32:43.874Z","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":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/darkobits.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2019-07-15T01:38:35.000Z","updated_at":"2024-11-27T09:01:45.000Z","dependencies_parsed_at":"2025-01-16T15:21:44.397Z","dependency_job_id":"41092421-b961-4bee-8aeb-e86696e2e7ec","html_url":"https://github.com/darkobits/mask-string","commit_stats":{"total_commits":26,"total_committers":4,"mean_commits":6.5,"dds":"0.46153846153846156","last_synced_commit":"55eb3540b7df8f73c24d49b869694a4538487d57"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/darkobits/mask-string","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkobits%2Fmask-string","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkobits%2Fmask-string/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkobits%2Fmask-string/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkobits%2Fmask-string/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/darkobits","download_url":"https://codeload.github.com/darkobits/mask-string/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkobits%2Fmask-string/sbom","scorecard":{"id":322803,"data":{"date":"2025-08-11","repo":{"name":"github.com/darkobits/mask-string","commit":"5a6dce3a02572b104f8c80a992afbf6542da7241"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.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":"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":0,"reason":"Found 0/25 approved changesets -- score normalized to 0","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":"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":"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":"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":"Pinned-Dependencies","score":2,"reason":"dependency not pinned by hash detected -- score normalized to 2","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/darkobits/mask-string/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/darkobits/mask-string/ci.yml/master?enable=pin","Warn: downloadThenRun not pinned by hash: .github/workflows/ci.yml:27","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   1 out of   1 npmCommand dependencies pinned","Info:   0 out of   1 downloadThenRun 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":"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":"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":-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":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"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 3 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"}},{"name":"Vulnerabilities","score":0,"reason":"17 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-xffm-g5w8-qvg7","Warn: Project is vulnerable to: GHSA-x4c5-c7rf-jjgv","Warn: Project is vulnerable to: GHSA-h5c3-5r3r-rr8q","Warn: Project is vulnerable to: GHSA-rmvr-2pp2-xj38","Warn: Project is vulnerable to: GHSA-xx4v-prfh-6cgc","Warn: Project is vulnerable to: GHSA-jr5f-v2jv-69x6","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-67mh-4wv8-2f99","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-vg6x-rcgg-rjx6","Warn: Project is vulnerable to: GHSA-x574-m823-4x7w","Warn: Project is vulnerable to: GHSA-4r4m-qw57-chr8","Warn: Project is vulnerable to: GHSA-xcj6-pq6g-qj4x","Warn: Project is vulnerable to: GHSA-356w-63v5-8wf4","Warn: Project is vulnerable to: GHSA-859w-5945-r5v3","Warn: Project is vulnerable to: GHSA-9crc-q9x8-hgqq"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-18T01:47:19.019Z","repository_id":38435283,"created_at":"2025-08-18T01:47:19.019Z","updated_at":"2025-08-18T01:47:19.019Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281332388,"owners_count":26483032,"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-27T02:00:05.855Z","response_time":61,"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"},"owner_record":{"login":"darkobits","name":"Joshua","uuid":"441546","kind":"user","description":"","email":"","website":"https://joshua.dev","location":"San Francisco, CA","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/441546?u=34e307747e28bfbdd967b22966c3bdc9525c02f9\u0026v=4","repositories_count":62,"last_synced_at":"2024-12-17T22:37:49.011Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/darkobits","funding_links":[],"total_stars":45,"followers":19,"following":2,"created_at":"2022-11-10T22:51:57.556Z","updated_at":"2024-12-17T22:37:49.011Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/darkobits","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/darkobits/repositories"},"tags":[{"name":"v3.0.0","sha":"5a6dce3a02572b104f8c80a992afbf6542da7241","kind":"tag","published_at":"2024-11-27T09:01:34.000Z","download_url":"https://codeload.github.com/darkobits/mask-string/tar.gz/v3.0.0","html_url":"https://github.com/darkobits/mask-string/releases/tag/v3.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/darkobits/mask-string@v3.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkobits%2Fmask-string/tags/v3.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkobits%2Fmask-string/tags/v3.0.0/manifests"},{"name":"v2.0.1","sha":"bc4b81e1a4bdddafaaa2452fdd5ff4d3b4b4c856","kind":"tag","published_at":"2021-05-13T00:08:26.000Z","download_url":"https://codeload.github.com/darkobits/mask-string/tar.gz/v2.0.1","html_url":"https://github.com/darkobits/mask-string/releases/tag/v2.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/darkobits/mask-string@v2.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkobits%2Fmask-string/tags/v2.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkobits%2Fmask-string/tags/v2.0.1/manifests"},{"name":"v2.0.0","sha":"88be85955239208c252d6ca0a145d48b87325b4f","kind":"tag","published_at":"2020-12-24T07:42:35.000Z","download_url":"https://codeload.github.com/darkobits/mask-string/tar.gz/v2.0.0","html_url":"https://github.com/darkobits/mask-string/releases/tag/v2.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/darkobits/mask-string@v2.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkobits%2Fmask-string/tags/v2.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkobits%2Fmask-string/tags/v2.0.0/manifests"},{"name":"v1.0.3","sha":"c172b2241aa305d25ad120b3391c2bec38b1870a","kind":"tag","published_at":"2020-12-21T04:20:43.000Z","download_url":"https://codeload.github.com/darkobits/mask-string/tar.gz/v1.0.3","html_url":"https://github.com/darkobits/mask-string/releases/tag/v1.0.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/darkobits/mask-string@v1.0.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkobits%2Fmask-string/tags/v1.0.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkobits%2Fmask-string/tags/v1.0.3/manifests"},{"name":"v1.0.2","sha":"21bc6a15c020358a670e232622c09ae0142d2ba9","kind":"tag","published_at":"2020-12-16T12:37:31.000Z","download_url":"https://codeload.github.com/darkobits/mask-string/tar.gz/v1.0.2","html_url":"https://github.com/darkobits/mask-string/releases/tag/v1.0.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/darkobits/mask-string@v1.0.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkobits%2Fmask-string/tags/v1.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkobits%2Fmask-string/tags/v1.0.2/manifests"},{"name":"v1.0.1","sha":"8c29698200380587b5e85c72cd334899c2f1c18c","kind":"tag","published_at":"2019-07-15T02:13:22.000Z","download_url":"https://codeload.github.com/darkobits/mask-string/tar.gz/v1.0.1","html_url":"https://github.com/darkobits/mask-string/releases/tag/v1.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/darkobits/mask-string@v1.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkobits%2Fmask-string/tags/v1.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkobits%2Fmask-string/tags/v1.0.1/manifests"},{"name":"v1.0.0","sha":"92d2a657ea4c3d96497414383fe4a50f31df9a70","kind":"tag","published_at":"2019-07-15T02:02:52.000Z","download_url":"https://codeload.github.com/darkobits/mask-string/tar.gz/v1.0.0","html_url":"https://github.com/darkobits/mask-string/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/darkobits/mask-string@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkobits%2Fmask-string/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkobits%2Fmask-string/tags/v1.0.0/manifests"}]},"repo_metadata_updated_at":"2025-10-27T22:26:00.791Z","dependent_packages_count":3,"downloads":2618,"downloads_period":"last-month","dependent_repos_count":58,"rankings":{"downloads":3.6404783191774697,"dependent_repos_count":1.7862514851093974,"dependent_packages_count":5.93829081282047,"stargazers_count":16.816065351423916,"forks_count":15.49480206590964,"docker_downloads_count":null,"average":8.735177606888179},"purl":"pkg:npm/%40darkobits/mask-string","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@darkobits/mask-string","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/@darkobits/mask-string","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@darkobits/mask-string/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-31T10:40:03.778Z","issues_count":0,"pull_requests_count":102,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":3032278.659574468,"issues_closed_count":0,"pull_requests_closed_count":94,"pull_request_authors_count":3,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":0.9019607843137255,"merged_pull_requests_count":3,"bot_issues_count":0,"bot_pull_requests_count":102,"past_year_issues_count":0,"past_year_pull_requests_count":2,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":0.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":2,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkobits%2Fmask-string/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@darkobits%2Fmask-string/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@darkobits%2Fmask-string/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@darkobits%2Fmask-string/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@darkobits%2Fmask-string/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@darkobits%2Fmask-string/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@darkobits%2Fmask-string/codemeta","maintainers":[{"uuid":"darkobits","login":"darkobits","name":null,"email":"joshua@frontlawn.net","url":null,"packages_count":57,"html_url":"https://www.npmjs.com/~darkobits","role":null,"created_at":"2022-11-16T13:25:26.698Z","updated_at":"2022-11-16T13:25:26.698Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/darkobits/packages"}]}