{"id":39534091,"url":"https://github.com/jitendar-singh/securitymind","last_synced_at":"2026-01-18T06:31:54.584Z","repository":{"id":310805444,"uuid":"1041189024","full_name":"jitendar-singh/securitymind","owner":"jitendar-singh","description":"Security Mind: AI-Powered Application Security Posture Management (ASPM) Platform","archived":false,"fork":false,"pushed_at":"2025-09-05T11:36:42.000Z","size":1683,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-05T13:25:54.950Z","etag":null,"topics":["agentspace","ai-agents","application-security","cloud-security","cybersecurity","gcp","gemini-ai","google-adk","security-command-center"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jitendar-singh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-08-20T05:47:50.000Z","updated_at":"2025-09-05T11:47:49.000Z","dependencies_parsed_at":"2025-08-20T11:36:49.476Z","dependency_job_id":"d22682fe-84fa-4e5a-a98a-6f56add4067a","html_url":"https://github.com/jitendar-singh/securitymind","commit_stats":null,"previous_names":["jitendar-singh/securitymind"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jitendar-singh/securitymind","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jitendar-singh%2Fsecuritymind","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jitendar-singh%2Fsecuritymind/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jitendar-singh%2Fsecuritymind/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jitendar-singh%2Fsecuritymind/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jitendar-singh","download_url":"https://codeload.github.com/jitendar-singh/securitymind/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jitendar-singh%2Fsecuritymind/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28531997,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agentspace","ai-agents","application-security","cloud-security","cybersecurity","gcp","gemini-ai","google-adk","security-command-center"],"created_at":"2026-01-18T06:31:54.475Z","updated_at":"2026-01-18T06:31:54.564Z","avatar_url":"https://github.com/jitendar-singh.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Security Mind: AI-Powered Security Posture Management (ASPM) Platform\n\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)\n[![Build Status](https://img.shields.io/badge/build-passing-brightgreen.svg)](https://github.com/jitendar-singh/securitymind/actions)\n[![Security](https://img.shields.io/badge/security-active-green.svg)](https://github.com/jitendar-singh/securitymind/security)\n\nSecurity Mind is an innovative, multi-agent AI system designed to enhance security posture management (ASPM). Built on advanced AI architectures, it leverages collaborative agents to automate security workflows, identify risks, ensure compliance, and support DevSecOps practices. Whether you’re triaging vulnerabilities, reviewing code, or generating reports, Security Mind provides intelligent, actionable insights to secure your applications throughout the software development lifecycle.\n\n## Key highlights:\n\n- **Multi-Agent Architecture:** Specialized agents (e.g., compliance, threat detection, remediation) work together for complex tasks.\n- **Integration-Friendly:** Supports tools like Jira, GitHub, and cloud APIs (e.g., GCP, AWS).\n- **AI-Powered:** Utilizes LLMs for natural language queries, threat modeling, and policy interpretation.\n- **Focus Areas:** Vulnerability management, license compliance, code reviews, and more.\n\nSecurity Mind is ideal for security engineers, developers, and compliance teams aiming to reduce risk exposure and accelerate secure development.\n\n## 🚀 Features\n\n- **Security Posture Reporting:** Generate comprehensive reports on project security, including access management, vulnerabilities, and compliance gaps.\n- **CVE Triage:** Analyze CVEs for severity, impact, affected versions, and mitigation strategies.\n- **License Compliance Checks:** Review open-source packages for license types (e.g., MIT, GPL) and policy adherence.\n- **Policy Interpretation:** Query security policies for details like copyleft licenses or SLAs in vulnerability management.\n- **Code/PR Reviews:** Scan pull requests for security issues, best practices, and vulnerabilities.\n- **Ticket Creation:** Automate Jira (or similar) ticket generation for issues and remediations.\n- **Threat Modeling:** Perform structured threat assessments using frameworks like STRIDE.\n- **Cloud Resource Scanning:** List and audit resources (e.g., in GCP) for security misconfigurations.\n- **Extensible:** Easily add custom agents or tools for specific use cases.\n\n## Examples\n\n### 🛡️ Triage a CVE\n\n- **Description**: Triages vulnerabilities using NVD API and checks licenses across ecosystems (pypi, npm, maven, etc.) with auto-detection and web search fallbacks.\n- **Prompt Examples**:\n  - `\"What is the license for the @azure/identity package?\"` (auto-detects npm)\n  - `\"Triage this vulnerability: CVE-2023-4863 affecting our web server.\"`\n  - `\"Analyze this SBOM: [SBOM JSON content]\"`\n\n### 🛡️ code_review_agent\n\n- **Description**: Performs AI-driven code reviews using Gemini, focusing on code smells, security, readability, and best practices. Supports auto-language detection and GitHub PR diffs.\n- **Prompt Examples**:\n  - `\"Review this code: def add(a, b): return a + b\"`\n  - `\"Review the security of this pull request: https://github.com/org/repo/pull/123\"`\n\n### 📋 jira_agent\n\n- **Description**: Creates Jira issues from findings or requests, integrated via Atlassian API.\n- **Prompt Examples**:\n  - `\"Create a Jira ticket for the SQL injection vulnerability in auth module.\"`\n  - `\"Track new feature: Implement MFA.\"`\n\n### 📚 policy_agent\n\n- **Description**: Reads and summarizes policies from local files (txt, pdf, docx) or Confluence.\n- **Prompt Examples**:\n  - `\"Summarize our open-source license policy.\"`\n  - `\"List available policies.\"`\n\n### ☁️ cloud_compliance_agent\n\n- **Description**: Inventories GCP resources and assesses security posture using Cloud Asset Inventory and Security Command Center APIs. Supports overall posture summaries with findings by severity.\n- **Prompt Examples**:\n  - `\"Check resources in project my-project-id\"`\n  - `\"IAM Recommendations for (Least Privilege)\"`\n  - `\"Identified service account access keys older than the recommended 90 days.\"`\n  - `\"Check overall security posture of GCP project my-project-id\"`\n\n### 🔒 app_sec_review_agent\n\n- **Description**: Conducts threat modeling for applications, gathering details on framework, networking, deployment, and cloud env, then generates a sectioned report with recommendations using STRIDE model.\n- **Prompt Examples**:\n  - `\"Perform threat modeling for my web app using Django on AWS.\"`\n  - `\"App sec review: Framework - React/Node, Deployment - GCP Kubernetes.\"`\n\n## 🧑‍💻 How to Use\n\nInteract with SecurityMind by posing natural language queries. It delegates automatically—no need to specify sub-agents. For advanced use, upload SBOMs or provide code snippets/PR URLs.\n\n## 🛠️ Tools\n\nSecurityMind uses these tools for delegation and execution:\n\n- `transfer_to_agent(agent_name: str)`: Hands off to another agent.\n- Sub-agent specific tools (e.g., `review_code`, `triage_vulnerability`, `parse_sbom`—see code for details).\n\n## 📦 Setup Instructions\n\n1. Clone the repository:\n   \n   ```\n   git clone https://github.com/jitendar-singh/securitymind.git\n   cd securitymind\n   ```\n2. Install dependencies:\n   \n   ```\n   pip install -r requirements.txt\n   ```\n3. Set environment variables in `.env`:\n- `GOOGLE_API_KEY`: For Gemini models.\n- `NVD_API_KEY`: For vulnerability triage (get from https://nvd.nist.gov/developers/request-an-api-key).\n- `JIRA_URL`, `JIRA_USER`, `JIRA_TOKEN`: For Jira integration.\n- Optional: `CONFLUENCE_URL`, etc., for policy agent.\n- `GOOGLE_APPLICATION_CREDENTIALS`: Path to GCP service account key for cloud compliance.\n- `GOOGLE_CLOUD_PROJECT`: Default GCP project ID.\n4. Run the application:\n   \n   ```\n   adk web\n   ```\n\n## 📘 Usage Examples\n\n```python\n# Vulnerability triage\nresponse = secmind.handle_request(\"Triage CVE-2023-4863\")\n\n# License check with auto-detection\nresponse = secmind.handle_request(\"License for numpy\")\n\n# Code review\nresponse = secmind.handle_request(\"Review: print('Hello')\")\n\n# SBOM analysis\nsbom_json = '{\"bomFormat\": \"CycloneDX\", \"components\": [{\"purl\": \"pkg:npm/@azure/identity\"}]}'\nresponse = secmind.handle_request(f\"Analyze SBOM: {sbom_json}\")\n\n# Jira creation\nresponse = secmind.handle_request(\"Create Jira for high severity vuln\")\n\n# Cloud compliance\nresponse = secmind.handle_request(\"Check overall security posture for projects/my-project-id\")\n\n# App sec review\nresponse = secmind.handle_request(\"App sec review: Framework - .NET, Deployment - GCP\")\n```\n\n## Workflow\n\n![secmind-workflow](https://github.com/user-attachments/assets/40c17280-4b1d-4425-8778-ea9f5769c292)\n\n## FAQ\n**Q: Does SecMind require internet access?**\n- `\"Yes, for API integrations and real-time data; offline mode available for local scans.\"`\n\n**Q: Is it secure?**\n- `\"Yes, uses encrypted connections; no user data stored.\"`\n\n**Q: Supported clouds?**\n- `\"GCP (primary), AWS, Azure (beta).\"`\n\n**Q: How to extend?**\n- `\"Add agents via Python classes; see docs.\"`\n\n\n## Roadmap\n- **v1.0:** Core features (current).\n- **v1.1:** AWS/Azure full support, UI dashboard.\n- **v1.2:** ML-based anomaly detection.\n- **v2.0:** Enterprise integrations (e.g., Splunk, SIEM).\nTrack progress on GitHub Issues.\n\n\n## 🤝 Contributing\n\nContributions welcome! See [CONTRIBUTING.md](https://github.com/jitendar-singh/securitymind/blob/main/CONTRIBUTING.md) for guidelines. For issues, use GitHub Issues.\n\n## 📄 License\n\nThis project is licensed under the MIT License - see the [LICENSE](https://github.com/jitendar-singh/securitymind/blob/main/LICENSE) file for details.\n\n## About\n\nBuilt by [Jitendar Singh](https://github.com/jitendar-singh). For SaaS hosting or custom integrations, contact via GitHub.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjitendar-singh%2Fsecuritymind","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjitendar-singh%2Fsecuritymind","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjitendar-singh%2Fsecuritymind/lists"}