Summary
The GitHub Sanitized Inputs compliance check currently infers input validation only from a fixed dependency-name list in package.json, requirements.txt, pyproject.toml, or composer.json files.
This causes incorrect results for repositories in unsupported languages and for repositories that are not standalone applications:
- a Go CLI with extensive explicit argument, environment-variable, JSON, response, and state validation is reported as having no input validation because
go.mod and Go validation patterns are not inspected;
- a Docker-based composite GitHub Action with only
action.yml and workflows is failed because it has no dependency file, even though its inputs are typed by the action contract and forwarded to a validating CLI;
- conversely, a large repository can pass merely because a supported library appears in an example or unrelated subdirectory.
Reproduction
- Connect GitHub to an organization with multiple repository types.
- Include a Go application/CLI whose validation is implemented with standard-library parsing and explicit checks.
- Include a GitHub Action repository with
action.yml but no package manifest.
- Include a monorepo containing a supported validation library only in an example or unrelated package.
- Run the
Sanitized Inputs check.
Actual result
- The Go repository and GitHub Action repository fail with
No input validation library found.
- The monorepo passes based on the unrelated dependency match.
- The compliance task is failed even though dependency presence alone neither proves nor disproves effective input validation.
Observed again on 2026-08-16 in the hosted Comp AI platform: two repositories passed and two failed, with the failures based only on missing supported dependency files/names.
Expected result
Use an auditable result model that distinguishes:
- supported-library detection;
- unsupported language/repository type requiring manual evidence;
- repository not applicable because it exposes no independent inbound interface; and
- verified absence of validation.
Recommended improvements:
- support Go (
go.mod) and common Go parsing/validation patterns;
- recognize GitHub Action metadata and delegated validation boundaries;
- allow per-repository applicability and evidence overrides with justification;
- scope dependency matches to relevant production packages instead of examples/tests alone; and
- report unsupported detection as
needs review, not automatically as a failed control.
No organization IDs, connection IDs, run IDs, repository names, customer names, or private code are included in this report.
Summary
The GitHub
Sanitized Inputscompliance check currently infers input validation only from a fixed dependency-name list inpackage.json,requirements.txt,pyproject.toml, orcomposer.jsonfiles.This causes incorrect results for repositories in unsupported languages and for repositories that are not standalone applications:
go.modand Go validation patterns are not inspected;action.ymland workflows is failed because it has no dependency file, even though its inputs are typed by the action contract and forwarded to a validating CLI;Reproduction
action.ymlbut no package manifest.Sanitized Inputscheck.Actual result
No input validation library found.Observed again on 2026-08-16 in the hosted Comp AI platform: two repositories passed and two failed, with the failures based only on missing supported dependency files/names.
Expected result
Use an auditable result model that distinguishes:
Recommended improvements:
go.mod) and common Go parsing/validation patterns;needs review, not automatically as a failed control.No organization IDs, connection IDs, run IDs, repository names, customer names, or private code are included in this report.