simple-security-scanner / mcp_config.json
garibong's picture
Add Gradio app with MCP server support
f8e78b2
{
"server": {
"name": "security-scanner-mcp",
"version": "0.1.0",
"description": "Python μ½”λ“œ λ³΄μ•ˆ 취약점을 μŠ€μΊ”ν•˜κ³  초보자 μΉœν™”μ μΈ μ„€λͺ…을 μ œκ³΅ν•˜λŠ” MCP μ„œλ²„"
},
"tools": {
"scan_security": {
"enabled": true,
"description": "μ½”λ“œμ˜ λ³΄μ•ˆ 취약점을 μŠ€μΊ”ν•˜κ³  초보자 μΉœν™”μ μΈ μ„€λͺ… 제곡",
"timeout_seconds": 30
}
},
"scanners": {
"pattern_detector": {
"enabled": true,
"patterns": {
"aws_keys": true,
"api_keys": true,
"github_tokens": true,
"jwt_tokens": true,
"passwords": true,
"korean_pii": true,
"database_credentials": true,
"private_keys": true
}
},
"bandit": {
"enabled": true,
"confidence_level": "MEDIUM",
"skip_tests": []
},
"semgrep": {
"enabled": true,
"config": "auto",
"timeout": 30,
"max_memory_mb": 2000
},
"sql_injection": {
"enabled": true,
"check_fstring": true,
"check_concat": true,
"check_format": true,
"check_percent": true
}
},
"custom_rules": {
"enabled": true,
"directories": [
"rules"
],
"files": [
"rules/skt_guidelines.yaml"
]
},
"severity": {
"thresholds": {
"CRITICAL": 0,
"HIGH": 1,
"MEDIUM": 2,
"LOW": 3
},
"default_threshold": "MEDIUM"
},
"formatter": {
"explanation_templates": {
"hardcoded_api_key": {
"what": "API ν‚€κ°€ μ†ŒμŠ€ μ½”λ“œμ— 직접 ν•˜λ“œμ½”λ”©λ˜μ–΄ μžˆμŠ΅λ‹ˆλ‹€",
"why": "μ½”λ“œμ— μ ‘κ·Όν•  수 μžˆλŠ” λˆ„κ΅¬λ‚˜ 이 자격증λͺ…을 ν›”μ³μ„œ μ•…μš©ν•  수 μžˆμŠ΅λ‹ˆλ‹€. Git νžˆμŠ€ν† λ¦¬μ— 영ꡬ히 남아 μ‚­μ œν•˜κΈ° μ–΄λ ΅μŠ΅λ‹ˆλ‹€.",
"how_to_fix": "ν™˜κ²½ λ³€μˆ˜λ‚˜ λ³„λ„μ˜ μ„€μ • νŒŒμΌμ„ μ‚¬μš©ν•˜μ„Έμš”",
"references": [
"https://owasp.org/www-community/vulnerabilities/Use_of_hard-coded_password"
]
},
"sql_injection": {
"what": "SQL 쿼리가 μ‚¬μš©μž μž…λ ₯κ³Ό λ¬Έμžμ—΄ μ—°κ²°λ‘œ λ§Œλ“€μ–΄μ§€κ³  μžˆμŠ΅λ‹ˆλ‹€",
"why": "κ³΅κ²©μžκ°€ μ•…μ˜μ μΈ SQL μ½”λ“œλ₯Ό μ‚½μž…ν•˜μ—¬ λ°μ΄ν„°λ² μ΄μŠ€μ˜ λͺ¨λ“  데이터λ₯Ό νƒˆμ·¨ν•˜κ±°λ‚˜ μ‚­μ œν•  수 μžˆμŠ΅λ‹ˆλ‹€.",
"how_to_fix": "νŒŒλΌλ―Έν„°ν™”λœ 쿼리 λ˜λŠ” ORM을 μ‚¬μš©ν•˜μ„Έμš”",
"references": [
"https://owasp.org/www-community/attacks/SQL_Injection"
]
}
},
"include_code_examples": true,
"include_references": true,
"json_indent": 2
},
"performance": {
"max_file_size_mb": 10,
"enable_caching": true,
"cache_ttl_seconds": 3600
},
"logging": {
"level": "INFO",
"file": "logs/mcp_server.log",
"console": true,
"json_format": false
}
}