Riccardo Schirone 093e26ec0a common: fallback to delete challenge task dir inside docker (#385)
* common/ChallengeTask: add exec_docker_cmd and use it to clean tmp dirs

* fix typo

* fix run-docker-cmd

* fix tests
2025-04-15 09:47:49 +02:00
2025-04-09 09:56:16 +02:00
2025-04-11 15:29:00 +02:00
2025-03-06 09:23:22 -05:00
2025-04-11 14:03:49 +02:00
2025-04-11 14:03:49 +02:00
2025-01-17 14:57:33 +01:00
2025-04-11 14:03:49 +02:00
2025-02-18 11:59:16 -05:00
2025-01-26 13:09:37 -05:00
2025-04-11 14:03:49 +02:00
2025-04-11 14:03:49 +02:00
2025-04-09 09:56:16 +02:00
2025-01-13 13:48:03 +01:00
2025-01-23 09:32:18 +01:00
2025-04-08 11:34:05 +02:00

Trail of Bits AIxCC Finals CRS

Local Development (minikube, full system)

cd deployment
cp env.template env
# Modify `env` according to your needs
# Make sure BUTTERCUP_K8S_VALUES_TEMPLATE is set to `k8s/values-minikube.template`
# AZURE_ENABLED/TAILSCALE_ENABLED should be set to false for local development
make up
make down

Send example-libpng task to the system

kubectl port-forward -n crs service/buttercup-competition-api 31323:1323
./orchestrator/scripts/task_crs.sh

Send a SARIF message

./orchestrator/scripts/send_sarif.sh <TASK-ID-FROM-TASK-CRS>

Local Development (docker compose)

We use docker compose to test CRS components locally during development.

Copy env.template to .env and set variables. Modify competition-server/scantron.yaml to use your own github.pat (make sure to create it with repo and package:read permissions).

Start the services with

docker compose up -d

Stop the services with:

docker compose down

Telemetry

By default, LLM OTel telemetry is enabled and will be sent to a local SigNoz deployment.

To disable the SigNoz deployment, comment out in competition-server/compose.yaml:

include:
 - ./signoz/compose.yaml

To disable sending OTel telemetry, remove these environment variables from env.dev.compose:

OTEL_EXPORTER_OTLP_ENDPOINT
OTEL_EXPORTER_OTLP_HEADERS
OTEL_EXPORTER_OTLP_PROTOCOL

You can also change the values for these environment variables if you want to send telemetry to a different OTel collector.

S
Description
Automated archival mirror of github.com/trailofbits/buttercup
Readme AGPL-3.0 28 MiB
Languages
Python 93.4%
Shell 3%
JavaScript 1.4%
CSS 0.6%
Dockerfile 0.4%
Other 1.2%