T06 · System Persistence
- Location
SKILL.md:18- Finding
Persistent Scheduled Execution Through an Insufficiently Secured Cron Job
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill is mostly about managing V2RayN, but it asks users to install recurring automation with weak safeguards and includes a broad restart command.
Review carefully before installing. Use the status and log commands on demand, but avoid adding the cron job unless you place the script in a fixed user-owned path with restrictive permissions and know how to remove it. Do not run the restart command with sudo, and prefer a V2RayN-specific quit/reopen method over pkill -f.
SKILL.md:18Persistent Scheduled Execution Through an Insufficiently Secured Cron Job
SKILL.md:157Overbroad Process Termination Using Command-Line Pattern Matching
Remote code is downloaded and executed. This bypasses code review and could introduce malicious code.
# Test connection
test_connection() {
curl -s --max-time 5 -x socks5://127.0.0.1:10808 https://www.google.com -o /dev/null -w "%{http_code}" 2>/dev/null
}
# Get current node info
Code scans file system directories looking for sensitive files. This could be reconnaissance for credential theft.
ls -la ~/Library/Application\ Support/v2rayN/guiLogs/
tail -50 ~/Library/Application\ Support/v2rayN/guiLogs/*.log 2>/dev/null | tail -30