- Enhanced the README to clarify the publication of security scan results to a dedicated markdown file. - Modified `scan_skills.py` to generate both a human-readable report and a machine-readable JSON report, ensuring consistency checks before CI publishing. - Updated the GitHub Actions workflow to validate the scan report and commit the new reports, replacing the previous SECURITY.md approach with separate report files. This change improves the clarity and accessibility of security information for users and contributors.
2.9 KiB
Security Scan Report
Status: awaiting regeneration — no validated report is currently published.
This file is the output of the automated skill scan described in the Security Policy. It is regenerated by scan_skills.py and published by .github/workflows/security-scan.yml only after validate_report.py confirms the scan's claims are consistent with the contents of skills/.
Why there is no report here yet
The previous report was withdrawn rather than relocated. Verification against the repository showed it contained findings that cannot be true of the packages they describe. For example:
| Skill | The report claimed | Actually in the package |
|---|---|---|
seaborn |
13 files including 3 Python scripts forming an "exfiltration chain across 3 files" | 4 files, no executable files |
umap-learn |
23 files including 6 Python scripts, withheld to evade detection | 2 files, no executable files |
tiledbvcf |
3 Python files harvesting TILEDB_REST_TOKEN |
1 file, no executable files |
venue-templates |
Environment-variable exfiltration in scripts/generate_schematic_ai.py and scripts/generate_schematic.py |
Neither file exists here; both belong to a different skill (scientific-schematics) |
These are defects in the scan pipeline, not findings about the skills. Because the report was published automatically each week with no check on its plausibility, the errors were republished unreviewed — and because the report occupied the SECURITY.md filename, GitHub presented it as this project's official security policy.
Two changes address that:
- The security policy is now hand-authored at
SECURITY.md, and the scan report lives here instead. validate_report.pynow runs between the scan and the commit. It fails the workflow when a report anchors a finding to a file that is not present, describes cross-file behavior in a package too small to have any, or asserts a script count the package does not have. A failing scan no longer publishes anything.
The withdrawn report remains in version control for reference:
git show a177179:SECURITY.md
What replaces it
The next scheduled run regenerates this file. If it passes validation, this page is replaced by the report; if it fails, the workflow fails, this page stays as it is, and the failure output names each claim that could not be reconciled with the repository.
Investigating the underlying pipeline defect — determining whether the confabulated inventories originate in per-skill scanner state, in the prompt assembly, or in the model's response — is tracked separately. The venue-templates case, where findings cite another skill's files by name, points toward contamination between skills within a single scan run rather than a per-skill parsing error.