Tainted flow: 'LOCK_FILE' from os.environ.get (line 13, credential/environment) → open (file write)
Medium
- Category
- Data Flow
- Content
"""添加消费记录""" try: # === 文件锁临界区开始 === with open(LOCK_FILE, 'a') as lock_f: fcntl.flock(lock_f.fileno(), fcntl.LOCK_EX) try: # 加载现有数据- Confidence
- 95% confidence
- Finding
- with open(LOCK_FILE, 'a') as lock_f:
