Skip to content

Commit a76174d

Browse files
Rename embargod to tamis
1 parent 7bfb6cb commit a76174d

40 files changed

Lines changed: 164 additions & 164 deletions

‎.github/workflows/ci.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ jobs:
6565
with:
6666
go-version-file: go.mod
6767
- run: docker info
68-
- run: docker build --target ${{ matrix.agent }} -t embargod-test:${{ matrix.agent }} docker/agent
68+
- run: docker build --target ${{ matrix.agent }} -t tamis-test:${{ matrix.agent }} docker/agent
6969
- run: go test -race -count=1 -tags integration -timeout 8m ./internal/sandbox
7070
env:
71-
EMBARGOD_TEST_IMAGE: embargod-test:${{ matrix.agent }}
71+
TAMIS_TEST_IMAGE: tamis-test:${{ matrix.agent }}
7272

‎.github/workflows/release.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ jobs:
2727
GOOS: linux
2828
run: |
2929
for arch in amd64 arm64; do
30-
GOARCH="$arch" go build -trimpath -o "dist/embargod-linux-$arch" ./cmd/embargod
30+
GOARCH="$arch" go build -trimpath -o "dist/tamis-linux-$arch" ./cmd/tamis
3131
done
3232
# The action only runs a released binary attested by this workflow for the commit it was given.
3333
- uses: actions/attest-build-provenance@4d101475d8b20a2381f78447822ac1eab6504dd8 # v4.2.2
3434
with:
35-
subject-path: dist/embargod-linux-*
35+
subject-path: dist/tamis-linux-*
3636
- name: Publish the release
3737
env:
3838
GH_TOKEN: ${{ github.token }}
39-
run: gh release create "$GITHUB_REF_NAME" dist/embargod-linux-* --repo "$GITHUB_REPOSITORY" --verify-tag --generate-notes
39+
run: gh release create "$GITHUB_REF_NAME" dist/tamis-linux-* --repo "$GITHUB_REPOSITORY" --verify-tag --generate-notes

‎.gitignore‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
/embargod
1+
/tamis

‎README.md‎

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# embargod
1+
# tamis
22

