{"id":41821983,"url":"https://github.com/erik/holepunch","last_synced_at":"2026-01-25T07:46:11.059Z","repository":{"id":18796607,"uuid":"85332335","full_name":"erik/holepunch","owner":"erik","description":"Punch holes in your AWS security groups.","archived":false,"fork":false,"pushed_at":"2022-11-03T11:59:19.000Z","size":54,"stargazers_count":70,"open_issues_count":1,"forks_count":6,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-09-25T05:20:46.815Z","etag":null,"topics":["aws","command-line-tool"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/erik.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":"2017-03-17T16:24:48.000Z","updated_at":"2024-07-07T05:02:27.000Z","dependencies_parsed_at":"2022-07-22T10:22:29.720Z","dependency_job_id":null,"html_url":"https://github.com/erik/holepunch","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/erik/holepunch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erik%2Fholepunch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erik%2Fholepunch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erik%2Fholepunch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erik%2Fholepunch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/erik","download_url":"https://codeload.github.com/erik/holepunch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erik%2Fholepunch/sbom","scorecard":{"id":380874,"data":{"date":"2025-08-11","repo":{"name":"github.com/erik/holepunch","commit":"4bbb617e4560ac4d6709dfbee6791105d50f336e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.5,"checks":[{"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":"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":"Code-Review","score":1,"reason":"Found 2/18 approved changesets -- score normalized to 1","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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/test.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":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/erik/holepunch/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/erik/holepunch/test.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/test.yml:26","Warn: pipCommand not pinned by hash: .github/workflows/test.yml:27","Warn: pipCommand not pinned by hash: .github/workflows/test.yml:28","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 pipCommand 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":"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":"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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT 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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 18 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-18T15:24:47.836Z","repository_id":18796607,"created_at":"2025-08-18T15:24:47.836Z","updated_at":"2025-08-18T15:24:47.836Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28748223,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T05:12:38.112Z","status":"ssl_error","status_checked_at":"2026-01-25T05:04:50.338Z","response_time":113,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["aws","command-line-tool"],"created_at":"2026-01-25T07:46:10.985Z","updated_at":"2026-01-25T07:46:11.049Z","avatar_url":"https://github.com/erik.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# holepunch\n\nPunch holes in your AWS account security.\n\n`holepunch` is meant for times when you need to temporarily open ingress to an\nAWS security group, perhaps for development or testing remotely without a VPN\nset up.\n\nThis is really bad practice, but `holepunch` will make sure that security group\nrules will be reverted when you are done.\n\nAfter running `holepunch`, just hit `^D` to clear out the modified rules.\n\nYou can also run `holepunch` only for the duration of a shell command with\n`--command`.\n\nBy default, `holepunch` will refuse to remove rules that existed before it\nwas run. This can be toggled with the `--remove-existing` flag. Holepunch\nwill only remove rules that match the provided arguments. Eg source, port,\nprotocol and description must all match or the rule will not be removed.\n\n## Installation\n\n```\npip install holepunch\n```\n\nAWS credentials can be set up in any of the places that [Boto3 knows\nto\nlook.](http://boto3.readthedocs.io/en/latest/guide/configuration.html)\n\n## Examples\n\nTo modify security group `foo_bar` to permit inbound traffic from this\nmachine to TCP port 22 (ssh):\n\n```\nholepunch foo_bar 22 --tcp\n```\n\nModifying a security group using its id also works:\n\n```\nholepunch sg-62153838 443 --tcp\n```\n\nApply security group rules and then `ssh` into a host. Rules will be\nreverted when SSH connection ends.\n\n```\nholepunch foo_bar 22 --command \"ssh bastion\"\n```\n\nAdding multiple TCP port ranges:\n\n```\nholepunch foo_bar 22 80 8080-8081 --tcp\n```\n\nExplicitly setting the IP range the rules apply to:\n\n```\nholepunch foo_bar --cidr=192.168.0.0/16 22 80\n\n# Also works with IPv6 ranges\nholepunch foo_bar --cidr=2001:882f::1/128 443\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferik%2Fholepunch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferik%2Fholepunch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferik%2Fholepunch/lists"}