Session Persistence
Medium
- Category
- Rogue Agent
- Content
**Linux/Mac 全局配置:** ```bash mkdir -p ~/.pip cat > ~/.pip/pip.conf << 'EOF' [global] index-url = https://mirrors.aliyun.com/pypi/simple/
- Confidence
- 95% confidence
- Finding
- This command persistently modifies the user's pip configuration under ~/.pip/pip.conf, changing future package installation behavior beyond the current session. Persistent trust and index changes can silently redirect dependency downloads to third-party mirrors, which is risky if mirror integrity, ownership, or user consent is unclear.
