بنقرة واحدة
evaluate-rust-security
Evaluate project security posture with focus on Rust and CLI-specific risks
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Evaluate project security posture with focus on Rust and CLI-specific risks
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Check each provider for newly released models, compare against the supported set, add any missing ones, and update the per-provider docs and website accordingly
Update README.md, CLAUDE.md, the docs/ tree (ARCH.md, INSTALL.md, USAGE.md, CONFIG.md, PROVIDERS.md, TOOLS.md, EXTENSIONS.md, CODING_AGENT.md, SERVER.md), and the website (website/index.html, website/terminal.html, website/server.html, website/desktop.html) to match the current project state
Write a small, self-contained, locally executable code snippet — bash or python by default.
Connect a Model Context Protocol server to aictl by adding an entry to ~/.aictl/mcp.json. Walks the user through command, args, env, and timeout, then merges the new server into the existing config without disturbing other entries.
Add a lifecycle hook to ~/.aictl/hooks.json. Walks the user through choosing the right event, matcher, command, and timeout, then merges the new entry into the existing config without disturbing other hooks.
Review staged/unstaged changes for correctness, security, and style.
| name | evaluate-rust-security |
| description | Evaluate project security posture with focus on Rust and CLI-specific risks |
| allowed-tools | Bash, Read, Glob, Grep, Write |
Audit the codebase for security vulnerabilities, unsafe patterns, and CLI-specific risks. Produce a concise report with findings, severity ratings, and actionable recommendations.
Run each command via the Bash tool and capture output:
cargo audit 2>&1 || true
cargo clippy -- -W clippy::all -W clippy::pedantic -W clippy::correctness 2>&1
If cargo-audit is not installed, note this as a finding and skip.
Use Grep to search for all unsafe blocks and functions:
unsafe block -- verify each is necessary, minimal in scope, and has a SAFETY comment.Use Grep and Read to examine all shell/process execution:
Command::new, sh -c, bash -c, tokio::process, std::process.Use Grep and Read to check CLI input handling:
../, symlink following).Use Grep and Read to examine HTTP and API usage:
reqwest, hyper, HTTP, https, fetch, url.Use Grep and Read to check for secret exposure:
api_key, token, secret, password, credential, auth.Use Grep and Read to examine file handling:
fs::read, fs::write, fs::remove, fs::create_dir, File::open, File::create.Read Cargo.toml and Cargo.lock:
* or overly broad ranges).Use Grep and Read to check error paths:
unwrap(), expect(), panic! outside tests.Use Grep and Read to check for resource exhaustion:
Vec or String growing from untrusted input without limits.Print a structured report with these sections:
## Dependency Audit
cargo-audit results, supply chain observations
## Unsafe Code
findings with file:line references and severity
## Command Execution
injection risks with file:line references and severity
## Input Validation
CLI and REPL input handling findings
## Network Security
TLS, SSRF, timeout, response validation findings
## Secrets Management
credential handling findings
## File System Security
file operation findings
## Error Handling & Info Leaks
error path findings
## Denial of Service
resource exhaustion findings
## Summary
overall security posture: score out of 10,
critical issues (must fix), warnings (should fix), suggestions (nice to have)
Use severity labels for each finding: CRITICAL, HIGH, MEDIUM, LOW, INFO.
After printing the report, save it to the .claude/reports/security/ directory: