Topic

JWT

🇷🇺Jul 22

From Hundreds of Alerts to Proven Vulnerabilities: INFERA AI.SafeCode Unifies Seven Scanners into a Single DevSecOps Pipeline

INFERA AI.SafeCode integrates seven distinct security scanners into one continuous analysis platform that automatically validates findings instead of flooding teams with unconfirmed alerts. The solution combines SAST, SCA, Secrets detection, DAST, AI-driven Pentest agents, Code Fuzzing, and API Fuzzing to deliver proof-of-exploit evidence for high-risk issues. By cross-validating results across engines, the platform reduces false positives and provides developers with actionable tasks that include reproduction steps, stack traces, and one-click AutoFix recommendations directly inside IDEs and Git workflows. Special attention is given to AI-generated code from tools such as GitHub Copilot, Cursor, and Claude, ensuring that rapid development does not introduce unvetted vulnerabilities. The system also maps full attack surfaces, tracks reachability from entry points to vulnerable sinks, and supports compliance requirements including FSTEC orders for critical information infrastructure. MLSecOps capabilities extend coverage to machine-learning pipelines, model configurations, and inference APIs. Overall, INFERA shifts AppSec from reactive alert triage to measurable risk management with clear MTTR metrics and SLA tracking.

Habr•Vulnerabilities & Exploits
🇷🇺Jul 22

Spring Security Tutorial Details Refresh Token Implementation to Complement JWT Authentication

A detailed technical guide explains how to enhance JWT-based authentication in Spring Security by introducing refresh tokens for improved security and user experience. The article covers the creation of a RefreshToken entity stored in the database, along with repository and service layers that handle token generation, verification, revocation, and rotation using UUID and expiration timestamps. It discusses security advantages such as short-lived access tokens combined with long-lived refresh tokens hashed via SHA-256 or HMAC-SHA256, while also addressing risks including database theft and XSS attacks mitigated by HttpOnly cookies. Code examples demonstrate updates to AuthService, AuthController, and SecurityConfig to support registration, login, token refresh via cookies, and logout functionality. Additional best practices include automatic token rotation on refresh and session management across multiple devices. The tutorial emphasizes minimizing credential transmission over networks while maintaining stateful token validation.

Habr•Other