모니터링 & 보안을 위한 통합 플랫폼
옵저버빌리티
스택의 상태와 성능을 한눈에 볼 수 있는 엔드투엔드 가시성
인프라
애플리케이션
데이터
로그
보안
Outpace AI-powered attacks with unified security and observability
Code Security
Cloud Security
Threat Management
Security Labs
Digital Experience
프런트엔드 성능을 최적화하고 사용자 경험을 향상
관련 제품
Software Delivery
고품질 코드를 빠르게 빌드, 테스트, 보안 강화
Service Management
간소화된 통합 워크플로로 빠른 문제 해결
작업
에이전틱 & 임베디드
AI
모델 성능 모니터링 & 개선 근본 원인을 정확히 파악 & 이상 징후 탐지
AI Observability
플랫폼 기능
Datadog 플랫폼을 완성하는 핵심 기능 & 통합
기본 기능
워크플로 & 협업
확장성
산업
기술
사용 사례
Looking for Datadog logos?
You can find the logo assets on our press page.
ID: python-security/mktemp
python-security/mktemp
Language: Python
Severity: Notice
Category: Security
CWE: 377
Related CWEs:
Using insecure temporary files makes your program vulnerable to attacks. The official Python documentation reports this module being vulnerable to attacks. Instead of mktemp, use the secure version mkstemp().
mktemp
mkstemp()
from tempfile import mktemp mktemp(dir=self._tmp_dir)
import tempfile tempfile.mktemp(dir=self._tmp_dir)
tempfile.mktemp(dir=self._tmp_dir)
import tempfile tempfile.mkstemp(dir=self._tmp_dir)
원활한 통합. Datadog Code Security 사용해 보기
1 2
rulesets: - python-security # Rules to enforce Python security.
자세한 정보는 Code Security 설명서 참조
VS Code 편집기에서 직접코드 취약성 식별
JetBrains 제품에서 직접코드 취약성 식별
Ask me anything about Datadog documentation