The collector is third-party code on someone's production server. A person should be able to read the whole executor in an afternoon. Every module makes that longer and adds a supply-chain party.
| Binary | Allowed outside the standard library | Status in phase 1 |
|---|---|---|
aken (collector) |
golang.org/x/term and its dependency golang.org/x/sys |
Terminal handling for the review screen; nothing else outside the standard library |
aken-mcp |
Official MCP SDK github.com/modelcontextprotocol/go-sdk v1.7.0 and its transitive modules, plus golang.org/x/term |
SDK with stdio transport; modules listed below |
aken-relay |
AWS SDK for Go v2 and github.com/aws/smithy-go; golang.org/x/time |
R2 storage and rate limits; runs on the relay host, not on customer servers |
go.mod pins golang.org/x/term to v0.46.0. The other modules used by the MCP and relay are:
| Module | Version |
|---|---|
github.com/aws/aws-sdk-go-v2 |
v1.47.0 |
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream |
v1.7.20 |
github.com/aws/aws-sdk-go-v2/credentials |
v1.20.4 |
github.com/aws/aws-sdk-go-v2/internal/configsources |
v1.5.3 |
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 |
v2.8.3 |
github.com/aws/aws-sdk-go-v2/internal/v4a |
v1.5.3 |
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding |
v1.13.19 |
github.com/aws/aws-sdk-go-v2/service/internal/checksum |
v1.11.3 |
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url |
v1.14.3 |
github.com/aws/aws-sdk-go-v2/service/internal/s3shared |
v1.20.3 |
github.com/aws/aws-sdk-go-v2/service/s3 |
v1.113.1 |
github.com/aws/smithy-go |
v1.28.1 |
github.com/google/jsonschema-go |
v0.4.3 |
github.com/segmentio/asm |
v1.1.3 |
github.com/segmentio/encoding |
v0.5.4 |
github.com/yosida95/uritemplate/v3 |
v3.0.2 |
golang.org/x/oauth2 |
v0.35.0 |
golang.org/x/sync |
v0.20.0 |
golang.org/x/sys |
v0.48.0 |
golang.org/x/time |
v0.16.0 |
Why the SDK: the MCP runs on the developer's machine, not on the server. A maintained official implementation of a moving protocol is safer than a hand-written one. The audit path below covers the server binary.
make depcheck covers aken, allowing only golang.org/x/term and
golang.org/x/sys outside the standard library and this module, and
aken-relay, allowing the AWS SDK, github.com/aws/smithy-go, and
golang.org/x/time. CI runs
it on every push. When you change the budget, update the target and this file
in the same pull request.
State the reason in your pull request. Prefer the standard library. Pin the version. Read the module before you add it; a module that pulls in a tree of modules does not fit the budget.
go.mod pins the Go version. Dependabot proposes updates weekly for modules
and GitHub Actions. Every action is pinned to a commit.
The server binary consists of these files today:
cmd/aken/main.gointernal/buildinfo/buildinfo.gointernal/collect/*.gointernal/serve/*.gointernal/screen/*.gointernal/source/*.gointernal/redact/*.gorules/rules.gorules/default.jsonprotocol/token.goprotocol/blob.goprotocol/session.goprotocol/jobs.goprotocol/relayapi.goprotocol/relayclient.go
Test files are excluded.
As you grow the collector, keep this list current. It is the list a reviewer reads.