{"id":902119,"name":"@distalog/cookie-css","ecosystem":"npm","description":"Cookie CSS Handler: inject CSS from cookies.","homepage":"https://github.com/distalog/cookie-css#readme","licenses":"BSD-3-Clause","normalized_licenses":["BSD-3-Clause"],"repository_url":"https://github.com/distalog/cookie-css","keywords_array":["cookie","CSS","hapi","hapijs","consent","GDPR"],"namespace":"distalog","versions_count":3,"first_release_published_at":"2020-03-30T13:57:24.369Z","latest_release_published_at":"2020-04-08T21:12:30.058Z","latest_release_number":"1.0.3","last_synced_at":"2026-05-15T22:46:59.738Z","created_at":"2022-04-07T16:29:44.318Z","updated_at":"2026-05-15T22:46:59.738Z","registry_url":"https://www.npmjs.com/package/@distalog/cookie-css","install_command":"npm install @distalog/cookie-css","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"1.0.3"}},"repo_metadata":{"id":42892107,"uuid":"250356354","full_name":"distalog/cookie-css","owner":"distalog","description":"hapi handler to allow injecting CSS from cookies.  Use it to create an endpoint that will serve CSS generated from the cookies it receive.  Combined with cookie-param-handler it allows e.g. to easily display dismissable consent forms on top of existing static contents with minimum effort.  Useful for consent screens that have to work whether or not Javascript is available and enabled on the client. ","archived":false,"fork":false,"pushed_at":"2022-03-26T11:46:39.000Z","size":204,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-22T09:58:24.653Z","etag":null,"topics":["a11y","consent","consent-screens","cookie","cookie-css","cookies","css","eu","gdpr","handler","hapi","hapijs","javascript","javascript-library","minimum-efforts","noscript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/distalog.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":"2020-03-26T19:46:30.000Z","updated_at":"2020-04-20T16:11:42.000Z","dependencies_parsed_at":"2022-08-20T17:41:00.373Z","dependency_job_id":null,"html_url":"https://github.com/distalog/cookie-css","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/distalog/cookie-css","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/distalog%2Fcookie-css","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/distalog%2Fcookie-css/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/distalog%2Fcookie-css/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/distalog%2Fcookie-css/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/distalog","download_url":"https://codeload.github.com/distalog/cookie-css/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/distalog%2Fcookie-css/sbom","scorecard":{"id":344883,"data":{"date":"2025-08-11","repo":{"name":"github.com/distalog/cookie-css","commit":"11bf842dba8762703afedbee96c74cdb0b2cf943"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.7,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/21 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":"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":"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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/npmpublish.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":"Pinned-Dependencies","score":3,"reason":"dependency not pinned by hash detected -- score normalized to 3","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npmpublish.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/distalog/cookie-css/npmpublish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npmpublish.yml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/distalog/cookie-css/npmpublish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npmpublish.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/distalog/cookie-css/npmpublish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npmpublish.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/distalog/cookie-css/npmpublish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npmpublish.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/distalog/cookie-css/npmpublish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/npmpublish.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/distalog/cookie-css/npmpublish.yml/master?enable=pin","Info:   0 out of   6 GitHub-owned GitHubAction dependencies pinned","Info:   3 out of   3 npmCommand 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":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: BSD 3-Clause \"New\" or \"Revised\" License: 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":"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":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":"Vulnerabilities","score":0,"reason":"20 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-ww39-953v-wcq6","Warn: Project is vulnerable to: GHSA-765h-qjxv-5f44","Warn: Project is vulnerable to: GHSA-f2jv-r9rf-7988","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7"],"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-18T06:49:09.982Z","repository_id":42892107,"created_at":"2025-08-18T06:49:09.982Z","updated_at":"2025-08-18T06:49:09.982Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281761829,"owners_count":26557114,"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-30T02:00:06.501Z","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"},"tags":[{"name":"1.0.3","sha":"5c525d0efbaef26ef97cb8df3c946583776d1a19","kind":"commit","published_at":"2020-04-08T21:10:44.000Z","download_url":"https://codeload.github.com/distalog/cookie-css/tar.gz/1.0.3","html_url":"https://github.com/distalog/cookie-css/releases/tag/1.0.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/distalog/cookie-css@1.0.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/distalog%2Fcookie-css/tags/1.0.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/distalog%2Fcookie-css/tags/1.0.3/manifests"},{"name":"1.0.2","sha":"baef0f3f381ee88f01fa3460df044cab3f96bb6f","kind":"commit","published_at":"2020-04-08T20:32:23.000Z","download_url":"https://codeload.github.com/distalog/cookie-css/tar.gz/1.0.2","html_url":"https://github.com/distalog/cookie-css/releases/tag/1.0.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/distalog/cookie-css@1.0.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/distalog%2Fcookie-css/tags/1.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/distalog%2Fcookie-css/tags/1.0.2/manifests"},{"name":"1.0.1","sha":"6673d873ee13f0f2a3331262d46e470261854f2b","kind":"commit","published_at":"2020-03-30T14:07:09.000Z","download_url":"https://codeload.github.com/distalog/cookie-css/tar.gz/1.0.1","html_url":"https://github.com/distalog/cookie-css/releases/tag/1.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/distalog/cookie-css@1.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/distalog%2Fcookie-css/tags/1.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/distalog%2Fcookie-css/tags/1.0.1/manifests"}]},"repo_metadata_updated_at":"2025-12-01T03:13:07.531Z","dependent_packages_count":2,"downloads":6,"downloads_period":"last-month","dependent_repos_count":1,"rankings":{"downloads":44.32407056113644,"dependent_repos_count":10.358016171268641,"dependent_packages_count":8.869624249465728,"stargazers_count":20.979017829876927,"forks_count":15.436409539061685,"docker_downloads_count":null,"average":19.993427670161886},"purl":"pkg:npm/%40distalog/cookie-css","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@distalog/cookie-css","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/@distalog/cookie-css","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@distalog/cookie-css/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-18T16:22:30.421Z","issues_count":0,"pull_requests_count":7,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":25506305.0,"issues_closed_count":0,"pull_requests_closed_count":1,"pull_request_authors_count":1,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":0.14285714285714285,"merged_pull_requests_count":0,"bot_issues_count":0,"bot_pull_requests_count":7,"past_year_issues_count":0,"past_year_pull_requests_count":0,"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":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/distalog%2Fcookie-css/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@distalog%2Fcookie-css/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@distalog%2Fcookie-css/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@distalog%2Fcookie-css/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@distalog%2Fcookie-css/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@distalog%2Fcookie-css/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@distalog%2Fcookie-css/codemeta","maintainers":[{"uuid":"deedf","login":"deedf","name":null,"email":"didier@dfr.ch","url":null,"packages_count":5,"html_url":"https://www.npmjs.com/~deedf","role":null,"created_at":"2022-11-16T21:12:23.830Z","updated_at":"2022-11-16T21:12:23.830Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/deedf/packages"}]}