
SHASTRA is a lightweight and efficient security scanner focused on helping developers and security teams detect vulnerabilities early. Designed with simplicity and precision, SHASTRA offers the following core features: ๐น Source Code Analysis: SHASTRA scans through source code to identify common security flaws such as SQL Injection, Cross-Site Scripting (XSS), and Sensitive Data Exposure using carefully crafted regex patterns. It inspects code for risky constructs, insecure coding practices, and sensitive information leaks. ๐น Server Log Analysis: Beyond static code review, SHASTRA analyzes server log files to detect suspicious behaviors, unauthorized access patterns, error leaks, and exposure of critical information that may compromise the systemโs integrity. ๐น Regex-Based Vulnerability Detection: SHASTRA uses powerful regular expressions to quickly detect vulnerabilities without needing heavy or resource-intensive engines. This allows fast, targeted scanning with minimal setup or overhead. ๐น User-Friendly Streamlit Interface: The tool is powered by Streamlit, offering a clean and interactive web-based dashboard. Users can easily upload files, trigger scans, and view results in an organized and visual format without dealing with complex command-line operations. ๐น Detailed Reporting: After scanning, SHASTRA generates detailed and easy-to-understand reports highlighting vulnerabilities, their potential impact, and code snippets/log entries where issues were detected, aiding faster debugging and patching. ๐น Lightweight and Fast: Designed to be minimalistic, SHASTRA delivers quick scanning without bloating your development environment. Its lightweight architecture ensures that security checks can be easily integrated into any workflow. ๐น Extensible and Maintainable: SHASTRAโs pattern-matching engine is modular, allowing developers to extend the tool by adding new regex patterns or rules as new vulnerabilities emerge or project-specific needs arise.
1 May 2025