| name | false-positive-test-skill |
| description | A skill containing patterns that should NOT trigger false positives |
| allowed-tools | Read, Bash, Write |
False Positive Test Skill
This skill demonstrates patterns that look suspicious but are actually benign.
The scanner should NOT flag these patterns.
EX (Exfiltration) - Safe Patterns
EX-001: Localhost requests with environment variables (excluded)
curl http://localhost:3000/api -d "key=$API_KEY"
curl http://127.0.0.1:8080/webhook -d "$DATA"
wget http://localhost:5000?token=$TOKEN
curl http://[::1]:3000/metrics -H "Authorization: $AUTH"
curl https://api.github.com/repos
wget https://example.com/file.zip
EX-002: Base64 encoding for display purposes (no network)
base64 logo.png > logo.b64
cat file.txt | base64 > encoded.txt
cat data.txt | base64 | curl http://localhost:3000 -d @-
EX-005: Netcat in listening mode (excluded)
nc -l 8080
nc -l -p 3000
netcat -l 4444
nc localhost 3000
nc 127.0.0.1 8080
PE (Privilege Escalation) - Safe Patterns
PE-001: Words containing "sudo" but not sudo command
pseudocode --version
visudo --check /etc/sudoers.d/test
sudoedit myfile.txt
echo "pseudorandom numbers"
PE-002: Safe rm commands
rm -rf /tmp/build-cache
rm -rf ./node_modules
rm -rf /var/log/old-logs/*
rm file.txt
rm -rf /home/user/project/dist
PE-003: Safe chmod permissions
chmod 755 /var/www/html
chmod 644 config.json
chmod 600 ~/.ssh/id_rsa
chmod 700 ~/.ssh
chmod 750 /opt/app
chmod +x script.sh
chmod u+x build.sh
PE-004: Safe /etc file access
cat /etc/hosts
cat /etc/resolv.conf
cat /etc/hostname
cat /etc/os-release
cat /etc/timezone
PE-005: SSH commands without file access
ssh user@server.com
ssh -i /path/to/key user@host
ssh-keygen -t ed25519
ssh-add ~/.ssh/id_rsa
ssh-copy-id user@server
sshpass -p $PASS ssh user@host
PS (Persistence) - Safe Patterns
PS-001: Crontab list only (excluded)
crontab -l
crontab -l -u root
PS-003: Reading shell profiles (not modifying)
cat ~/.bashrc
cat ~/.zshrc
grep PATH ~/.bash_profile
head -n 10 ~/.profile
source ~/.bashrc
PS-004: Systemd/launchd status commands (excluded)
systemctl status nginx
systemctl status sshd
systemctl list-units
systemctl list-unit-files
launchctl list
launchctl list com.apple.finder
PS-005: Reading authorized_keys (not modifying)
cat ~/.ssh/authorized_keys
wc -l ~/.ssh/authorized_keys
grep "user@host" ~/.ssh/authorized_keys
PI (Prompt Injection) - Safe Patterns
PI-001: Safe instruction-like text
echo "Please ignore this file during the build"
echo "This is a normal instruction manual"
PI-002: Safe HTML comments (TODO/FIXME/NOTE excluded)
OB (Obfuscation) - Safe Patterns
OB-001: Eval without variable expansion
eval 'echo hello'
eval "echo world"
OB-002: Base64 decode without execution
base64 -d encoded.txt > decoded.txt
base64 --decode input.b64 -o output.bin
echo 'SGVsbG8=' | base64 -d
Edge Cases and Boundary Tests
Similar-looking but safe patterns
cat /var/log/my.service.log
mv backup.service.old backup.service.bak
echo "Running customer.service.test"
cat README.plist.md
vim todo.service.md
nano config.plist.yaml
String literals and documentation
echo "Never run: rm -rf /"
echo "Warning: chmod 777 is insecure"
echo "Example: sudo apt update"
echo "Error: /etc/passwd not found"
echo "Cannot access ~/.ssh/id_rsa"
Package names and paths
apt install openssh-server
npm install @ssh2/ssh2
pip install python-crontab
brew install cron-utils