Skip to content

test(chat-api): add adversarial unit tests for prompt injection #7

test(chat-api): add adversarial unit tests for prompt injection

test(chat-api): add adversarial unit tests for prompt injection #7

Triggered via pull request March 14, 2026 11:52
Status Success
Total duration 4m 39s
Artifacts

codeql.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

13 warnings
Analyze C#
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/setup-dotnet@v4, github/codeql-action/analyze@v3, github/codeql-action/autobuild@v3, github/codeql-action/init@v3. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Analyze C#: src/Biotrackr.Sleep.Svc/Biotrackr.Sleep.Svc/Models/FitbitEntities/SleepData.cs#L10
Non-nullable property 'Level' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Analyze C#: src/Biotrackr.Sleep.Svc/Biotrackr.Sleep.Svc/Models/FitbitEntities/SleepResponse.cs#L10
Non-nullable property 'Summary' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Analyze C#: src/Biotrackr.Sleep.Svc/Biotrackr.Sleep.Svc/Models/FitbitEntities/SleepResponse.cs#L8
Non-nullable property 'Sleep' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Analyze C#: src/Biotrackr.Sleep.Svc/Biotrackr.Sleep.Svc/Models/FitbitEntities/Summary.cs#L8
Non-nullable property 'Stages' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Analyze C#: src/Biotrackr.Sleep.Svc/Biotrackr.Sleep.Svc/Configuration/Settings.cs#L6
Non-nullable property 'ContainerName' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Analyze C#: src/Biotrackr.Sleep.Svc/Biotrackr.Sleep.Svc/Configuration/Settings.cs#L5
Non-nullable property 'DatabaseName' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Analyze C#: src/Biotrackr.Sleep.Svc/Biotrackr.Sleep.Svc/Models/SleepDocument.cs#L10
Non-nullable property 'DocumentType' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Analyze C#: src/Biotrackr.Sleep.Svc/Biotrackr.Sleep.Svc/Models/SleepDocument.cs#L9
Non-nullable property 'Date' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Analyze C#: src/Biotrackr.Sleep.Svc/Biotrackr.Sleep.Svc/Models/SleepDocument.cs#L8
Non-nullable property 'Sleep' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Analyze C#: src/Biotrackr.Sleep.Svc/Biotrackr.Sleep.Svc/Models/SleepDocument.cs#L7
Non-nullable property 'Id' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the property as nullable.
Analyze C#
Cannot build an overlay database because build-mode is set to "undefined" instead of "none". Falling back to creating a normal full database instead.
Analyze C#
CodeQL Action v3 will be deprecated in December 2026. Please update all occurrences of the CodeQL Action in your workflow files to v4. For more information, see https://github.blog/changelog/2025-10-28-upcoming-deprecation-of-codeql-action-v3/