update docs

This commit is contained in:
Ankit Mahato
2025-12-05 20:31:08 +05:30
parent 214425282d
commit 37fbab9d1d
2 changed files with 29 additions and 13 deletions

29
doc/security/COMMANDS.md Normal file
View File

@@ -0,0 +1,29 @@
# Useful Commands
### Check for outdated dependency vulnerabilities
```bash
dart pub outdated
```
### Run static analysis
```bash
flutter analyze
```
### Check dependencies
```bash
flutter pub deps --style=compact
```
### Generate SBOM with License
```bash
brew install cdxgen
export FETCH_LICENSE=true
cdxgen -t dart -o sbom.json
```

View File

@@ -1482,16 +1482,3 @@ Stored XSS:
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Score: 5.4 (MEDIUM)
```
### Useful Commands
```bash
# Check for outdated dependency vulnerabilities
dart pub outdated
# Run static analysis
flutter analyze
# Check dependencies
flutter pub deps --style=compact
```