Skip to content

Commit a748a6e

Browse files
StartAutomatingStartAutomating
StartAutomating
authored and
StartAutomating
committed
docs: SECURITY.md ( Fixes #12 )
1 parent 3b4ccef commit a748a6e

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

docs/SECURITY.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Security
2+
3+
We take security seriously. If you believe you have discovered a vulnerability, please [file an issue](https://github.com/PowerShellWeb/WebSocket/issues).
4+
5+
## Special Security Considerations
6+
7+
WebSockets are not inherantly dangerous, but what comes out of them might well be.
8+
9+
In order to avoid data poisoning attacks, please _never_ directly run any code from the internet that you do not trust.
10+
11+
Please also assume all WebSockets are untrustworthy.
12+
13+
There are a few easy ways to do this.
14+
15+
WebSocket responses should never:
16+
17+
1. Be piped into `Invoke-Expression`
18+
2. Be expanded with `.ExpandString`
19+
3. Be directly placed into a `SQL` query

0 commit comments

Comments
 (0)