<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>子进程安全 on 办公AI智能小助手</title>
    <link>https://blog.qife122.com/tags/%E5%AD%90%E8%BF%9B%E7%A8%8B%E5%AE%89%E5%85%A8/</link>
    <description>Recent content in 子进程安全 on 办公AI智能小助手</description>
    <generator>Hugo</generator>
    <language>zh-cn</language>
    <copyright>qife</copyright>
    <lastBuildDate>Fri, 05 Sep 2025 21:31:23 +0800</lastBuildDate>
    <atom:link href="https://blog.qife122.com/tags/%E5%AD%90%E8%BF%9B%E7%A8%8B%E5%AE%89%E5%85%A8/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Python subprocess模块命令注入漏洞分析</title>
      <link>https://blog.qife122.com/p/python-subprocess%E6%A8%A1%E5%9D%97%E5%91%BD%E4%BB%A4%E6%B3%A8%E5%85%A5%E6%BC%8F%E6%B4%9E%E5%88%86%E6%9E%90/</link>
      <pubDate>Fri, 05 Sep 2025 21:31:23 +0800</pubDate>
      <guid>https://blog.qife122.com/p/python-subprocess%E6%A8%A1%E5%9D%97%E5%91%BD%E4%BB%A4%E6%B3%A8%E5%85%A5%E6%BC%8F%E6%B4%9E%E5%88%86%E6%9E%90/</guid>
      <description>&lt;h1 id=&#34;报告-2904921---操作系统命令注入subprocess模块使用&#34;&gt;报告 #2904921 - 操作系统命令注入（subprocess模块使用）&lt;/h1&gt;&#xA;&lt;p&gt;&lt;strong&gt;提交者&lt;/strong&gt;: bulter&lt;br&gt;&#xA;&lt;strong&gt;提交时间&lt;/strong&gt;: 2024年12月17日 19:54 UTC&lt;br&gt;&#xA;&lt;strong&gt;报告对象&lt;/strong&gt;: curl&lt;/p&gt;&#xA;&lt;h2 id=&#34;摘要&#34;&gt;摘要&lt;/h2&gt;&#xA;&lt;p&gt;Bandit工具在curl.py文件中检测到subprocess模块的使用，触发了B404:blacklist规则。该规则强调了在使用subprocess模块时若未对输入进行适当清理可能带来的安全风险，这可能导致命令注入漏洞。&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
