GPT-5 finding
Audit skill fetches GitHub URLs without converting to raw content or handling repo URLs, likely auditing HTML instead of code
- skills/vvvkernel-audit/SKILL.md:15-16
- skills/vvvkernel-audit/SKILL.md:21-24
Fetching a standard GitHub URL (repo root, tree, or blob) via HTTP returns HTML, not the raw file content. For repo URLs, there is no single raw file to fetch; for file URLs, the correct raw host is raw.githubusercontent.com or the GitHub API. As written, the workflow will likely ingest HTML and audit it as code, producing incorrect findings.
Recommendation
- Detect whether the GitHub URL is a file (contains /blob/) or a directory (/tree/ or repo root). - For file URLs, convert to raw.githubusercontent.com format or use the GitHub Contents API to fetch the raw file (with auth token if needed). - For repo or directory URLs, enumerate files (e.g., GitHub API to list source files by extension) and fetch each raw file. - Validate Content-Type to ensure text/plain or a known source type before auditing; reject text/html responses.