Session Persistence
Medium
- Category
- Rogue Agent
- Content
For environments where PyPI or HuggingFace is not accessible, use mirrors: ```bash # Add to ~/.bashrc for persistence echo 'export HF_ENDPOINT=https://hf-mirror.com' >> ~/.bashrc echo 'export PIP_INDEX_URL=https://mirrors.aliyun.com/pypi/simple/' >> ~/.bashrc source ~/.bashrc
- Confidence
- 81% confidence
- Finding
- The skill instructs users to append environment-variable changes to `~/.bashrc`, creating persistent session-wide configuration that affects future shell sessions. While the stated purpose is to use mirrors in restricted networks, persisting package index and model endpoints can silently redirect future installs and downloads to alternate infrastructure, increasing supply-chain and trust risks if those mirrors are compromised or inappropriate for the environment.
