{"id":48126722,"url":"https://github.com/rybkr/bridge-keeper","last_synced_at":"2026-04-04T16:27:28.793Z","repository":{"id":336946438,"uuid":"1148375979","full_name":"rybkr/bridge-keeper","owner":"rybkr","description":"Security constrained agent runtime environment","archived":false,"fork":false,"pushed_at":"2026-03-25T15:54:20.000Z","size":134,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-26T17:41:16.265Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/rybkr.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,"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":"2026-02-02T22:26:49.000Z","updated_at":"2026-03-25T15:54:24.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/rybkr/bridge-keeper","commit_stats":null,"previous_names":["rybkr/bridge-keeper"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rybkr/bridge-keeper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rybkr%2Fbridge-keeper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rybkr%2Fbridge-keeper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rybkr%2Fbridge-keeper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rybkr%2Fbridge-keeper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rybkr","download_url":"https://codeload.github.com/rybkr/bridge-keeper/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rybkr%2Fbridge-keeper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31405701,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T10:20:44.708Z","status":"ssl_error","status_checked_at":"2026-04-04T10:20:06.846Z","response_time":60,"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-04-04T16:27:28.715Z","updated_at":"2026-04-04T16:27:28.786Z","avatar_url":"https://github.com/rybkr.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bridgekeeper\n\nA security-constrained agent runtime that enforces capability-based security for tool use.\n\nBridgekeeper treats the agent as an untrusted program: it can propose tool calls, but the runtime mediates execution through a policy engine, local sandbox validation, human approval for `ask` decisions, and structured audit logging. Tool inputs are normalized before execution, and sensitive tool output is redacted before it is handed back to the model.\n\nCurrent state:\n- Policy evaluation for tool/action/capability matching is implemented.\n- Local sandbox enforcement currently focuses on workspace-bounded filesystem access, argument validation, and output-size limits.\n- Audit logging is structured JSONL.\n- Sensitive output redaction and simple taint detection are implemented.\n- Network sandboxing and deeper information-flow controls are still incomplete.\n\n## Project Structure\n\n```\nbridgekeeper/\n├── cmd/bridgekeeper/       # CLI entrypoint\n├── internal/\n│   ├── agent/              # Provider-specific agent adapters (Gemini, etc.)\n│   ├── runtime/            # Core mediation and runtime loop\n│   ├── policy/             # Policy engine and YAML loader\n│   ├── tools/              # Typed tool implementations grouped by capability\n│   ├── sandbox/            # Workspace and payload validation below policy\n│   ├── redact/             # Secret redaction and sensitivity classification\n│   ├── audit/              # Structured audit trail logging\n│   └── hitl/               # Human-in-the-loop approval\n├── policies/               # YAML policy files\n├── testdata/\n│   ├── adversarial/        # Prompt injection and adversarial fixtures\n│   └── workflows/          # End-to-end workflow scripts\n└── docs/                   # Design doc and evaluation report\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frybkr%2Fbridge-keeper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frybkr%2Fbridge-keeper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frybkr%2Fbridge-keeper/lists"}