From security-ghas
Use when fixing CodeQL SAST alerts — maps CodeQL rule IDs and CWE categories to specific code fix patterns for injection, deserialization, path traversal, weak crypto, and missing auth
How this skill is triggered — by the user, by Claude, or both
Slash command
/security-ghas:ghas-codeql-remediationThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Fix GitHub CodeQL alerts by applying rule-specific and CWE-specific code transforms. Each fix pattern targets the root cause identified by CodeQL's dataflow analysis.
Fix GitHub CodeQL alerts by applying rule-specific and CWE-specific code transforms. Each fix pattern targets the root cause identified by CodeQL's dataflow analysis.
java/sql-injection, js/sql-injection, python/sql-injection, csharp/sql-injectioncursor.execute(query, params) instead of f-stringsPreparedStatement instead of Statement? placeholdersSqlCommand with SqlParameterjs/xss, java/xss, python/xss<, >, &, ")js/command-line-injection, python/command-line-injectionsubprocess.run(["cmd", arg]) instead of os.system(f"cmd {arg}")execFile("cmd", [arg]) instead of exec("cmd " + arg)ObjectInputStream on untrusted data, use JSON with Jackson/Gsonpickle.loads() on untrusted data, use json.loads()System.Text.Json with JsonSerializerOptions type restrictions.. sequenceswrite-security-tests skillnpx claudepluginhub gagandeepp/software-agent-teams --plugin security-ghasGuides completion of development work by verifying tests, detecting environment, and presenting structured options for merge, PR, or cleanup.
Enforces test-driven development: write failing test first, then minimal code to pass. Use when implementing features or bugfixes.
Guides creation and editing of skills using test-driven development with pressure scenarios and subagents to verify agent compliance.