Outcome
PF-FASTAPI-SSRF-001 has a focused vulnerable case and a focused safe case so contributors can change it without relying on unrelated pack tests.
Maintainer guidance
Follow the existing helper pattern in internal/sast/frameworks/fastapi/pack_test.go. Keep this task fixture/test-only unless the new safe case exposes a narrowly demonstrated matcher defect. Do not promote rule maturity in this change.
Acceptance criteria
Scope
Start with internal/sast/frameworks/fastapi/pack_test.go and use internal/sast/frameworks/fastapi/rules.go as the contract. Refs #7.
Outcome
PF-FASTAPI-SSRF-001 has a focused vulnerable case and a focused safe case so contributors can change it without relying on unrelated pack tests.
Maintainer guidance
Follow the existing helper pattern in internal/sast/frameworks/fastapi/pack_test.go. Keep this task fixture/test-only unless the new safe case exposes a narrowly demonstrated matcher defect. Do not promote rule maturity in this change.
Acceptance criteria
Scope
Start with internal/sast/frameworks/fastapi/pack_test.go and use internal/sast/frameworks/fastapi/rules.go as the contract. Refs #7.