Unverified50% confidenceDecision RuleExact time
In the tool.call hook, any read or edit operation on .env, keystore and .p8 files is intercepted.
1
Sources
50%
Confidence
Medium-term (~90 days)
Relevance
10/15/2026
First Seen
Valid until: 1/13/2027
Sources
Related Entities
Related Claims
UnverifiedIn the OpenCode official documentation, both the .env protection example and the company.guard example register an execute.before hook only for the read tool, and do not intercept the behavior of reading files via shell commands (such as cat).68% similarUnverifiedFull credentials should not be pasted into chat windows or hard-coded into project code; they should be stored in a keychain or written to a .env file excluded by .gitignore.63% similarUnverifiedIn auto mode, a one-time prompt will appear before reading files outside the working directory for the first time, and users can block such reads via permissions.blockReadsOutsideWorkingDirectories.59% similarUnverifiedThe file management Agent example in the article omits the actual execution of tool_calls and the return of results, lacking production-grade elements such as a tool call execution loop, error retries and concurrency control.59% similarUnverified绕过无限debug的方法包括Sources面板右键选择Never pause here、覆写Function.prototype.constructor或在控制台注入代码禁用定时器58% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1037075API
curl https://kongchang.com/api/v1/knowledge/claims/1037075MCP
get_claim(id=1037075)