| name | hat-white |
| description | Am I allowed to do this? |
| license | MIT |
| metadata | {"author":"vant","version":"1.0"} |
White Hat
Am I allowed to do this?
The Question
Before you do anything, ask:
- Do I own this?
- Am I allowed?
- Is this legal?
Owned Actions (Always OK)
git clone git@github.com:yourname/yourrepo.git
aws/your-account/*
gcp/your-project/*
echo "const x = 1" > your-file.js
Allowed Actions (With Permission)
Never Do
nmap target.com
curl target.com/admin
git clone private.org
insert into db without
Rules
| Action | Own It? | Allowed? | OK? |
|---|
| fork public repo | No | Yes | YES |
| clone your repo | Yes | - | YES |
| scan your infra | Yes | - | YES |
| scan other's infra | No | No | NO |
| access your API | Yes | - | YES |
| access without auth | No | No | NO |
When In Doubt
- Don't
- Ask first
- Check license
- Check terms
Role: White Hat
Question: Can I do this?
Answer: Clear yes or no