{"id":130135,"name":"sanitize_html","ecosystem":"pub","description":"Function for sanitizing HTML to prevent XSS by restrict elements and attributes to a safe subset of allowed values.","homepage":"https://github.com/google/dart-neats/tree/master/sanitize_html","licenses":"apache-2.0","normalized_licenses":["Apache-2.0"],"repository_url":"https://github.com/google/dart-neats","keywords_array":[],"namespace":null,"versions_count":8,"first_release_published_at":"2019-04-02T21:36:27.443Z","latest_release_published_at":"2023-09-28T12:06:41.334Z","latest_release_number":"2.1.0","last_synced_at":"2026-04-23T14:37:27.885Z","created_at":"2022-04-05T14:29:06.738Z","updated_at":"2026-04-23T14:37:29.175Z","registry_url":"https://pub.dev/packages/sanitize_html","install_command":"dart pub add sanitize_html","documentation_url":"https://pub.dev/documentation/sanitize_html/","metadata":{},"repo_metadata":{"id":34307517,"uuid":"177103495","full_name":"google/dart-neats","owner":"google","description":"neat dart packages.","archived":false,"fork":false,"pushed_at":"2026-04-10T10:11:33.000Z","size":2099,"stargazers_count":507,"open_issues_count":38,"forks_count":93,"subscribers_count":10,"default_branch":"master","last_synced_at":"2026-04-20T05:08:49.631Z","etag":null,"topics":["dart"],"latest_commit_sha":null,"homepage":"","language":"Dart","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/google.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"AUTHORS","dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-03-22T08:43:13.000Z","updated_at":"2026-04-10T10:10:30.000Z","dependencies_parsed_at":"2025-12-05T15:03:08.484Z","dependency_job_id":null,"html_url":"https://github.com/google/dart-neats","commit_stats":{"total_commits":199,"total_committers":26,"mean_commits":7.653846153846154,"dds":"0.42211055276381915","last_synced_commit":"716e3ebf1d228fc5cf94f0285ec2be36f05575fd"},"previous_names":[],"tags_count":115,"template":false,"template_full_name":null,"purl":"pkg:github/google/dart-neats","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fdart-neats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fdart-neats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fdart-neats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fdart-neats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/google","download_url":"https://codeload.github.com/google/dart-neats/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fdart-neats/sbom","scorecard":{"id":436727,"data":{"date":"2025-08-11","repo":{"name":"github.com/google/dart-neats","commit":"2f1ac14fd36132a4e3d34b756e843911f72cc656"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":6.7,"checks":[{"name":"Maintained","score":7,"reason":"4 commit(s) and 5 issue activity found in the last 90 days -- score normalized to 7","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":8,"reason":"Found 13/16 approved changesets -- score normalized to 8","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":"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":"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":"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: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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: topLevel permissions set to 'read-all': .github/workflows/pkg-acyclic_steps.yml:25","Info: topLevel permissions set to 'read-all': .github/workflows/pkg-canonical_json.yml:25","Info: topLevel permissions set to 'read-all': .github/workflows/pkg-chunked_stream.yml:25","Info: topLevel permissions set to 'read-all': .github/workflows/pkg-dartdoc_test.yml:25","Info: topLevel permissions set to 'read-all': .github/workflows/pkg-http_methods.yml:25","Info: topLevel permissions set to 'read-all': .github/workflows/pkg-neat_cache-override.yml:24","Info: topLevel permissions set to 'read-all': .github/workflows/pkg-neat_periodic_task.yml:25","Info: topLevel permissions set to 'read-all': .github/workflows/pkg-pem.yml:25","Info: topLevel permissions set to 'read-all': .github/workflows/pkg-retry.yml:25","Info: topLevel permissions set to 'read-all': .github/workflows/pkg-safe_url_check.yml:25","Info: topLevel permissions set to 'read-all': .github/workflows/pkg-sanitize_html.yml:25","Info: topLevel permissions set to 'read-all': .github/workflows/pkg-slugid.yml:25","Info: topLevel permissions set to 'read-all': .github/workflows/pkg-typed_sql-override.yml:25","Info: topLevel permissions set to 'read-all': .github/workflows/pkg-vendor.yml:25","Warn: no topLevel permission defined: .github/workflows/publish.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":9,"reason":"dependency not pinned by hash detected -- score normalized to 9","details":["Warn: third-party GitHubAction not pinned by hash: .github/workflows/publish.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/google/dart-neats/publish.yml/master?enable=pin","Info:  15 out of  15 GitHub-owned GitHubAction dependencies pinned","Info:  15 out of  16 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":"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":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/google/.github/SECURITY.md:1","Info: Found linked content: github.com/google/.github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/google/.github/SECURITY.md:1","Info: Found text in security policy: github.com/google/.github/SECURITY.md:1"],"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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 27 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-19T04:51:33.485Z","repository_id":34307517,"created_at":"2025-08-19T04:51:33.485Z","updated_at":"2025-08-19T04:51:33.485Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32185307,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-23T11:42:27.955Z","status":"ssl_error","status_checked_at":"2026-04-23T11:42:18.877Z","response_time":53,"last_error":"SSL_read: 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"},"tags":[]},"repo_metadata_updated_at":"2026-04-23T14:37:29.175Z","dependent_packages_count":3,"downloads":null,"downloads_period":null,"dependent_repos_count":1937,"rankings":{"downloads":null,"dependent_repos_count":0.6099605936111344,"dependent_packages_count":7.021040045310565,"stargazers_count":2.689276431625723,"forks_count":3.2636035884966885,"docker_downloads_count":0.6581705374360695,"average":2.848410239296036},"purl":"pkg:pub/sanitize_html","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/pub/sanitize_html","docker_dependents_count":1,"docker_downloads_count":34,"usage_url":"https://repos.ecosyste.ms/usage/pub/sanitize_html","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/pub/sanitize_html/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2026-03-02T13:18:27.077Z","issues_count":61,"pull_requests_count":177,"avg_time_to_close_issue":13241286.378378378,"avg_time_to_close_pull_request":2080533.1073825504,"issues_closed_count":37,"pull_requests_closed_count":149,"pull_request_authors_count":33,"issue_authors_count":44,"avg_comments_per_issue":2.3442622950819674,"avg_comments_per_pull_request":0.5932203389830508,"merged_pull_requests_count":113,"bot_issues_count":0,"bot_pull_requests_count":26,"past_year_issues_count":8,"past_year_pull_requests_count":41,"past_year_avg_time_to_close_issue":238764.0,"past_year_avg_time_to_close_pull_request":979195.1935483871,"past_year_issues_closed_count":1,"past_year_pull_requests_closed_count":31,"past_year_pull_request_authors_count":6,"past_year_issue_authors_count":6,"past_year_avg_comments_per_issue":0.25,"past_year_avg_comments_per_pull_request":0.4146341463414634,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":3,"past_year_merged_pull_requests_count":29,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fdart-neats/issues","maintainers":[{"login":"jonasfj","count":65,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/jonasfj"},{"login":"isoos","count":16,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/isoos"},{"login":"kevmoo","count":12,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/kevmoo"},{"login":"sigurdm","count":11,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/sigurdm"},{"login":"szakarias","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/szakarias"},{"login":"domesticmouse","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/domesticmouse"},{"login":"natebosch","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/natebosch"}],"active_maintainers":[{"login":"jonasfj","count":30,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/jonasfj"},{"login":"isoos","count":6,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/isoos"}]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/pub.dev/packages/sanitize_html/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/pub.dev/packages/sanitize_html/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/pub.dev/packages/sanitize_html/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/pub.dev/packages/sanitize_html/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/pub.dev/packages/sanitize_html/codemeta","maintainers":[]}