{"id":42192879,"url":"https://github.com/byte-foundry/adhoc-cors-proxy","last_synced_at":"2026-01-26T23:50:43.066Z","repository":{"id":17507967,"uuid":"20295863","full_name":"byte-foundry/adhoc-cors-proxy","owner":"byte-foundry","description":"Simple reliable node-based cors proxy to a specific target","archived":false,"fork":false,"pushed_at":"2014-06-06T11:00:56.000Z","size":172,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-08-09T01:02:01.663Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/byte-foundry.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-05-29T14:10:16.000Z","updated_at":"2015-06-18T20:25:07.000Z","dependencies_parsed_at":"2022-09-01T18:52:04.636Z","dependency_job_id":null,"html_url":"https://github.com/byte-foundry/adhoc-cors-proxy","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/byte-foundry/adhoc-cors-proxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byte-foundry%2Fadhoc-cors-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byte-foundry%2Fadhoc-cors-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byte-foundry%2Fadhoc-cors-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byte-foundry%2Fadhoc-cors-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/byte-foundry","download_url":"https://codeload.github.com/byte-foundry/adhoc-cors-proxy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/byte-foundry%2Fadhoc-cors-proxy/sbom","scorecard":{"id":260178,"data":{"date":"2025-08-11","repo":{"name":"github.com/byte-foundry/adhoc-cors-proxy","commit":"203f63dea08ccc9db5c435f6a2080d7c51d2215c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"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":"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/18 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":"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":"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":"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":"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":"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":"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":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"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"}}]},"last_synced_at":"2025-08-17T10:39:42.379Z","repository_id":17507967,"created_at":"2025-08-17T10:39:42.379Z","updated_at":"2025-08-17T10:39:42.379Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28791706,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T21:49:50.245Z","status":"ssl_error","status_checked_at":"2026-01-26T21:48:29.455Z","response_time":59,"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"}},"keywords":[],"created_at":"2026-01-26T23:50:42.522Z","updated_at":"2026-01-26T23:50:43.060Z","avatar_url":"https://github.com/byte-foundry.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Ad-hoc cors proxy\n=================\n\n[![Dependency Status](https://david-dm.org/byte-foundry/adhoc-cors-proxy.svg)](https://david-dm.org/byte-foundry/adhoc-cors-proxy)\n\n**Simple reliable node-based cors proxy.**\n\n```bash\n$ corsproxy www.target.com -p 8080\nproxy to http://www.target.com started on port 8080\n```\n\nWhy *simple reliable*? Because it just assembles two well tested and actively maintained middlewares: [http-proxy](https://github.com/nodejitsu/node-http-proxy) and [cors](https://github.com/troygoode/node-cors/). It's a package you could have written yourself, but this one's ready to use with complete usage instructions (thanks to [docopt](http://github.com/docopt/docopt.coffee)).\n\n## Installation\n\nlocal testing\n\n```bash\n$ npm install adhoc-cors-proxy\n```\n\nglobal install\n\n```bash\n$ npm install -g adhoc-cors-proxy\n```\n\n## Usage\n\nwith local install\n\n```bash\nnode bin \u003ctarget\u003e [--port=\u003cport\u003e] [--origin=\u003corigin\u003e] [--credentials]\nnode bin -h | --help | --version\n```\n\nwith global install\n\n```bash\ncorsproxy \u003ctarget\u003e [--port=\u003cport\u003e] [--origin=\u003corigin\u003e] [--credentials]\ncorsproxy -h | --help | --version\n```\n\n### Options\n\n```bash\n-p \u003cport\u003e, --port=\u003cport\u003e        Port number. [default: 9292]\n--host=\u003chost\u003e                   Host\n-o \u003corigin\u003e, --origin=\u003corigin\u003e  Restrict origin domain\n-c, --credentials               access-control-allow-credentials=true\n```\n\nAlternatively, the proxy can be configured entirely using environment variables. Check [the sources](https://github.com/byte-foundry/adhoc-cors-proxy/blob/master/bin/index.js#L21) for a better understanding of configuration priority.\n\n## Production\n\nI recommend using [Heroku](http://www.heroku.com)'s free tier or [pm2](https://github.com/Unitech/pm2) on a virtual-machine cloud-service.\n\n## Development\n\nYou can hack into this package by installing [grunt](http://gruntjs.com)\n\n```bash\n$ npm install -g grunt-cli\n```\n\nStarting the server and specifying the target has a slightly different syntax:\n\n```bash\n$ grunt --target=http://www.target.com -p 8080\n```\n\nJshint will check your code and the proxy will restart everytime the sources are modified.\n\n## License\n\n[MIT](http://louisremi.mit-license.org)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbyte-foundry%2Fadhoc-cors-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbyte-foundry%2Fadhoc-cors-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbyte-foundry%2Fadhoc-cors-proxy/lists"}