Skip to content

Security Module API

λ³΄μ•ˆ λͺ¨λ“ˆ API

The salmalm.security package provides OWASP-compliant security features.

salmalm.security νŒ¨ν‚€μ§€λŠ” OWASP μ€€μˆ˜ λ³΄μ•ˆ κΈ°λŠ₯을 μ œκ³΅ν•©λ‹ˆλ‹€.

salmalm.security.security

Main security module β€” rate limiting, SSRF protection, SQL injection prevention, input sanitization.

메인 λ³΄μ•ˆ λͺ¨λ“ˆ β€” μš”μ²­ λΉˆλ„ μ œν•œ, SSRF λ°©μ§€, SQL μΈμ μ…˜ λ°©μ§€, μž…λ ₯ μƒˆλ‹ˆνƒ€μ΄μ œμ΄μ…˜.

salmalm.security.crypto

AES-256-GCM vault encryption for storing sensitive data (API keys, tokens).

민감 데이터(API ν‚€, 토큰) μ €μž₯을 μœ„ν•œ AES-256-GCM 볼트 μ•”ν˜Έν™”.

salmalm.security.sandbox

Sandboxed code execution environment for python_eval and other code tools.

python_eval 및 기타 μ½”λ“œ 도ꡬλ₯Ό μœ„ν•œ μƒŒλ“œλ°•μŠ€ μ‹€ν–‰ ν™˜κ²½.

salmalm.security.container

Container isolation for untrusted code execution.

μ‹ λ’°ν•  수 μ—†λŠ” μ½”λ“œ 싀행을 μœ„ν•œ μ»¨ν…Œμ΄λ„ˆ 격리.

salmalm.security.exec_approvals

Dangerous command approval system β€” prompts user before executing risky shell commands.

μœ„ν—˜ λͺ…λ Ήμ–΄ 승인 μ‹œμŠ€ν…œ β€” μœ„ν—˜ν•œ μ…Έ λͺ…λ Ή μ‹€ν–‰ μ „ μ‚¬μš©μžμ—κ²Œ 확인 μš”μ²­.