Skip to main content

AI 기반 코드 보안 분석기 CLI

Project description

🔐 CodeAnalyze CLI

AI 기반 코드 보안 분석기를 명령어로 간편하게 실행할 수 있는 CLI 도구입니다.
CodeBERT와 GPT API를 활용해 소스 코드의 보안 취약점을 자동으로 탐지하고, 리포트를 생성합니다.

📦 설치 방법

pip install codeanalyze

※ PyPI에 등록 완료  사용 가능

## 🚀 사용 예시

### 🔍 보안 취약점 분석

```bash
codeanalyze analyze -f vulnerable.py

출력 예시:

🛡️ 예측 결과: ⚠️ SQL Injection 취약점 감지
🔖 라벨: SQL_Injection
📊 보안 점수: 30

📝 보안 리포트 생성 (DOCX 다운로드)

codeanalyze report -f vulnerable.py --docx

생성 결과:

📄 Security_Report.docx 파일이 생성되었습니다.

🛠️ 주요 기능

  • ✅ CodeBERT 기반 보안 취약점 탐지
  • ✅ GPT 기반 상세 보안 리포트 자동 생성
  • ✅ Word(DOCX) 리포트 파일 다운로드

🌐 백엔드 API 서버 정보

본 CLI는 다음 API 서버와 연결됩니다:

https://ai-powered-code-security-analyzer.onrender.com

📁 예제 코드 (vulnerable.py)

user_input = input("Enter ID: ")
sql = "SELECT * FROM users WHERE id = " + user_input

🧑‍💻 개발자 정보


📝 라이선스

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

codeanalyze-0.2.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

codeanalyze-0.2-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file codeanalyze-0.2.tar.gz.

File metadata

  • Download URL: codeanalyze-0.2.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for codeanalyze-0.2.tar.gz
Algorithm Hash digest
SHA256 4dd6c1edf39dfab9d84addbb7cd28ad062d33122cbbb11dd7e7746971311a5bc
MD5 18e47053843a0d8a1a372bd07ec59453
BLAKE2b-256 1d38c8b54c7709d21e54a61cf9e05d84e84742edac759ace6bec79d1752efc1d

See more details on using hashes here.

File details

Details for the file codeanalyze-0.2-py3-none-any.whl.

File metadata

  • Download URL: codeanalyze-0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for codeanalyze-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4c339e9b9f1a5a104f14c148263bf609470d235969c7815ae05a34dae22afbb3
MD5 3df7098ddc3b096717e9004807f65d67
BLAKE2b-256 cf47d5f247a13c5ac659a9a235d89fc8d23cc30c7bc8fb8cdeb909bd790e1fec

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page