POSIX wordexp(3) is dangerous
Summary
一篇 TIL 博客指出 POSIX 的 wordexp(3) 默认启用命令替换,即使传入 WRDE_NOCMD,musl 和 macOS 的 libc 实现也可能被绕过,建议不要在不可信输入上使用它。
View Cached Full Text
Cached at: 10/27/26, 01:59 AM
Similar Articles
stack unwinding can lead to leakless code execution
The article discusses how stack unwinding using DWARF bytecode in glibc can be exploited for code execution, illustrated through CTF challenges and analysis of thread cancellation in POSIX systems.
Don't Put Tilde In Your Path
一篇技术博文指出在 shell 配置中用引号包裹的 `PATH="$PATH:~/.local/bin"` 不会展开波浪号,导致当前目录下的字面 `./~/` 路径被加入 PATH,带来潜在劫持风险;建议改用 `$HOME`,并介绍了 nono 沙箱工具的相关警告与排查方法。
@apivixtls: Saw an open-source project called Codex5.5 for bypassing restrictions today. The approach is quite straightforward. It stuffs a set of unrestricted instructions into GPT-5.5 via model_instructions_file, making Codex CLI directly run in [MODE: UNRESTRICTED] mode…
An open-source project named Codex5.5 bypasses GPT-5.5's security restrictions by modifying the model_instructions_file. It supports sensitive operations like SQL injection testing, but carries a risk of account suspension. It is recommended to use a throwaway account.
@VincentLogic: Found a pretty cool CLI tool! OfficeCLI lets you work with Word, Excel, and PPT files right in the terminal — no Office installation needed. Create, read, and modify files with ease, making it super handy for automation scripts. The best part? Once installed, Claude Code, Cursor, and other AI coding assistants can …
OfficeCLI is an open-source command-line tool that lets you create, read, and modify Word, Excel, and PPT files in the terminal without installing Office. It integrates with AI coding assistants like Claude Code and Cursor, making it ideal for automation scripts and batch file processing.
Termaxa
Termaxa 是一个开源 Rust 工具,作为 Claude Code、Codex、Cursor 和 Copilot 等 AI 代理命令执行路径中的安全闸门,在命令运行前预览其将删除的内容、先进行备份,并按用户策略拒绝或放行。