{"id":43846558,"url":"https://github.com/freerware/obscurer","last_synced_at":"2026-02-06T06:04:56.168Z","repository":{"id":51396851,"uuid":"344032222","full_name":"freerware/obscurer","owner":"freerware","description":"A compact library for equipping HTTP APIs with URL obscuring capabilities.","archived":false,"fork":false,"pushed_at":"2021-05-12T05:24:43.000Z","size":33,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-06-21T10:59:11.449Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/freerware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-03-03T06:59:10.000Z","updated_at":"2021-05-12T05:24:46.000Z","dependencies_parsed_at":"2022-09-17T14:30:49.800Z","dependency_job_id":null,"html_url":"https://github.com/freerware/obscurer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/freerware/obscurer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freerware%2Fobscurer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freerware%2Fobscurer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freerware%2Fobscurer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freerware%2Fobscurer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/freerware","download_url":"https://codeload.github.com/freerware/obscurer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freerware%2Fobscurer/sbom","scorecard":{"id":410907,"data":{"date":"2025-08-11","repo":{"name":"github.com/freerware/obscurer","commit":"079b0d0d44d41b833b638e384a9ee9da11d15792"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"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":"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":"Code-Review","score":0,"reason":"Found 0/8 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":"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":"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":-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":"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":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt: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":"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":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 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":7,"reason":"3 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2021-0052 / GHSA-h395-qcrw-5vmq","Warn: Project is vulnerable to: GHSA-3vp4-m3rf-835h","Warn: Project is vulnerable to: GO-2023-1737 / GHSA-2c4m-59x9-fr2g"],"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-18T22:41:03.353Z","repository_id":51396851,"created_at":"2025-08-18T22:41:03.353Z","updated_at":"2025-08-18T22:41:03.353Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29153166,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-06T02:39:25.012Z","status":"ssl_error","status_checked_at":"2026-02-06T02:37:22.784Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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"}},"keywords":[],"created_at":"2026-02-06T06:04:54.996Z","updated_at":"2026-02-06T06:04:56.163Z","avatar_url":"https://github.com/freerware.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# obscurer\nA compact library for equipping HTTP APIs with URL obscuring capabilities.\n\n[![GoDoc][doc-img]][doc]\n[![Build Status][ci-img]][ci]\n[![Coverage Status][coverage-img]][coverage]\n[![License][license-img]][license]\n\n## What is it?\n\n`obscurer` gives your HTTP API the ability to utilize obscure URLs, which\nprovides additional abstraction that is beneficial when implementing\nlevel 3 RESTful APIs.\n\n### What are obscure URLs?\n\nTypically when creating a RESTful API using HTTP, the API defines URLs that\nprovide a predictable structure. For example, an API with a `product` resource\nmight have `/api/products/1/` URL path, where `1` is the ID of the product\nbeing interacted with.\n\nWhen creating [level 3][level-3-apis] hypermedia APIs, the API is responsible\nfor defining and managing the state of an application through links. As such,\nany time a consumer is able to bypass this responsibility by issuing a\nrequest to a URL that it wasn't given in the response of a previous request,\nit actually undermines what a hypermedia API represents.\n\nTo prevent URLs from being \"hackable\" (or guessable), we obscure them. A\ncommon method involves taking the normal URL path and running it through\na simple hashing algorithm, such as [MD5][md5]. These obscured URLs are then\nreturned to consumers in response representations, that they then use to issue\nadditional downstream requests.\n\n## Why use it?\n\n- can be extended to support any store of your choice (Redis, MySQL, etc.).\n- immediately compatible with any request multiplexer.\n- increased privacy of API interfaces.\n- reduced \"hackability\" of API interfaces, promoting loose coupling.\n- side-by-side support for unobscured and obscured URLs.\n- automatically discards obscured URLs resulting in HTTP 404.\n\n## How do I use it?\n\n### Quickstart\n\n```go\n// create your mux.\nmux := http.NewServeMux()\nmux.HandleFunc(\"/this/is/the/way\", func(w http.ResponseWriter, r *http.Request) {\n\tfmt.Println(\"i'm mando!\")\n})\n\n// choose your store. 🎉\nstore := obscurer.DefaultStore\n\n// choose your obscurer. 🎉\nobscurer := obscurer.Default\n\n// add obscured URL support. 🎉\nhandler := obscurer.NewHandler(obscurer, store, mux)\n\n// create your server.\nserver := \u0026http.Server{\n\tAddr: \":8080\",\n\tHandler: handler, // 🎉\n}\n\n// start your server!\nlog.Fatal(server.ListenAndServe())\n```\n## Contribute\n\nWant to lend us a hand? Check out our guidelines for\n[contributing][contributing].\n\n## License\n\nWe are rocking an [Apache 2.0 license][apache-license] for this project.\n\n## Code of Conduct\n\nPlease check out our [code of conduct][code-of-conduct] to get up to speed\nhow we do things.\n\n[level-3-apis]: https://www.crummy.com/writing/speaking/2008-QCon/act3.html\n[md5]: https://en.wikipedia.org/wiki/MD5\n[contributing]: https://github.com/freerware/obscurer/blob/main/CONTRIBUTING.md\n[apache-license]: https://github.com/freerware/obscurer/blob/main/LICENSE.txt\n[code-of-conduct]: https://github.com/freerware/obscurer/blob/main/CODE_OF_CONDUCT.md\n[doc-img]: https://pkg.go.dev/badge/github.com/freerware/obscurer.svg\n[doc]: https://pkg.go.dev/github.com/freerware/obscurer\n[ci-img]: https://travis-ci.org/freerware/obscurer.svg?branch=main\n[ci]: https://travis-ci.org/freerware/obscurer\n[coverage-img]: https://codecov.io/gh/freerware/obscurer/branch/main/graph/badge.svg?token=yukEnN2Q2R\n[coverage]: https://codecov.io/gh/freerware/obscurer\n[license]: https://opensource.org/licenses/Apache-2.0\n[license-img]: https://img.shields.io/badge/License-Apache%202.0-blue.svg\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreerware%2Fobscurer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffreerware%2Fobscurer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreerware%2Fobscurer/lists"}