You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Restrict agent-controlled output_path to prevent arbitrary filesystem writes
Validate output_path in handleGenerateTemplate using filepath.Rel against the vault directory. Rejects paths that escape via ../, absolute paths outside the vault, or any traversal attempt.
Closes#193
* Validate API template base_url against private/internal IP ranges to prevent SSRF
Add parse-time host validation in apitemplates.parseTemplate that checks base_url against loopback, link-local, and RFC 1918 private ranges. Rejects templates pointing at internal addresses unless allow_private: true is set.
Closes#194
* fix(config): rename envWhitelist to envAllowlist with backward-compatible migration
- Rename EnvWhitelist struct field to EnvAllowlist with new yaml tag envAllowlist
- Keep EnvWhitelist as deprecated alias for backward compatibility
- Add deprecation warning when envWhitelist is detected in config
- Update merge logic, config keys, tests, and documentation
- Add tests for both new key and backward compatibility
Closes#195
* refactor(cmd): remove re-export aliases from cmd/root.go
Remove 25+ package-level variable aliases (var X = cli.X) from
cmd/root.go. All cmd/*.go files now import internal/cli directly
and use cli.X instead of the shim aliases.
This completes the migration that split CLI logic into internal/cli.
cmd/root.go now only contains Execute(), SetVersionInfo(),
AppVersion(), and quiet-mode print helpers.
Closes#196
* Apply gofmt formatting fix
Fixes formatting in internal/config/config.go.
Refs PR #197
0 commit comments