AI development tools such as Claude Code (Anthropic), GitHub Copilot (Microsoft/OpenAI), Cursor, Amazon CodeWhisperer, and Gemini Code Assist have become a core part of development environments in 2025. According to various studies, more than 70% of development teams worldwide use AI tools every day.
Like any new technology, AI development tools also bring additional security risks that by their nature differ from traditional threats. This guide explains the risks and how to develop securely.
Key AI development tools
Additional security risks of AI tools
1. Insecure code generated by AI
Studies show that AI tools produce code with vulnerabilities in 15%-40% of cases (depending on the tool and the prompt). Common problems:
2. Prompt Injection
Prompt Injection is one of the new AI threats that entered the OWASP Top 10 for LLMs. It is an attack in which an attacker inserts malicious instructions into data that the AI processes (a file, a README, user input) in order to make it perform unauthorized actions.
3. Code leakage to vendor servers
When you send questions to Claude, Copilot Chat, or Cursor with code in the content, the code is transmitted to the vendor's servers. If the code contains secrets (API keys, passwords, PII), these may be exposed.
4. Dependence on the AI supply chain
AI tools may suggest using insecure third-party libraries, imitate compromised libraries (typosquatting of AI-suggested packages), or recommend code with a problematic license. Checking the suggested code with SAST and SCA is mandatory.
Best practices for secure development with AI
- All AI-generated code must go through human code review before merge
- Run SAST (Static Application Security Testing) on every PR
- Use SCA (Software Composition Analysis) to vet suggested libraries
- Do not trust AI on permissions, encryption, and authentication - check manually
- Do not put API keys, passwords, or PII directly into prompts
- Use Enterprise accounts with a "No Training" policy
- Configure a strict .gitignore that includes .env, credentials, and certificates
- Scan AI-generated code for secrets before commit (git-secrets, trufflehog)
- Limit file permissions: provide access only to the specific project folders
- Do not run agentic tools with admin/root permissions
- Review every command the tool proposes to run before approving it
- Define a CLAUDE.md with clear security instructions and clear limits
- Adopt an AI Usage Policy that defines approved tools, prohibited tools, and usage limits
- Train developers on the OWASP Top 10 for LLMs
- Establish an approval process for new tools (cloud/AI committee)
- Perform Threat Modeling for every use of agentic AI in a Production environment
OWASP Top 10 for LLMs: what you need to know
OWASP has published the Top 10 for LLM applications. The risks most relevant to development with AI tools:
Frequently asked questions
Want to build a Secure Development process with AI?
SYBER provides a CISO as a Service that includes Secure SDLC consulting, OWASP training, and an AI Usage Policy for development teams.
Employee phishing simulation, in cooperation with PhishingU
Phishing is a common attack path against organizations. Beyond awareness training, you can measure how employees respond to a suspicious message and keep a record for management and for audits. Disclosure: SYBER and PhishingU are related entities. PhishingU's self-serve service starts at ₪999* per campaign, a one-time payment, up to 50 employees.
* Quick setup, one allowlisting action is required by IT, and launch is subject to a security review of up to one business day.
Five short questions · An initial direction · No signup required
CISO as a Service and DPO as a Service: not sure what you need? Five short questions
An initial direction on ISO 27001, SOC 2, CISO as a Service, DPO as a Service and privacy. No signup, and nothing is sent until you click.
SYBER is not affiliated with compliance vendors or compliance-automation platforms, is not an accreditation body and is not an independent auditor.
You can also go straight to the relevant page:
Related articles
What does a CISO do? 8 areas of responsibility, required skills, professional certifications.
What the CISO as a Service includes, how much it costs, and who needs it.
