GitLab Duo commented on merge request !5 at Bluefly.io / OssA / Lab / GITLAB OpenStandardAgent

GitLab Duo
2026-03-28T10:52:43Z

The nonce generation uses time.Now().UTC().UnixNano() which could potentially collide if multiple requests happen in the same nanosecond. Consider adding additional entropy or using a proper UUID.

nonce := fmt.Sprintf("duadp-%d-%s", time.Now().UTC().UnixNano(), uuid.New().String()[:8])