Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.
中文简介正在准备中。当前显示原文说明。
Defense-in-depth security across Rust, TypeScript, and Bash for the Pump SDK — cryptographic key handling, memory zeroization, secure file I/O, input validation, privilege management, dependency auditing, and a 60+ item security checklist.
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Defense-in-depth security across Rust, TypeScript, and Bash: key handling, memory zeroization, secure file I/O, input validation, privilege management, and dependency auditing.
use zeroize::Zeroize;
struct SecureBytes(Vec<u8>);
impl Drop for SecureBytes {
fn drop(&mut self) {
self.0.zeroize();
}
}
try {
// ... use secretKey
} finally {
secretKey.fill(0);
// Best-effort: GC may have copied the buffer
}
shred -u "$keypair_file" 2>/dev/null || rm -P "$keypair_file"
| Language | Source | Verification |
|---|---|---|
| Rust | OsRng | Verify via solana-sdk internals |
| TypeScript | crypto.getRandomValues | Node.js built-in CSPRNG |
| Shell | solana-keygen | Delegates to Rust OsRng |
0o600 before writing content (race-free on Unix)O_CREAT | O_EXCL to prevent overwrites| Input | Validation |
|---|---|
| Base58 address | Regex: ^[1-9A-HJ-NP-Za-km-z]{32,44}$ |
| File paths | Reject .., prevent traversal |
| Tool inputs | Zod schemas in MCP server |
| Shell arguments | Quoted variables, no eval |
Key categories:
cargo audit, npm audit)| Vector | Defense |
|---|---|
| Weak RNG | Only CSPRNG (OsRng / crypto.getRandomValues) |
| Memory dump | Zeroize on drop/finally |
| File permission leak | 0o600 enforcement |
| Path traversal | Input validation |
| Shell injection | Quoted variables, no eval |
| Dependency supply chain | cargo audit, npm audit |
solana-sdk, @solana/web3.js, solana-keygenfill(0) is best-effort — GC may relocate buffersString types may leave copies in memory — use Vec<u8> with Zeroizechmod after write has a race window — prefer fchmod or umaskcargo audit may miss recently disclosed CVEs — supplement with manual review还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.
中文简介正在准备中。当前显示原文说明。
Manage Apple Notes via the `memo` CLI on macOS (create, view, edit, delete, search, move, and export notes). Use when a user asks SolanaOS to add a note, list notes, search notes, or manage note folders.
中文简介正在准备中。当前显示原文说明。
Manage Apple Reminders via remindctl CLI (list, add, edit, complete, delete). Supports lists, date filters, and JSON/plain output.
中文简介正在准备中。当前显示原文说明。
Create, search, and manage Bear notes via grizzly CLI.
中文简介正在准备中。当前显示原文说明。
Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.
中文简介正在准备中。当前显示原文说明。
BluOS CLI (blu) for discovery, playback, grouping, and volume.
中文简介正在准备中。当前显示原文说明。