",t};e.buildCustomizationMenuUi=t;function n(e){let t='
${e.filter.label}
The integrated platform for monitoring & security
Observability
End-to-end, simplified visibility into your stack’s health & performance
インフラ
Applications
ログ
セキュリティ
Detect, prioritize, and respond to threats in real-time
Code Security
Cloud Security
Threat Management
Security Labs
Digital Experience
Optimize front-end performance and enhance user experiences
Related Products
Software Delivery
Build, test, secure and ship quality code faster
Service Management
Integrated, streamlined workflows for faster time-to-resolution
Actions
AIOps
AI
Monitor and improve model performance. Pinpoint root causes and detect anomalies
AI Observability
Platform Capabilities
Built-in features & integrations that power the Datadog platform
Built-in Features
Workflows & Collaboration
Extensibility
Industry
テクノロジー
Use-case
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
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 製品内で直接コードの脆弱性を特定