@preflight-agent/cli 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +34 -0
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# @preflight-agent/cli
|
|
2
|
+
|
|
3
|
+
A fast, interactive pre-deploy security scanner for web developers. Run security checks locally before pushing to GitHub.
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- **Security Audits:** Scans for hardcoded secrets, API keys, and insecure configurations.
|
|
8
|
+
- **Vulnerability Checks:** Detects dangerous patterns like `eval()`, XSS risks, and insecure headers.
|
|
9
|
+
- **Authentication & Authorization:** Checks for missing middleware, Row Level Security (RLS) configurations, and more.
|
|
10
|
+
- **Instant Results:** Fast, local scanning directly in your terminal.
|
|
11
|
+
|
|
12
|
+
## Installation
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
npm install -g @preflight-agent/cli
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Usage
|
|
19
|
+
|
|
20
|
+
To scan your current directory:
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
preflight scan .
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
To scan a specific directory:
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
preflight scan ./path/to/project
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## About
|
|
33
|
+
|
|
34
|
+
`preflight` helps you catch common security mistakes that AI coding tools and fast-paced development can overlook. Designed for "vibe coders" who want to ship fast without sacrificing security.
|