clorem-fine/kimi-code-skill-adapters/cybersec-detecting-sql-injection-via-waf-logs

Claude Code and agent skill by clorem-fine/kimi-code-skill-adapters

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Analyze WAF (ModSecurity/AWS WAF/Cloudflare) logs to detect SQL injection attack campaigns. Parses ModSecurity audit logs and JSON WAF event logs to identify SQLi patterns (UNION SELECT, OR 1=1, SLEEP(), BENCHMARK()), tracks attack sources, correlates multi-stage injection attempts, and generates incident reports with OWASP classification.

Install

npx vskill@latest install clorem-fine/kimi-code-skill-adapters/cybersec-detecting-sql-injection-via-waf-logs

SKILL.md

The same SKILL.md was published earlier as clorem-fine/kimi-code-skill-adapters/cybersec-detecting-sql-injection-via-waf-logs.

Nota per Kimi Code: questa skill è convertita dal pacchetto Anthropic Cybersecurity Skills. Descrivi in linguaggio naturale il task di cybersecurity che vuoi affrontare.

Detecting SQL Injection via WAF Logs

When to Use

  • When investigating security incidents that require detecting sql injection via waf logs
  • When building detection rules or threat hunting queries for this domain
  • When SOC analysts need structured procedures for this analysis type
  • When validating security monitoring coverage for related attack techniques

Prerequisites

  • Familiarity with security operations concepts and tools
  • Access to a test or lab environment for safe execution
  • Python 3.8+ with required dependencies installed
  • Appropriate authorization for any testing activities

Instructions

  1. Install dependencies: pip install requests
  2. Collect WAF logs (ModSecurity audit log, AWS WAF JSON logs, or Cloudflare firewall events).
  3. Run the agent to parse and analyze:
  • Detect SQLi payloads via 15+ regex patterns
  • Classify attacks by OWASP injection type (classic, blind, time-based, UNION-based)
  • Identify persistent attackers by IP clustering
  • Correlate multi-request injection campaigns
  • Calculate attack success probability based on response codes
bash
python scripts/agent.py --log-file /var/log/modsec_audit.log --format modsecurity --output sqli_report.json

Examples

ModSecurity SQLi Detection
Rule 942100 triggered: SQL Injection Attack Detected via libinjection
URI: /api/users?id=1' UNION SELECT username,password FROM users--
Source IP: 203.0.113.42 (47 requests in 5 minutes)
Classification: UNION-based SQLi campaign

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
1
7-day trend score
8

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/clorem-fine/kimi-code-skill-adapters/cybersec-detecting-sql-injection-via-waf-logs/badge)](https://verified-skill.com/skills/clorem-fine/kimi-code-skill-adapters/cybersec-detecting-sql-injection-via-waf-logs)

Something wrong with this skill or its page? Tell us.