بنقرة واحدة
security-check
Scan for hardcoded secrets, credentials, tokens, and security vulnerabilities
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Scan for hardcoded secrets, credentials, tokens, and security vulnerabilities
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Review code changes for best practices, complexity, compatibility, and gaps
Create a conventional commit from staged changes without Co-Authored-By
Review codebase for CLEAN code practices and DRY violations
Create a descriptive GitHub PR with summary and test plan using gh CLI
Implement features following strict coding best practices with docs and tests
Run ruff linting and formatting checks, auto-fix issues
| name | security-check |
| description | Scan for hardcoded secrets, credentials, tokens, and security vulnerabilities |
| user-invocable | true |
| argument-hint | [file or directory to scan, defaults to entire project] |
| context | fork |
| agent | general-purpose |
| allowed-tools | Read, Bash, Grep, Glob |
Perform a comprehensive security audit of the codebase.
Scan: $ARGUMENTS (default: entire project)
Run task security which executes ruff check --select S. Key rules:
exec()pickle (deserialization risk)pickle, subprocess, xml)Search for patterns across all text files:
.env files that might be committed (verify .gitignore coverage)https://user:pass@...)AKIA...), GitHub tokens (ghp_..., gho_...), JWT secretshttp:// (non-TLS) URLs in production code (test fixtures are OK)verify=False in requests calls)pyproject.toml for overly permissive version ranges on security-sensitive depsprint() and logging calls for credential leaks)tests/data/ don't contain real credentials.gitignore covers sensitive file patterns (.env, *.pem, *.key)Produce a security report with three severity levels:
Immediate security risks (hardcoded real credentials, disabled SSL, etc.). Include file path, line number, and remediation steps.
Potential security concerns that need review (broad dependency ranges, non-TLS URLs, etc.). Include file path and recommendation.
Best practice suggestions and security hardening opportunities. Include brief description.