# security-sentinel > Detects common security vulnerabilities like hardcoded secrets. - Author: ahmedhesham2020 - Repository: ahmedhesham2020/AI_Skills - Version: 20260131224046 - Stars: 0 - Forks: 0 - Last Updated: 2026-02-06 - Source: https://github.com/ahmedhesham2020/AI_Skills - Web: https://mule.run/skillshub/@@ahmedhesham2020/AI_Skills~security-sentinel:20260131224046 --- --- name: security-sentinel description: Detects common security vulnerabilities like hardcoded secrets. --- # Skill: Security Sentinel 🛡️ ## Description Detects common security vulnerabilities (like hardcoded secrets or unsafe inputs) and suggests safer alternatives. ## Trigger Criteria - **Patterns:** Detecting strings like `API_KEY`, `PASSWORD`, or `SECRET`. - **Functions:** Use of unsafe functions (e.g., `eval()`, `exec()`, or raw SQL queries). ## Instructions 1. **Audit:** Identify any hardcoded credentials or dangerous function calls. 2. **Warn:** Proactively alert the user about the specific risk (e.g., "Hardcoded keys can be leaked in version control"). 3. **Remedy:** Suggest using environment variables or parameterized queries instead. ## Suggestions Logic - **Context:** When the user enters code containing high-risk strings or functions. - **Action:** Alert the user to the specific line and offer a fix. - **Dialogue Template:** "I've detected a potential security risk here. Would you like me to help you move this to an environment variable or use a safer function?"