How popla69/poplashield works
PoplaShield is an adaptive defense system that analyzes simulated attacks, updates defenses, and saves learned state for later runs. Its main workflow is launched by the training runner: initialize and start the shield, then train it with simulated attacks and optionally run targeted adversarial rounds. The sampled code shows the defense engine’s threat analysis and evolution, plus monitoring and persistence. Training and adversarial behavior are described in the excerpts, but some implementation details are omitted; unsupported internal links are therefore left out.
Main entry points: popla_shield.py Shield Orchestrator · run_training.py Training Runner · shield_trainer.py Shield Trainer · shield_config.json Shield Configuration
Components 13
Training
- Training Runner
PoplaShield/run_training.py - Attack Simulator
PoplaShield/shield_trainer.py - Shield Trainer
PoplaShield/shield_trainer.py - Adversarial Trainer
PoplaShield/shield_trainer.py
Shield Runtime
- Shield Orchestrator
PoplaShield/popla_shield.py - Attack Signature
PoplaShield/popla_shield.py - Adaptive Defense Engine
PoplaShield/popla_shield.py
Analysis & Evolution
- Threat Intelligence
PoplaShield/popla_shield.py - Defense Rules & Evolution
PoplaShield/popla_shield.py
State & Monitoring
- Runtime Monitor
PoplaShield/popla_shield.py - Shield Configuration
PoplaShield/shield_config.json - Saved Defense State
PoplaShield/defense_state.pkl
Other components
- Operator
Connections 14
- Operator → Training Runner: starts
PoplaShield/run_training.py - Training Runner → Shield Orchestrator: initializes
PoplaShield/run_training.py - Training Runner → Shield Trainer: starts training
PoplaShield/run_training.py - Training Runner → Adversarial Trainer: optionally runs
PoplaShield/run_training.py - Shield Trainer → Attack Simulator: creates
PoplaShield/shield_trainer.py - Shield Trainer → Shield Orchestrator: submits attacks
PoplaShield/shield_trainer.py - Adversarial Trainer → Shield Orchestrator: submits attacks
PoplaShield/shield_trainer.py - Shield Orchestrator → Shield Configuration: loads
PoplaShield/popla_shield.py - Shield Orchestrator → Adaptive Defense Engine: creates
PoplaShield/popla_shield.py - Shield Orchestrator → Runtime Monitor: creates
PoplaShield/popla_shield.py - Adaptive Defense Engine → Threat Intelligence: analyzes attacks
PoplaShield/popla_shield.py - Adaptive Defense Engine → Defense Rules & Evolution: evolves defenses
PoplaShield/popla_shield.py - Shield Orchestrator → Runtime Monitor: starts monitoring
PoplaShield/popla_shield.py - Adaptive Defense Engine → Saved Defense State: loads and saves
PoplaShield/popla_shield.py