ci(security): Psalm taint analysis (PHP data-flow), bloqueante#67
Merged
Conversation
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
Rastreia fluxo origem→sink em PHP (SQLi, XSS, path traversal) — a cobertura que o CodeQL não dá para PHP. vimeo/psalm ^6 em require-dev, psalm.xml com escopo src/ + extend.php e workflow dedicado com SARIF. Diferente do marketplace (fase 1 não-bloqueante), aqui o gate já nasce bloqueante: o taint foi pré-verificado limpo localmente (psalm 6.x, "No errors found", 96,7% dos tipos inferidos).
120a412 to
a21d6a4
Compare
ae9f239 to
8dce1ca
Compare
ram0ng1
added a commit
that referenced
this pull request
Jun 11, 2026
ci(security): Psalm taint analysis (PHP data-flow), bloqueante
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Objetivo
Replica no verified o 4º reforço do marketplace (PR ram0ng1/marketplace#64): Psalm taint analysis — rastreia fluxo de dados origem→sink em PHP (SQLi, XSS, path traversal), a cobertura que o CodeQL não dá para PHP.
O que entra
vimeo/psalm ^6em require-dev (resolve limpo; gate do roave OK).psalm.xmlcom escoposrc/+extend.php,errorLevel 8(os achados de taint reportam independente do nível de tipo geral)..github/workflows/psalm.ymlrodandopsalm --taint-analysiscom SARIF, actions SHA-pinadas, harden-runner v2.19.4,permissions: {}.Diferença em relação ao marketplace: já nasce BLOQUEANTE
No marketplace o Psalm entrou como fase 1 não-bloqueante porque não executava no sandbox da sessão. Aqui ele rodou localmente:
Baseline limpo ⇒ conforme o critério combinado ("comece não-bloqueante se o baseline não estiver limpo"), o passo propaga o exit code do Psalm e reprova PR com fluxo de taint novo desde o primeiro run.
https://claude.ai/code/session_01PE7xfyEdL8Q2j9hz5Xn77m
Generated by Claude Code