Skip to content

Commit 399fa1b

Browse files
committed
docs: document config init security safeguards
1 parent 9e07ca6 commit 399fa1b

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

SECURITY.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,14 @@ The tool may make network requests in these cases:
3737

3838
These requests are initiated by the headless Chrome browser, not the Go code directly.
3939

40+
### Config Init (`md2pdf config init`)
41+
42+
- Generates a local YAML config file only (default: `./md2pdf.yaml`).
43+
- Does not perform network requests.
44+
- Uses destination lock files to avoid concurrent write corruption.
45+
- Uses explicit `--force` for overwrite and applies backup/rollback safeguards to recover interrupted writes.
46+
- Respects normal OS file permissions and does not elevate privileges.
47+
4048
### Data Handling
4149

4250
- The tool does not handle authentication

0 commit comments

Comments
 (0)