Large Language Models (LLMs) have demonstrated remarkable proficiency in both understanding and generating natural language, which has contributed to their rapid adoption across various domains. Yet, their widespread use has also exposed them to emerging security threats, most notably prompt injection attacks. Such attacks can compromise model behavior and potentially reveal sensitive in-formation. This research explores the phenomenon of prompt injection and sur-veys existing defense mechanisms, with a particular focus on developing and evaluating detection approaches. The study formulates the detection task as a bi-nary text classification problem, distinguishing between malicious and benign prompts. Central to the analysis is the application of the BERT architecture and its lightweight variants. The main objective is to compare the performance of small-er, fine-tuned BERT-based models in identifying malicious inputs. The underly-ing hypothesis suggests that these compact models, when properly adapted, can outperform larger counterparts in detecting and mitigating injection-based attacks due to their efficiency and adaptability
Proactive video surveillance demands efficient and accurate models for real-time analysis, especially in the context of protecting vulnerable groups such as the el-derly and children in public spaces. This paper presents a modular system for fall detection, a critical component of such surveillance that enables rapid emergency response. The system utilizes the YOLO11x-pose model to perform human pose estimation, processing video from diverse sources (local files, webcams, RTSP streams) to identify 17 skeletal keypoints. Its core innovation lies in detecting a fall as a dynamic transition from a standing or sitting posture to a lying state, which significantly reduces false alarms compared to static pose analysis. The methodology employs a PoseTracker for multi-person tracking and a PoseAna-lyzer that classifies posture based on biomechanical parameters (e.g., torso angle, knee angle, bounding box aspect ratio). The system generates dual outputs: a vis-ually annotated video for human review and structured JSON data for real-time integration with external alarm systems (e.g., VMS). This configurable and ro-bust solution provides a practical foundation for automated safety monitoring.