{"id":13721402,"url":"https://github.com/ciehanski/onionbox","last_synced_at":"2026-02-03T09:13:01.442Z","repository":{"id":50249740,"uuid":"167118153","full_name":"ciehanski/onionbox","owner":"ciehanski","description":"Send and receive files securely through Tor.","archived":false,"fork":false,"pushed_at":"2023-02-25T04:37:15.000Z","size":408,"stargazers_count":43,"open_issues_count":7,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2026-01-14T17:01:52.607Z","etag":null,"topics":["file-","file-sharing","go","golang","journalism","onion-routing","onion-service","privacy","security","tor","tor-network"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ciehanski.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-01-23T04:38:59.000Z","updated_at":"2025-05-05T13:07:20.000Z","dependencies_parsed_at":"2024-02-14T05:44:14.181Z","dependency_job_id":null,"html_url":"https://github.com/ciehanski/onionbox","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ciehanski/onionbox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ciehanski%2Fonionbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ciehanski%2Fonionbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ciehanski%2Fonionbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ciehanski%2Fonionbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ciehanski","download_url":"https://codeload.github.com/ciehanski/onionbox/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ciehanski%2Fonionbox/sbom","scorecard":{"id":282604,"data":{"date":"2025-08-11","repo":{"name":"github.com/ciehanski/onionbox","commit":"145883666da439f53638dca2b3521d1fef6d7b16"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.6,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/29 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":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build.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":"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":"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: GNU Affero General Public License v3.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":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v1.0.0 not signed: https://api.github.com/repos/ciehanski/onionbox/releases/26835664","Warn: release artifact v1.0.0 does not have provenance: https://api.github.com/repos/ciehanski/onionbox/releases/26835664"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"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/build.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/ciehanski/onionbox/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/ciehanski/onionbox/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/ciehanski/onionbox/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:59: update your workflow using https://app.stepsecurity.io/secureworkflow/ciehanski/onionbox/build.yml/master?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating golang:1.14.3 to golang:1.14.3@sha256:1e36f8e9ac49d5ee6d72e969382a698614551a59f4533d5d61590e3deeb543a7","Warn: goCommand not pinned by hash: Dockerfile:4","Warn: goCommand not pinned by hash: .github/workflows/build.yml:53","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   2 out of   4 goCommand dependencies pinned","Info:   0 out of   1 containerImage 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":"Vulnerabilities","score":0,"reason":"21 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2022-0536 / GHSA-39qc-96h7-956f / GHSA-hgr8-6h9x-f7q9","Warn: Project is vulnerable to: GO-2022-0236 / GHSA-h86h-8ppg-mxmh","Warn: Project is vulnerable to: GO-2021-0238 / GHSA-83g2-8m93-v3w7","Warn: Project is vulnerable to: GO-2022-0288","Warn: Project is vulnerable to: GO-2022-0969 / GHSA-69cg-p879-7622","Warn: Project is vulnerable to: GO-2022-1144 / GHSA-xrjj-mj9h-534m","Warn: Project is vulnerable to: GO-2023-1571 / GHSA-vvpx-j8f3-3w6h","Warn: Project is vulnerable to: GO-2023-1988 / GHSA-2wrh-6pvc-2jm9","Warn: Project is vulnerable to: GO-2023-2102 / GHSA-4374-p667-p6c8","Warn: Project is vulnerable to: GHSA-qppj-fm5r-hxr3","Warn: Project is vulnerable to: GO-2024-2687 / GHSA-4v7x-pqxf-cx7m","Warn: Project is vulnerable to: GO-2024-3333","Warn: Project is vulnerable to: GO-2025-3503 / GHSA-qxp5-gwg8-xv66","Warn: Project is vulnerable to: GO-2025-3595 / GHSA-vvgc-356p-c3xw","Warn: Project is vulnerable to: GO-2022-0493 / GHSA-p782-xgp4-8hr8","Warn: Project is vulnerable to: GO-2020-0015 / GHSA-5rcv-m4m3-hfh7","Warn: Project is vulnerable to: GO-2021-0113 / GHSA-ppp9-7jff-5vj2","Warn: Project is vulnerable to: GO-2022-1059 / GHSA-69ch-w2m2-3vjp","Warn: Project is vulnerable to: GO-2021-0061 / GHSA-r88r-gmrh-7j83","Warn: Project is vulnerable to: GO-2022-0956 / GHSA-6q6q-88xp-6f2r","Warn: Project is vulnerable to: GO-2020-0036 / GHSA-wxc4-f4m6-wwqv"],"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 28 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-17T16:18:13.381Z","repository_id":50249740,"created_at":"2025-08-17T16:18:13.382Z","updated_at":"2025-08-17T16:18:13.382Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29039348,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T08:41:49.363Z","status":"ssl_error","status_checked_at":"2026-02-03T08:40:19.255Z","response_time":96,"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":["file-","file-sharing","go","golang","journalism","onion-routing","onion-service","privacy","security","tor","tor-network"],"created_at":"2024-08-03T01:01:16.616Z","updated_at":"2026-02-03T09:13:01.424Z","avatar_url":"https://github.com/ciehanski.png","language":"Go","funding_links":[],"categories":["File Transfer","\u003ca id=\"6e80463404d46f0493cf6e84597e4b5c\"\u003e\u003c/a\u003e工具"],"sub_categories":["\u003ca id=\"e99ba5f3de02f68412b13ca718a0afb6\"\u003e\u003c/a\u003eTor\u0026\u0026\u0026Onion\u0026\u0026洋葱"],"readme":"# onionbox ![build](https://github.com/ciehanski/onionbox/workflows/build/badge.svg?branch=master) [![Coverage Status](https://coveralls.io/repos/github/ciehanski/onionbox/badge.svg?branch=master)](https://coveralls.io/github/ciehanski/onionbox?branch=master) [![Go Report Card](https://goreportcard.com/badge/github.com/ciehanski/onionbox)](https://goreportcard.com/report/github.com/ciehanski/onionbox) [![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fciehanski%2Fonionbox.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2Fciehanski%2Fonionbox?ref=badge_shield)\n\nA basic implementation of [OnionShare](https://github.com/micahflee/onionshare) in Go.\nMostly built as a fun project, onionbox is still a WIP so usage is not guaranteed secure, *yet*.\n\n#### Key Features:\n- All files are stored in memory and *never* written to disk. The bytes from\neach uploaded file are written to an individual **zip buffer** (in memory, and also compressed 😄) and then written directly\nto the response for download. Zip was chosen since it is the most universal archiving\nstandard that is supported by all operating systems.\n- You have the ability to encrypt the uploaded files' bytes if\nthe content is extra sensitive. AES-GCM-256 is used for encryption. This means, while stored in memory, the files' bytes\nwill be encrypted as well. **If password encryption is enabled, recipients will need to enter the correct password \nbefore the download.**\n- You have the ability to limit the number of downloads per download link\ngenerated.\n- You have the ability to enforce that download links automatically expire after a specific duration of your choosing.\n- 2-way file sharing. For instance, if you are the recipient of confidential information \nbut the sender is not technically-savvy, you yourself can run an onionbox server, send them the \ngenerated .onion URL and have them upload the files directly for you to download.\n- Can be run in a Docker container, or locally on your host machine. You could\nof course deploy onionbox to any cloud provider of your choosing.\n- Static binary! Woo!\n\n![onionbox Example-1](./.github/assets/homepage.png)\n![onionbox Example-2](./.github/assets/upload_complete.png)\n\n## TODO:\n- [ ] Implement more tests\n- [ ] Android support (build almost working)\n- [ ] Windows support\n- [x] ARM support\n- [x] QR Code Generation\n- [ ] Add another mode supporting cli-only upload from disk\n\n## Build/Install\n\nThe easiest way to install `onionbox` will be to download the applicable binary\nfrom the [releases](https://github.com/ciehanski/onionbox/releases) section. You can also install if you have the [Go toolchain](https://golang.org/dl/)\ninstalled and if you are running a flavor of Linux. This will not work with Windows or macOS. This will take a long time, roughly ~10 minutes. You can build from source with the `Makefile`:\n\n```bash\n$ git clone https://github.com/ciehanski/onionbox .\n$ cd onionbox \u0026\u0026 make build\n```\n\n## Usage\n\nOnce you have the `onionbox` binary simply make it executable and run it with the various flags\nprovided:\n\n```bash\n$ chmod +x onionbox\n$ ./onionbox -lport 8080 -debug\n\n    -lport \u003cint\u003e : tell onionbox which port to make your onion service locally\n    run on.\n\n    -rport \u003cint\u003e : tell onionbox which port to make your onion service remotely\n    available on.\n\n    -torv3 \u003cbool\u003e : tell onionbox to run on torv3 or torv2.\n\n    -torrc \u003cstring\u003e : utilize a custom Torrc file to run your onion service.\n\n    -debug \u003cbool\u003e : tell onionbox to print debug logs or silence logs.\n```\n\n## Contributing:\n\nContributions and PRs are welcome!\n\nYou can get started by either forking or cloning the repo. After, you can get started\nby running:\n\n```bash\nmake run\n```\n\nThis will go ahead and build everything necessary to interface with Tor. After compose\nhas completed building, you will have a new `onionbox` container which will be your\ndev environment.\n\nAnytime a change to a .go or .mod file is detected the container will rerun with\nthe changes you have made. You must save in your IDE or text editor for the \nchanges to be picked up. It takes roughly ~35 seconds for onionbox to restart after \nyou have made changes.\n\nYou can completely restart the build with:\n```bash\nmake restart\n```\n\nRun tests:\n```bash\nmake exec\nmake test\n```\n\nGet container logs:\n```bash\nmake logs\n```\n\nShell into docker container:\n```bash\nmake exec\n```\n\nLint the project:\n```bash\nmake lint\n```\n\n## License:\n- AGPLv3\n\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Fciehanski%2Fonionbox.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Fciehanski%2Fonionbox?ref=badge_large)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fciehanski%2Fonionbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fciehanski%2Fonionbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fciehanski%2Fonionbox/lists"}