Backslash Security Unveils Tools to Secure AI-Generated Code
Backslash Security has revealed that popular large language models (LLMs), including OpenAI's GPT-4.1, generate insecure code by default unless explicitly prompted with security guidelines. This was announced in a recent press release. The company tested seven versions of LLMs from OpenAI, Anthropic, and Google, finding that all models produced insecure code when given simple prompts. However, when prompted with security-focused instructions, the code's security improved significantly.
To address these security gaps, Backslash Security is launching several new features, including the Model Context Protocol (MCP) Server and rules for Agentic IDEs like Cursor and GitHub Copilot in VS Code. These tools aim to ensure that AI-generated code is secure from the outset by integrating security rules directly into the coding process. The company will demonstrate these capabilities at the RSA Conference 2025.
Backslash's new offerings include machine-readable rules that can be injected into prompts to cover Common Weakness Enumeration (CWE) cases and an IDE extension that provides security reviews for both human and AI-generated code. The MCP Server connects Backslash to AI tools, enabling secure coding and vulnerability scanning, thus supporting the emerging "vibe coding" paradigm where developers rely on AI to generate code based on intuition rather than formal planning.
We hope you enjoyed this article.
Consider subscribing to one of several newsletters we publish like Cybersecurity AI Weekly.
Also, consider following us on social media:
Subscribe to Daily AI Brief
Daily report covering major AI developments and industry news, with both top stories and complete market updates
Market report
2025 Generative AI in Professional Services Report
This report by Thomson Reuters explores the integration and impact of generative AI technologies, such as ChatGPT and Microsoft Copilot, within the professional services sector. It highlights the growing adoption of GenAI tools across industries like legal, tax, accounting, and government, and discusses the challenges and opportunities these technologies present. The report also examines professionals' perceptions of GenAI and the need for strategic integration to maximize its value.
Read more