From: https://github.com/RootUp/SmuggleShield
SmuggleShield is a browser extension that aims to prevent HTML smuggling attacks by detecting common patterns. While this is not a comprehensive or bulletproof solution, it is an attempt to provide an additional layer of security during browsing or during your red/purple team exercise.
The extension is compatible both on Chrome and Edge for Mac and Windows OS. It combines both pattern-based detection and ML-based analysis. The MLDetector extracts six key features (base64Length, blobUsage, downloadAttr, scriptDensity, encodingFunctions, binaryManipulation) and makes predictions using a 0.75 confidence threshold, with a continuous learning loop where the MLMonitor tracks performance metrics and feeds results back to improve detection accuracy.