Skip to content

v4.8.6

Latest

Choose a tag to compare

@github-actions github-actions released this 07 Sep 15:51
b1debae

Container Security (#1094)

  • The API and indexer now run as the unprivileged user bcd (uid/gid 10001) instead of root; entrypoint scripts and unnecessary packages (curl, jq) have been removed from the runtime images.
  • no-new-privileges, cap_drop: ALL, read_only: true, and tmpfs on /tmp have been added to the docker-compose.yml and docker-compose.flextesa.yml files.
  • CORS in the API: The Authorization header has been removed from the allow-list, and the AllowCredentials option has been disabled.

Lambda parsing fix (#1093)

Insecure type checks for l.Value.(string) in the file internal/bcd/ast/lambda.go have been removed—previously, they caused a panic or 500 error when the lambda value was incorrect.
FromJSONSchema now validates input data: non-string values, empty code, and invalid Michelson expressions return ErrValidation (i.e., 400 instead of 500).
A CaptureException with the endpoint tag is now sent to Sentry instead of CaptureMessage. Tests have been added (lambda_test.go, ast_test.go).

Configuration (#1079)

The initial indexing level for Tezos X has been moved to the TEZOSX_START_LEVEL environment variable

Commits