{"id":38232935,"url":"https://github.com/tedsmitt/ecsgo","last_synced_at":"2026-01-17T01:02:29.393Z","repository":{"id":38000275,"uuid":"348857840","full_name":"tedsmitt/ecsgo","owner":"tedsmitt","description":"Provides an interactive prompt to connect to ECS Containers using the ECS ExecuteCommand API.","archived":false,"fork":false,"pushed_at":"2024-12-23T17:20:03.000Z","size":150,"stargazers_count":82,"open_issues_count":4,"forks_count":13,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-12-23T18:27:25.882Z","etag":null,"topics":["aws","cli","ecs","ecs-exec","ecs-executecommand-api","fargate","go","port-forward","ssm"],"latest_commit_sha":null,"homepage":"","language":"Go","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/tedsmitt.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-17T21:32:58.000Z","updated_at":"2024-11-12T09:56:14.000Z","dependencies_parsed_at":"2023-12-29T13:32:08.092Z","dependency_job_id":"dedb1647-06b0-4202-8d44-dc6e67083861","html_url":"https://github.com/tedsmitt/ecsgo","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/tedsmitt/ecsgo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tedsmitt%2Fecsgo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tedsmitt%2Fecsgo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tedsmitt%2Fecsgo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tedsmitt%2Fecsgo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tedsmitt","download_url":"https://codeload.github.com/tedsmitt/ecsgo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tedsmitt%2Fecsgo/sbom","scorecard":{"id":872515,"data":{"date":"2025-08-11","repo":{"name":"github.com/tedsmitt/ecsgo","commit":"c29e18f985c4bbc6e813ed77e79672fa0ef0185f"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.3,"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":"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":"Code-Review","score":1,"reason":"Found 3/26 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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/release.yml:1","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/release.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/tedsmitt/ecsgo/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/tedsmitt/ecsgo/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/tedsmitt/ecsgo/release.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:40: update your workflow using https://app.stepsecurity.io/secureworkflow/tedsmitt/ecsgo/release.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/tedsmitt/ecsgo/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/tedsmitt/ecsgo/test.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/test.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/tedsmitt/ecsgo/test.yml/main?enable=pin","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 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":"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":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":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/release.yml:9"],"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":"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":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact v0.6.1 not signed: https://api.github.com/repos/tedsmitt/ecsgo/releases/180089853","Warn: release artifact v0.6.0 not signed: https://api.github.com/repos/tedsmitt/ecsgo/releases/179597916","Warn: release artifact v0.5.0 not signed: https://api.github.com/repos/tedsmitt/ecsgo/releases/135359128","Warn: release artifact v0.4.5 not signed: https://api.github.com/repos/tedsmitt/ecsgo/releases/93003218","Warn: release artifact v0.4.5-beta.2 not signed: https://api.github.com/repos/tedsmitt/ecsgo/releases/90596767","Warn: release artifact v0.6.1 does not have provenance: https://api.github.com/repos/tedsmitt/ecsgo/releases/180089853","Warn: release artifact v0.6.0 does not have provenance: https://api.github.com/repos/tedsmitt/ecsgo/releases/179597916","Warn: release artifact v0.5.0 does not have provenance: https://api.github.com/repos/tedsmitt/ecsgo/releases/135359128","Warn: release artifact v0.4.5 does not have provenance: https://api.github.com/repos/tedsmitt/ecsgo/releases/93003218","Warn: release artifact v0.4.5-beta.2 does not have provenance: https://api.github.com/repos/tedsmitt/ecsgo/releases/90596767"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Vulnerabilities","score":3,"reason":"7 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GO-2021-0227 / GHSA-3vm4-22fp-5rfm","Warn: Project is vulnerable to: GO-2022-0968 / GHSA-gwc9-m7rh-j2ww","Warn: Project is vulnerable to: GO-2021-0356 / GHSA-8c26-wmh5-6g9v","Warn: Project is vulnerable to: GO-2024-2961","Warn: Project is vulnerable to: GO-2023-2402 / GHSA-45x7-px36-x8w8","Warn: Project is vulnerable to: GO-2024-3321 / GHSA-v778-237x-gjrc","Warn: Project is vulnerable to: GO-2025-3487 / GHSA-hcg3-q754-cr77"],"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 15 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-24T04:43:03.325Z","repository_id":38000275,"created_at":"2025-08-24T04:43:03.325Z","updated_at":"2025-08-24T04:43:03.325Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28490921,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T00:50:05.742Z","status":"ssl_error","status_checked_at":"2026-01-17T00:43:11.982Z","response_time":107,"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":["aws","cli","ecs","ecs-exec","ecs-executecommand-api","fargate","go","port-forward","ssm"],"created_at":"2026-01-17T01:02:28.314Z","updated_at":"2026-01-17T01:02:29.181Z","avatar_url":"https://github.com/tedsmitt.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ecsgo\n\n\u003e [!IMPORTANT]\n\u003e PLEASE READ: I recommend using [e1s](https://github.com/keidarcy/e1s) as this does what ecsgo does but with a much better experience and far more capabilities.\n\nInspired by the incredibly useful [gossm](https://github.com/gjbae1212/gossm), this tool makes use of the [ECS ExecuteCommand API](https://aws.amazon.com/blogs/containers/new-using-amazon-ecs-exec-access-your-containers-fargate-ec2/) to connect to running ECS tasks.\n\nIt provides an interactive prompt to select your cluster, task and container (if only one container in the task it will default to this), and opens a connection to it. You can also use it to port-forward to containers within your tasks.\n\nThat's it! Nothing fancy.\n\n## Installation\n\n### MacOS/Homebrew\n\n```bash\nbrew tap tedsmitt/ecsgo\nbrew install ecsgo\n```\n\n### Linux\n\n```bash\nwget https://github.com/tedsmitt/ecsgo/releases/latest/download/ecsgo_Linux_x86_64.tar.gz\ntar xzf ecsgo_*.tar.gz\n```\n\nMove the `ecsgo` binary into your `$PATH`\n\n## Pre-requisites\n\n### session-manager-plugin\n\nThis tool makes use of the [session-manager-plugin](https://github.com/aws/session-manager-plugin). For instructions on how to install, please check out [this user guide](https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-working-with-install-plugin.html).\n\nMacOS users can install this via Homebrew if desired\n`brew install --cask session-manager-plugin`\n\n### Infrastructure\n\nUse [ecs-exec-checker](https://github.com/aws-containers/amazon-ecs-exec-checker) to check for the pre-requisites to use ECS exec.\n\n## Usage\n\n### CLI Args\n\nBy default, the tool will prompt you to interactively select which cluster, service, task and container to connect to. You can change the behaviour using the flags detailed below:\n\n| Long                 | Short | Description                                                                                               | Default Value              |\n| -------------------- | ----- | --------------------------------------------------------------------------------------------------------- | -------------------------- |\n| `--cluster`          | `-n`  | Specify the ECS cluster name                                                                              | N/A                        |\n| `--service`          | `-s`  | Specify the ECS service name                                                                              | N/A                        |\n| `--task`             | `-t`  | Specify the ECS Task ID                                                                                   | N/A                        |\n| `--container`        | `-u`  | Specify the container name in the ECS Task (if task only has one container this will selected by default) | N/A                        |\n| `--cmd`              | `-c`  | Specify the command to be run on the container (default will change depending on OS family).              | `/bin/sh`,`powershell.exe` |\n| `--forward`          | `-f`  | Port-forward to the container (Remote port will be taken from task/container definitions)                 | `false`                    |\n| `--local-port`       | `-l`  | Specify local port to forward (will prompt if not specified)                                              | N/A                        |\n| `--profile`          | `-p`  | Specify the profile to load the credentials                                                               | `default`                  |\n| `--region`           | `-r`  | Specify the AWS region to run in                                                                          | N/A                        |\n| `--quiet`            | `-q`  | Disable output detailing the Cluster/Service/Task information                                             | `false`                    |\n| `--aws-endpoint-url` | `-e`  | Specify the AWS endpoint used for all service requests                                                    | N/A                        |\n\n### Environment variables\n\nThe above options can also be configured via environment variables. Simply export environment variables in the form `ECSGO_\u003cOPT_NAME\u003e`. For example, if you want to set the `--cluster` value, it would be `ECSGO_CLUSTER`, or for the `--aws-endpoint-url` option it would be `ECSGO_AWS_ENDPOINT_URL`.\n\nThe tool supports Standard AWS Environment Variables for AWS Client configuration. If you aren't familiar with working on AWS via the CLI, you can read more about how to configure your environment [here](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html).\n\n## Example\n\nSee it in action below\n\n![ecsgo0 2 0](https://user-images.githubusercontent.com/25430401/114218136-ef8f7b00-9960-11eb-9c3f-b353ae0ff7ca.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftedsmitt%2Fecsgo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftedsmitt%2Fecsgo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftedsmitt%2Fecsgo/lists"}