Downloads · 30 days
0
s-h-y-a-m-123/ddos-detection-shield
ddos-detection-shield is a machine learning model from s-h-y-a-m-123. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
Pre-trained PPO (Proximal Policy Optimization) model for DDoS/DoS attack detection.
Downloads · 30 days
0
Access
Public
Updated Apr 8, 2026
Repo size
146 KB
Likes
0
Public
Click a slice to open those files.
.zip144 KB · 94%
From the Hugging Face model README
Pre-trained PPO (Proximal Policy Optimization) model for DDoS/DoS attack detection.
import sys
sys.path.insert(0, 'backend')
from detection_engine import engine
result = engine.analyze_request(
source_ip="192.168.1.1",
request_data={
"path": "/api/endpoint",
"method": "GET",
"body": "",
"headers": {},
"port": 443,
"protocol": "https"
}
)
print(f"Score: {result['detection_score']}")
print(f"Attack Type: {result['attack_type']}")
print(f"Severity: {result['severity']}")
See the main repository for complete setup and deployment instructions: https://github.com/anomalyco/ddos-detection-shield
MIT License