Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
borghei avatar

Threat Detection

  • 57 installs
  • 451 repo stars
  • Updated July 21, 2026
  • borghei/claude-skills

threat-detection is a Claude skill that analyzes log files for brute force, injection, and privilege-escalation threat signals.

About

Threat-detection analyzes log files for suspicious patterns like brute force attacks, injection attempts, unusual access, and privilege escalation. It classifies findings by threat category and severity and outputs JSON for SIEM integration. Security teams use it to triage log data and investigate incidents.

  • Analyzes log files for brute force, injection, and privilege-escalation patterns
  • Detects SQL injection, XSS, path traversal, command injection, and rate flooding
  • JSON output for SIEM integration and a min-severity threshold

Threat Detection by the numbers

  • 57 all-time installs (skills.sh)
  • Ranked #1,255 of 2,203 Security skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

threat-detection capabilities & compatibility

Capabilities
threat detection · log analysis · incident response
Use cases
security audit · data analysis
Pricing
Free
From the docs

What threat-detection says it does

Identifies repeated failed login attempts from same source
SKILL.md
Detects SQL injection, XSS, command injection in requests
SKILL.md
npx skills add https://github.com/borghei/claude-skills --skill threat-detection

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs57
repo stars451
Last updatedJuly 21, 2026
Repositoryborghei/claude-skills

What it does

Analyze auth and access logs for brute force, injection, and privilege-escalation threats and triage by severity.

Who is it for?

Security teams triaging auth and access logs or investigating an incident.

Skip if: Static code security review or infrastructure misconfiguration scanning.

When should I use this skill?

Analyzing logs for threats, scanning for brute force, or auditing access patterns for anomalies.

What you get

A severity-ranked threat report per log source, ready for SIEM integration.

  • threat report
  • incident timeline
  • severity-ranked findings

By the numbers

  • 6 threat categories
  • 4 severity levels

Files

SKILL.mdMarkdownGitHub ↗

Threat Detection

Category: Engineering
Domain: Security Operations

Overview

The Threat Detection skill provides automated analysis of log files for suspicious patterns including brute force attacks, injection attempts, unusual access patterns, and privilege escalation indicators. It helps security teams triage log data and identify threats before they escalate.

Quick Start

# Analyze a log file for threat signals
python scripts/threat_signal_analyzer.py --file /var/log/auth.log

# Analyze with specific threat category
python scripts/threat_signal_analyzer.py --file access.log --category injection

# JSON output for SIEM integration
python scripts/threat_signal_analyzer.py --file auth.log --format json

# Set minimum severity
python scripts/threat_signal_analyzer.py --file access.log --min-severity high

Tools Overview

threat_signal_analyzer.py

Analyzes log files for suspicious activity patterns across multiple threat categories.

FeatureDescription
Brute force detectionIdentifies repeated failed login attempts from same source
Injection scanningDetects SQL injection, XSS, command injection in requests
Access anomaliesFlags unusual access times, forbidden paths, admin probes
Privilege escalationDetects sudo abuse, role changes, permission modifications
Rate analysisIdentifies request flooding and denial-of-service patterns
IP reputationFlags known-bad patterns (scanners, bots, TOR indicators)

Workflows

Log Analysis Workflow

1. Collect - Gather logs from auth, access, application sources 2. Analyze - Run threat_signal_analyzer.py across log files 3. Triage - Review critical and high severity findings first 4. Correlate - Cross-reference findings across log sources 5. Respond - Block IPs, reset credentials, escalate as needed

Incident Investigation Workflow

1. Scope - Identify time window and affected systems 2. Scan - Run analyzer on all relevant log files 3. Timeline - Build timeline from threat signals 4. Impact - Assess what was accessed or modified 5. Contain - Block threat actors and patch vulnerabilities

Continuous Monitoring

# Cron job: analyze auth logs every hour
python scripts/threat_signal_analyzer.py --file /var/log/auth.log --format json --min-severity high > /tmp/threat_report.json

# CI/CD: scan application logs on deployment
python scripts/threat_signal_analyzer.py --file app.log --category injection --format json

Reference Documentation

  • Threat Indicators - Common attack patterns, indicators of compromise, response playbooks

Common Patterns Quick Reference

Threat Categories

CategorySignalsSeverity
Brute force5+ failed logins from same IP in 5 minHigh
SQL injectionUNION SELECT, OR 1=1, DROP TABLE in requestsCritical
XSSscript tags, javascript: URIs, event handlers in inputHigh
Path traversal../ sequences, /etc/passwd access attemptsHigh
Command injection; cat /etc/passwd,nc, backtick usage
Admin probing/admin, /wp-admin, /phpmyadmin access attemptsMedium
Rate flooding100+ requests/minute from single IPHigh

Severity Levels

  • CRITICAL - Active exploitation attempt (injection, RCE)
  • HIGH - Likely attack in progress (brute force, privilege escalation)
  • MEDIUM - Suspicious activity requiring investigation
  • LOW - Informational, possible false positive

Response Actions

SeverityImmediate ActionFollow-Up
CriticalBlock IP, alert SOCIncident report, forensics
HighRate limit, monitorReview access, check damage
MediumLog and monitorWeekly review
LowLog onlyMonthly trend analysis

Related skills

FAQ

What threat categories does it detect?

Brute force, SQL injection, XSS, path traversal, command injection, admin probing, and rate flooding, each with a severity level.

Can it feed a SIEM?

Yes. It supports JSON output for SIEM integration and a configurable minimum severity.

Securityappsecaudit

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.