Spaces:
Sleeping
Sleeping
Update README with full description, API docs, and metadata
Browse files123456789101112---title: Code Security Analyzeremoji: 🔥colorFrom: yellowcolorTo: purplesdk: gradiosdk_version: 6.13.0app_file: app.pypinned: false---Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference1234567891011121314151617181920212223242526272829303132333435363738394041424344---title: Code Security Risk Analyzeremoji: 🔒colorFrom: redcolorTo: purplesdk: gradiosdk_version: 5.33.0app_file: app.pypinned: truelicense: apache-2.0tags:- security- vulnerability-detection- owasp- cwe- code-analysis- static-analysisshort_description: AI-powered code vulnerability detection with OWASP mapping---# 🔒 Code Security Risk AnalyzerAI-powered multi-label vulnerability detection across **30 CWE categories** mapped to **OWASP Top 10 2021**. Supports Python, JavaScript, Java, C, C++, PHP, and Go.## Features- **Detection Model:** [GraphCodeBERT classifier](https://huggingface.co/ayshajavd/graphcodebert-vuln-classifier) trained on 175K+ labeled code samples- **Fix Generator:** [CodeT5+](https://huggingface.co/ayshajavd/codet5p-vuln-fixer) fine-tuned to suggest secure code replacements- **Structured Reports:** CWE ID, OWASP category, severity score, exploit likelihood, plain English explanation- **Attack Chain Analysis:** Multi-vulnerability chaining analysis- **REST API:** JSON endpoint for integration into CI/CD pipelines## API Usage```pythonfrom gradio_client import Clientclient = Client("ayshajavd/code-security-analyzer")report = client.predict(code="your code here", api_name="/get_json_report")```## Models & Dataset- [graphcodebert-vuln-classifier](https://huggingface.co/ayshajavd/graphcodebert-vuln-classifier)- [codet5p-vuln-fixer](https://huggingface.co/ayshajavd/codet5p-vuln-fixer)- [code-security-vulnerability-dataset](https://huggingface.co/datasets/ayshajavd/code-security-vulnerability-dataset)
README.md+38-6