Skip to content

test: add 15 C security scanner fixtures - #205

Open
WNZhao wants to merge 1 commit into
profullstack:masterfrom
WNZhao:test/c-security-fixtures
Open

test: add 15 C security scanner fixtures#205
WNZhao wants to merge 1 commit into
profullstack:masterfrom
WNZhao:test/c-security-fixtures

Conversation

@WNZhao

@WNZhao WNZhao commented Aug 24, 2026

Copy link
Copy Markdown

Summary

Adds 15 inert C security-scanner fixtures focused on memory safety, injection, authentication, path handling, integer overflow, and information exposure. Each fixture contains vulnerable markers and a safe control behind the compile-time false NEVER_RUN guard.

Validation

  • all 15 files pass clang -std=c11 -Wall -Wextra -Werror -Wno-format-security -fsyntax-only (the format-security warning is the intentional CWE-134 fixture)
  • bash scripts/validate-test-case.sh passes all 6 groups
  • generated vulnerability catalogs are current
  • git diff --check passes

Submitted for the uGig per-accepted-file security fixture task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant