This repository was archived by the owner on May 23, 2026. It is now read-only.
Repository navigation
v0.7.1 — Security Hardening
Security Fixes
Addresses code review findings:
- Directory traversal prevention:
fileToDataURLnow normalizes paths withfilepath.Clean()and validates against an allowlist of permitted base directories - SQL read-only enforcement: New
IsReadOnlySQL()check at application layer blocks write operations (INSERT/UPDATE/DELETE/DROP/ALTER/CREATE/TRUNCATE) inquery-sql,query-preview, andquick-summarytools - Tool script security guidelines: README documents stdin JSON argument passing and warns against
eval/ unquoted shell expansion in custom tool scripts
Full changelog: https://github.com/nlink-jp/shell-agent/blob/main/CHANGELOG.md