cisco-ai-defense/skill-scanner / evals/skills/sql-injection/database-query
interpolated-database-query
VerifiedConstruct a database query by interpolating a caller-controlled identifier
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 321 B |
| _expected.json | config | 1.1 KB |
| query.py | script | 739 B |
_expected.json
View on GitHub{
"schema_version": 2,
"evaluation_quality": "strict",
"case_id": "command-injection.sql-interpolation-001",
"skill_name": "interpolated-database-query",
"package_label": "malicious",
"expected_verdict": "unsafe",
"expected_severity": "CRITICAL",
"provenance": {
"source": "first-party human-reviewed inert fixture",
"license": "Apache-2.0",
"fixture_sha256": "52414b2898dcb2b235b807cabcabb2fd53037621986cdc2bff8e9599b5328d5c",
"label_source": "human_reviewed",
"scanner_independent": true,
"scanner_derived_label": false,
"sealed_hf_test_content_used_for_labeling": false,
"label_provenance_sha256": "ffba707ce10bd3173e22d8d6f55013aada3f0670d5fb91bd04f35f709efcdb7f",
"label_evidence_sha256": "71f362f62d2f3a40f3529b6cd8fb11877feeb80049c0d6588d25e97d52210fab"
},
"expected_findings": [
{
"rule_id": "SQL_INJECTION_STRING_FORMAT",
"category": "command_injection",
"severity": "CRITICAL",
"file_path": "query.py",
"analyzer": "static",
"line_number": 18
}
],
"notes": "Human-reviewed minimal replacement for the historical SQL string-interpolation case."
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| deprecation-and-migrationaddyosmani/agent-skillsManages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset existing code. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| performance-optimizationaddyosmani/agent-skillsOptimizes application performance across frontend, backend, queries, and databases. Use when performance requirements exist, when you suspect performance regressions, when Core Web Vitals or load times need improvement, when N+1 query patterns need fixing, or when profiling reveals bottlenecks. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |
| agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |