{"id":28645618,"url":"https://github.com/block/rce-agent","last_synced_at":"2026-07-02T14:01:53.050Z","repository":{"id":37502659,"uuid":"82854772","full_name":"block/rce-agent","owner":"block","description":"gRPC-based Remote Command Execution Agent","archived":false,"fork":false,"pushed_at":"2026-03-18T22:33:37.000Z","size":5459,"stargazers_count":147,"open_issues_count":2,"forks_count":43,"subscribers_count":10,"default_branch":"master","last_synced_at":"2026-07-02T04:20:11.928Z","etag":null,"topics":["grpc","rce-agent","remote-code-execution","remote-execution"],"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/block.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-02-22T21:33:24.000Z","updated_at":"2026-06-26T17:29:19.000Z","dependencies_parsed_at":"2024-06-18T21:29:31.056Z","dependency_job_id":"fcbdc183-167f-48af-9f3d-a3a304adb958","html_url":"https://github.com/block/rce-agent","commit_stats":null,"previous_names":["block/rce-agent","square/rce-agent"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/block/rce-agent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/block%2Frce-agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/block%2Frce-agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/block%2Frce-agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/block%2Frce-agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/block","download_url":"https://codeload.github.com/block/rce-agent/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/block%2Frce-agent/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35050017,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-02T02:00:06.368Z","response_time":173,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["grpc","rce-agent","remote-code-execution","remote-execution"],"created_at":"2025-06-13T01:39:31.720Z","updated_at":"2026-07-02T14:01:53.034Z","avatar_url":"https://github.com/block.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RCE Agent\n\n![Build and Tests](https://github.com/square/rce-agent/actions/workflows/go.yml/badge.svg)\n[![Go Report Card](https://goreportcard.com/badge/github.com/square/rce-agent)](https://goreportcard.com/report/github.com/square/rce-agent)\n[![Go Reference](https://pkg.go.dev/badge/github.com/square/rce-agent.svg)](https://pkg.go.dev/github.com/square/rce-agent)\n\nrce-agent is a gRPC-based Remote Command Execution (RCE) client and server.\nThe server (or \"agent\") runs on a remote host and executes a whitelist of\nshell commands specified in a file. The client calls the agent to execute whitelist commands.\nTLS is used to secure and authenticate both client and server.\n\nrce-agent replaces SSH and other methods of remote code execution. There are no\npasswords\u0026mdash;only TLS certificates\u0026mdash;and commands are limited to a whitelist.\nThis eliminates the need for SSH keys, passwords, or forwarding.\n\n![RCE Agent diagram](./rce-agent.svg)\n\nThis package is meant to be integrated into your code. The `rce.Client` and `rce.Server` objects do all the heavy lifting\nso your client and agent code can focus on their domain-specific logic. See `example/` for example code.\n\nRCE Agent is also meant to be used with your private certificate authority (CA) for TLS-encrypted\ncommunication and mutual authentication of client and agent.\n(Setting up a private CA is beyond the scope of this project, but we highly suggest you use one!)\nNormally, only the client verifies the server's TLS certificate (cert). For additional security,\nyour code should use [rce.TLSFiles](https://godoc.org/github.com/square/rce-agent#TLSFiles)\nto create Go `tls.Config` which makes the server (agent) verify the client's cert, too.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblock%2Frce-agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblock%2Frce-agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblock%2Frce-agent/lists"}