T09 · Insecure Skill Coding Practices
- Location
scripts/dep_vuln_scan.py:112- Finding
OSV Query Failures Are Silently Reported as Clean Scan Results
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill is a straightforward dependency vulnerability scanner, but its results should not be treated as a strict CI gate without hardening.
Install only if you are comfortable sharing dependency names and versions with OSV.dev. For CI enforcement, fix or compensate for fail-open network handling, lossy version parsing, and invalid JSON output before relying on this as a deployment gate.
scripts/dep_vuln_scan.py:112OSV Query Failures Are Silently Reported as Clean Scan Results
scripts/dep_vuln_scan.py:21Lossy Dependency Version Parsing Can Scan a Different Version Than the Installed Package
scripts/dep_vuln_scan.py:163JSON Mode Emits Non-JSON Banner Text to Standard Output
The skill advertises behavior that reads local dependency files and queries the OSV.dev API, but it does not declare any explicit tool scope such as permissions or allowed-tools. That creates a trust and containment gap: an agent may grant broader-than-necessary file read or network access, increasing the chance of unintended data exposure or unauthorized outbound requests when the skill is invoked.
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
def query_osv(package_name, version, ecosystem):
"""Query OSV.dev API for vulnerabilities."""
url = "https://api.osv.dev/v1/query"
payload = {
"package": {"name": package_name, "ecosystem": ecosystem},
}
No suspicious patterns detected.