Files
html/api/v76-scripts/skill-world-writable.sh

7 lines
317 B
Bash
Executable File

#!/bin/bash
# V31 batch generator - Opus WIRE doctrine 13+7 - Skill: world-writable
# Description: World-writable /tmp count
# Whitelist-safe timeout 8s
set +e
timeout 8 bash -c "find /tmp -maxdepth 1 -perm -002 2>/dev/null | wc -l" 2>&1 || echo "{\"skill\":\"world-writable\",\"error\":\"timeout_or_missing_tool\"}"