3-
[![CI](https://github.com/alexandre-daubois/embargod/actions/workflows/ci.yml/badge.svg)](https://github.com/alexandre-daubois/embargod/actions/workflows/ci.yml)
3+
[![CI](https://github.com/alexandre-daubois/tamis/actions/workflows/ci.yml/badge.svg)](https://github.com/alexandre-daubois/tamis/actions/workflows/ci.yml)
44

5-
First-pass triage of private vulnerability reports on GitHub. When a new security advisory comes in, embargod has an LLM agent investigate it against the repository and posts its findings as a comment on the advisory.
5+
First-pass triage of private vulnerability reports on GitHub. When a new security advisory comes in, tamis has an LLM agent investigate it against the repository and posts its findings as a comment on the advisory.
66

7-
For each report, embargod:
7+
For each report, tamis:
88

99
- lists public duplicates in the comment and embargoed duplicates only in a private report,
1010
- finds public issues and pull requests already fixing or hardening the same code,
@@ -21,7 +21,7 @@ It informs the maintainers' decision and never makes it.
2121
3. Add this workflow to the private repository:
2222

2323
```yaml
24-
name: embargod
24+
name: tamis
2525

2626
on:
2727
schedule:
@@ -33,30 +33,30 @@ on:
3333
required: false
3434

3535
concurrency:
36-
group: embargod
36+
group: tamis
3737

3838
jobs:
3939
triage:
4040
runs-on: ubuntu-latest
4141
timeout-minutes: 30
42-
environment: embargod
42+
environment: tamis
4343
permissions:
4444
contents: read
4545
steps:
4646
- uses: actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510 # v3.3.0
4747
id: app
4848
with:
49-
client-id: ${{ vars.EMBARGOD_CLIENT_ID }}
50-
private-key: ${{ secrets.EMBARGOD_PRIVATE_KEY }}
49+
client-id: ${{ vars.TAMIS_CLIENT_ID }}
50+
private-key: ${{ secrets.TAMIS_PRIVATE_KEY }}
5151
owner: your-org
5252
repositories: your-project
5353
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
5454
with:
5555
repository: your-org/your-project
5656
fetch-depth: 0
5757
persist-credentials: false
58-
# Replace this placeholder with the full SHA of a reviewed Embargod commit.
59-
- uses: alexandre-daubois/embargod@REPLACE_WITH_REVIEWED_FULL_COMMIT_SHA
58+
# Replace this placeholder with the full SHA of a reviewed Tamis commit.
59+
- uses: alexandre-daubois/tamis@REPLACE_WITH_REVIEWED_FULL_COMMIT_SHA
6060
with:
6161
repository: your-org/your-project
6262
since: "2026-10-22"

‎action.yml‎

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Embargod
1+
name: Tamis
22
description: First-pass LLM triage of new GitHub security advisories, posted as an advisory comment.
33
author: Alexandre Daubois
44
branding:
@@ -37,14 +37,14 @@ inputs:
3737
description: Turn on OpenAI's Daybreak cyber access program in Codex, with `engine: openai` only. The API key's org must be approved for it.
3838
default: "false"
3939
runner-image:
40-
description: Image the agent runs in, instead of the embargod agent image pinned by digest and checked against its build attestation. It needs the agent CLI, git, curl and harness-proxy, and is not checked.
40+
description: Image the agent runs in, instead of the tamis agent image pinned by digest and checked against its build attestation. It needs the agent CLI, git, curl and harness-proxy, and is not checked.
4141
required: false
4242
references:
4343
description: Whitespace-separated local git references to analyse, including each supported release branch. All must have been fetched.
4444
required: true
4545

4646
runs:
47-
# The agent runs in its own hardened container, so embargod itself runs on the runner, next to Docker.
47+
# The agent runs in its own hardened container, so tamis itself runs on the runner, next to Docker.
4848
using: composite
4949
steps:
5050
- name: Check deployment
@@ -54,19 +54,19 @@ runs:
5454
ACTION_REF: ${{ github.action_ref }}
5555
run: |
5656
if [[ "$PRIVATE_REPOSITORY" != true ]]; then
57-
echo 'Embargod requires a private workflow repository.' >&2
57+
echo 'Tamis requires a private workflow repository.' >&2
5858
exit 1
5959
fi
6060
if [[ ! "$ACTION_REF" =~ ^[a-fA-F0-9]{40}$ ]]; then
61-
echo 'Pin Embargod to a reviewed full commit SHA.' >&2
61+
echo 'Pin Tamis to a reviewed full commit SHA.' >&2
6262
exit 1
6363
fi
6464
- name: Prepare private reports
6565
id: reports
6666
shell: bash
67-
run: printf 'path=%s\n' "$(mktemp -d "$RUNNER_TEMP/embargod-reports.XXXXXX")" >> "$GITHUB_OUTPUT"
67+
run: printf 'path=%s\n' "$(mktemp -d "$RUNNER_TEMP/tamis-reports.XXXXXX")" >> "$GITHUB_OUTPUT"
6868
# A ref pointing at a release runs its attested binary, any other ref is built from source.
69-
- name: Download embargod
69+
- name: Download tamis
7070
id: download
7171
shell: bash
7272
env:
@@ -80,21 +80,21 @@ runs:
8080
sha=$(gh api "repos/$REPO/commits/$REF" --jq .sha) || exit 0
8181
tags=$(gh api --paginate "repos/$REPO/tags" --jq ".[] | select(.commit.sha == \"$sha\") | .name") || exit 0
8282
tag=$(grep -m1 -E '^v[0-9]+\.[0-9]+\.[0-9]+$' <<<"$tags") || exit 0
83-
gh release download "$tag" --repo "$REPO" --pattern "embargod-linux-$arch" --output "$RUNNER_TEMP/embargod" --clobber || exit 0
84-
gh attestation verify "$RUNNER_TEMP/embargod" --repo "$REPO" --signer-workflow "$REPO/.github/workflows/release.yml" --source-digest "$sha"
85-
chmod +x "$RUNNER_TEMP/embargod"
83+
gh release download "$tag" --repo "$REPO" --pattern "tamis-linux-$arch" --output "$RUNNER_TEMP/tamis" --clobber || exit 0
84+
gh attestation verify "$RUNNER_TEMP/tamis" --repo "$REPO" --signer-workflow "$REPO/.github/workflows/release.yml" --source-digest "$sha"
85+
chmod +x "$RUNNER_TEMP/tamis"
8686
echo "binary=true" >> "$GITHUB_OUTPUT"
8787
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
8888
if: steps.download.outputs.binary != 'true'
8989
with:
9090
go-version-file: ${{ github.action_path }}/go.mod
9191
cache-dependency-path: ${{ github.action_path }}/go.sum
92-
- name: Build embargod
92+
- name: Build tamis
9393
if: steps.download.outputs.binary != 'true'
9494
shell: bash
9595
working-directory: ${{ github.action_path }}
96-
run: go build -trimpath -o "$RUNNER_TEMP/embargod" ./cmd/embargod
97-
# The default images are pinned by digest. This checks they were built by embargod's own workflow.
96+
run: go build -trimpath -o "$RUNNER_TEMP/tamis" ./cmd/tamis
97+
# The default images are pinned by digest. This checks they were built by tamis's own workflow.
9898
- name: Verify the agent image
9999
if: inputs.runner-image == ''
100100
shell: bash
@@ -109,7 +109,7 @@ runs:
109109
- name: Triage
110110
id: triage
111111
shell: bash
112-
run: '"$RUNNER_TEMP/embargod"'
112+
run: '"$RUNNER_TEMP/tamis"'
113113
env:
114114
SINCE: ${{ inputs.since }}
115115
ADVISORY: ${{ inputs.advisory }}
@@ -128,7 +128,7 @@ runs:
128128
if: always() && steps.triage.outcome != 'skipped' && steps.reports.outcome == 'success'
129129
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
130130
with:
131-
name: embargod-reports-${{ github.run_id }}-${{ github.run_attempt }}
131+
name: tamis-reports-${{ github.run_id }}-${{ github.run_attempt }}
132132
path: ${{ steps.reports.outputs.path }}
133133
retention-days: 7
134134
if-no-files-found: ignore
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ import (
1212
"strings"
1313
"time"
1414

15-
"github.com/alexandre-daubois/embargod/internal/engine"
16-
"github.com/alexandre-daubois/embargod/internal/github"
17-
"github.com/alexandre-daubois/embargod/internal/sandbox"
18-
"github.com/alexandre-daubois/embargod/internal/triage"
15+
"github.com/alexandre-daubois/tamis/internal/engine"
16+
"github.com/alexandre-daubois/tamis/internal/github"
17+
"github.com/alexandre-daubois/tamis/internal/sandbox"
18+
"github.com/alexandre-daubois/tamis/internal/triage"
1919
)
2020

2121
// defaultCodexTokenModel is Codex's default with a ChatGPT account, which does not serve the API models.

‎docker/agent/Dockerfile‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Image the reader agent runs in: one agent CLI, git, curl and harness-proxy, nothing else, since the agent
22
# has a shell while it reads a report that may be hostile.
3-
# docker build --target claude -t embargod-agent:claude docker/agent
4-
# docker build --target codex -t embargod-agent:codex docker/agent
3+
# docker build --target claude -t tamis-agent:claude docker/agent
4+
# docker build --target codex -t tamis-agent:codex docker/agent
55

66
# Each release tag sits beside the digest of its asset, as in scrutineer's Dockerfile.runner, so a version
77
# bump updates both and a mismatch fails sha256sum below.

‎docs/configuration.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
| `engine` | `claude` | `claude` (Claude Code and the Anthropic API) or `openai` (Codex and the OpenAI API). |
1515
| `model` | `claude-opus-5-5` / `gpt-5.5` | Model used by both the agent and the duplicate search. `gpt-6.1-sol` with a Codex access token. |
1616
| `daybreak` | `false` | Turn on OpenAI's Daybreak cyber access program in Codex. `openai` engine only, and the API key's organisation must be approved for it. |
17-
| `runner-image` | embargod agent image, pinned by digest | Image the agent runs in. It must contain the agent CLI, git, curl and `harness-proxy`. A custom image skips the attestation check. |
17+
| `runner-image` | tamis agent image, pinned by digest | Image the agent runs in. It must contain the agent CLI, git, curl and `harness-proxy`. A custom image skips the attestation check. |
1818
| `references` | | Whitespace-separated local git references, one for each supported branch. Required, at most ten. A missing reference fails the analysis. |
1919

2020
Outside GitHub Actions, the same settings are read from environment variables: `LLM_API_KEY`, `GH_TOKEN`, `BOT_LOGIN`, `REPOSITORY`, `REPO_PATH`, `SINCE`, `ADVISORY`, `ENGINE`, `MODEL`, `DAYBREAK`, `RUNNER_IMAGE` and `REFERENCES`. `OUTPUT_DIR` must name a private directory for the reports. The action creates that directory in the runner's temporary storage and uploads it to the private workflow repository with seven-day retention.
@@ -23,7 +23,7 @@ The action requires a private workflow repository and a full commit SHA in `uses
2323

2424
## Source branches
2525

26-
Fetch the configured references with `fetch-depth: 0`. For php-src, include the default branch and every PHP branch covered by your disclosure policy, for example `master origin/PHP-8.4` when those are the branches you support. Keep the list current as releases enter or leave support. Embargod analyses each reference separately and includes its exact commit in both copies of the result; it does not infer the maintained branches from a reporter's prose. No source code is executed.
26+
Fetch the configured references with `fetch-depth: 0`. For php-src, include the default branch and every PHP branch covered by your disclosure policy, for example `master origin/PHP-8.4` when those are the branches you support. Keep the list current as releases enter or leave support. Tamis analyses each reference separately and includes its exact commit in both copies of the result; it does not infer the maintained branches from a reporter's prose. No source code is executed.
2727

2828
## Private reports
2929

@@ -37,11 +37,11 @@ These bounds limit each execution, not spending across scheduled runs. Use a ded
3737

3838
## Project guidance
3939

40-
A `.github/embargod.md` file in the project is appended to the agent's instructions. Use it for what the model cannot guess: what is in scope, what the project's public API is, how the project scores CVSS, which configurations are realistic.
40+
A `.github/tamis.md` file in the project is appended to the agent's instructions. Use it for what the model cannot guess: what is in scope, what the project's public API is, how the project scores CVSS, which configurations are realistic.
4141

4242
## Security policy
4343

44-
The agent checks the report against the files that describe what the project treats as a security issue. embargod looks for them among the tracked files of the repository root, `.github/` and `docs/`:
44+
The agent checks the report against the files that describe what the project treats as a security issue. tamis looks for them among the tracked files of the repository root, `.github/` and `docs/`:
4545

4646
- `SECURITY` with a `.md`, `.markdown`, `.rst`, `.txt` or `.adoc` extension, in any case,
4747
- then `AGENTS.md` and `CLAUDE.md`.

‎docs/development.md‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Requirements: Go 1.27.3 and Docker.
55
## Build and test
66

77
```bash
8-
go build ./cmd/embargod
8+
go build ./cmd/tamis
99
```
1010

1111
```bash
@@ -23,8 +23,8 @@ The others are `FuzzClues` in `./internal/report`, `FuzzReadFileStaysInTrackedFi
2323
Build each agent image and run its isolation tests locally without a real API key:
2424

2525
```bash
26-
docker build --target codex -t embargod-test:codex docker/agent
27-
EMBARGOD_TEST_IMAGE=embargod-test:codex go test -race -count=1 -tags integration ./internal/sandbox
26+
docker build --target codex -t tamis-test:codex docker/agent
27+
TAMIS_TEST_IMAGE=tamis-test:codex go test -race -count=1 -tags integration ./internal/sandbox
2828
```
2929

3030
Repeat for `claude`. The tests use fake model servers, check direct host/Internet/DNS access and validate that the pinned CLI can reach the filtered proxy. Missing Docker or an unset test image fails the suite.
@@ -34,27 +34,27 @@ Repeat for `claude`. The tests use fake model servers, check direct host/Interne
3434
The agent images are built from [`docker/agent/Dockerfile`](../docker/agent/Dockerfile), one target per agent:
3535

3636
```bash
37-
docker build --target claude -t embargod-agent:claude docker/agent
37+
docker build --target claude -t tamis-agent:claude docker/agent
3838
```
3939

40-
The `Agent image` workflow publishes both to `ghcr.io/alexandre-daubois/embargod-agent` with a build attestation when that directory changes on `main`, then opens a pull request updating the digests in [`internal/sandbox/images.json`](../internal/sandbox/images.json). embargod only runs the images pinned there, so new images reach users once that pull request is merged and released.
40+
The `Agent image` workflow publishes both to `ghcr.io/alexandre-daubois/tamis-agent` with a build attestation when that directory changes on `main`, then opens a pull request updating the digests in [`internal/sandbox/images.json`](../internal/sandbox/images.json). tamis only runs the images pinned there, so new images reach users once that pull request is merged and released.
4141

4242
To bump an agent CLI, update its tag and the sha256 of each architecture's asset together in the Dockerfile. The workflow needs "Allow GitHub Actions to create and approve pull requests" in the repository settings.
4343

4444
## Releases
4545

46-
Pushing a `vX.Y.Z` tag runs the `Release` workflow, which builds embargod for Linux on amd64 and arm64, attests both binaries and publishes them in a GitHub release. When the action's pinned commit has such a release tag, the action downloads the binary for the runner and checks its attestation against that commit before running it. Any other pinned commit is built from source.
46+
Pushing a `vX.Y.Z` tag runs the `Release` workflow, which builds tamis for Linux on amd64 and arm64, attests both binaries and publishes them in a GitHub release. When the action's pinned commit has such a release tag, the action downloads the binary for the runner and checks its attestation against that commit before running it. Any other pinned commit is built from source.
4747

4848
## Dependency updates
4949

5050
[Renovate](https://docs.renovatebot.com/) keeps Go modules, pinned actions, base images and the agent CLIs up to date, following [`renovate.json`](../renovate.json). It updates each CLI's tag and checksums in one pull request, keeps `harness-proxy` in the agent image on the same version as the `harness` module, and waits seven days after a release before proposing it. It needs the [Renovate GitHub App](https://github.com/apps/renovate) installed on the repository.
5151

5252
## Running locally
5353

54-
embargod reads its configuration from environment variables, so it runs on any machine with Docker. From a checkout of the target repository:
54+
tamis reads its configuration from environment variables, so it runs on any machine with Docker. From a checkout of the target repository:
5555

5656
```bash
57-
REPOSITORY=your-org/your-project REPO_PATH=. ADVISORY=GHSA-xxxx-xxxx-xxxx ENGINE=claude GH_TOKEN="$(gh auth token)" LLM_API_KEY="$ANTHROPIC_API_KEY" RUNNER_IMAGE=embargod-agent:claude REFERENCES=HEAD OUTPUT_DIR=/private/path/to/reports ./embargod
57+
REPOSITORY=your-org/your-project REPO_PATH=. ADVISORY=GHSA-xxxx-xxxx-xxxx ENGINE=claude GH_TOKEN="$(gh auth token)" LLM_API_KEY="$ANTHROPIC_API_KEY" RUNNER_IMAGE=tamis-agent:claude REFERENCES=HEAD OUTPUT_DIR=/private/path/to/reports ./tamis
5858
```
5959

6060
The comment is posted for real. An advisory with a completed comment from the configured bot is skipped, including after edits to the report or followup comments.
@@ -63,7 +63,7 @@ The comment is posted for real. An advisory with a completed comment from the co
6363

6464
| Path | Role |
6565
|---|---|
66-
| `cmd/embargod` | Configuration and entry point |
66+
| `cmd/tamis` | Configuration and entry point |
6767
| `internal/triage` | Advisory selection and the triage pipeline |
6868
| `internal/sandbox` | The agent container, through harness |
6969
| `internal/modelproxy` | The proxy keeping the model key on the host |

0 commit comments

Comments
 (0)