Skip to content

Commit 5fc1a85

Browse files
committed
chore: updating readme
1 parent dd3e876 commit 5fc1a85

File tree

1 file changed

+18
-31
lines changed

1 file changed

+18
-31
lines changed

README.md

Lines changed: 18 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,24 @@
1-
# Snake Containment - A security scanner
1+
# Snake Containment - A static security scanner written in Python
22

3-
- [ ] Handle errors consistently across all files
4-
- [ ] Write unit tests
5-
6-
TODO/FIXME Scanner - Find security-related TODOs
7-
8-
Look for comments like # TODO: add authentication, # FIXME: remove this hack
9-
Could flag security debt
10-
11-
Weak Crypto Scanner - Detect weak cryptographic practices
12-
13-
MD5, SHA1 usage, hardcoded salts, weak key sizes
14-
Look for hashlib.md5(), DES, small RSA keys
15-
16-
Medium Complexity:
3+
Code scanner in a github action that will report findings in the repository's security tab.
174

18-
Environment Variable Scanner - Find missing .env patterns
5+
## Further development
196

20-
Look for os.getenv() without defaults
21-
Check if .env.example exists but .env doesn't
22-
Flag potentially missing config
23-
24-
SQL Injection Scanner - Basic string concatenation detection
25-
26-
Look for SQL queries built with string formatting
27-
Pattern: f"SELECT * FROM users WHERE id = {user_id}"
28-
29-
Dockerfile Security Scanner - Check for insecure Docker practices
30-
31-
USER root, missing USER statements, --privileged flags
32-
Only scan Dockerfile and docker-compose.yml files
33-
34-
## To run
7+
- [ ] Handle errors consistently across all files
8+
- [ ] Write unit tests
9+
- [ ] Weak Crypto Scanner - Detect weak cryptographic practices
10+
- MD5, SHA1 usage, hardcoded salts, weak key sizes
11+
- Look for hashlib.md5(), DES, small RSA keys
12+
- [ ] Environment Variable Scanner - Find missing .env patterns
13+
- Look for os.getenv() without defaults
14+
- Check if .env.example exists but .env doesn't
15+
- Flag potentially missing config
16+
- [ ] SQL Injection Scanner - Basic string concatenation detection
17+
- [ ] Dockerfile Security Scanner - Check for insecure Docker practices
18+
- USER root, missing USER statements, --privileged flags
19+
- Only scan Dockerfile and docker-compose.yml files
20+
21+
## Running locally
3522

3623
source .venv/bin/activate
3724

0 commit comments

Comments
 (0)