Skip to content
Back to search

skills

Pashov Audit Group Skills

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/pashov--skills/badge.svg)](/listings/pashov--skills)

HTML

<a href="/listings/pashov--skills"><img src="/api/listings/pashov--skills/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

Install https://github.com/pashov/skills/ and run an x-ray on the codebase
Install https://github.com/pashov/skills/ and run solidity auditor with all different agents possible on the codebase
Install https://github.com/pashov/skills/ and run fizz on the codebase
run an x-ray on the codebase
run the solidity auditor with all the different agents possible on *specified files*
run fizz on the codebase
update skills to latest version

---

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 52 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. # Pashov Audit Group Skills
  2. > AI-powered Solidity security skills — built by [Pashov Audit Group](https://www.pashov.com/).
  3. **Supported AI Platforms:**
  4. [![Claude Code](https://img.shields.io/badge/Claude_Code-F5E6D0?style=for-the-badge&logo=anthropic&logoColor=1a1a1a)](https://claude.ai/download)
  5. [![Cursor](https://img.shields.io/badge/Cursor-000000?style=for-the-badge&logo=cursor&logoColor=white)](https://cursor.com)
  6. [![Codex](https://img.shields.io/badge/Codex-000000?style=for-the-badge&logo=data:image/svg%2bxml;base64,PHN2ZyByb2xlPSJpbWciIHZpZXdCb3g9IjAgMCAyNCAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBmaWxsPSJ3aGl0ZSIgZD0iTTIyLjI4MTkgOS44MjExYTUuOTg0NyA1Ljk4NDcgMCAwIDAtLjUxNTctNC45MTA4IDYuMDQ2MiA2LjA0NjIgMCAwIDAtNi41MDk4LTIuOUE2LjA2NTEgNi4wNjUxIDAgMCAwIDQuOTgwNyA0LjE4MThhNS45ODQ3IDUu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IDAgMCAxIDIuMzQwOCA3Ljg3MnptMTYuNTk2MyAzLjg1NThMMTMuMTAzOCA4LjM2NCAxNS4xMTkyIDcuMmEuMDc1Ny4wNzU3IDAgMCAxIC4wNzEgMGw0LjgzMDMgMi43OTEzYTQuNDk0NCA0LjQ5NDQgMCAwIDEtLjY3NjUgOC4xMDQydi01LjY3NzJhLjc5Ljc5IDAgMCAwLS40MDctLjY2N3ptMi4wMTA3LTMuMDIzMWwtLjE0Mi0uMDg1Mi00Ljc3MzUtMi43ODE4YS43NzU5Ljc3NTkgMCAwIDAtLjc4NTQgMEw5LjQwOSA5LjIyOTdWNi44OTc0YS4wNjYyLjA2NjIgMCAwIDEgLjAyODQtLjA2MTVsNC44MzAzLTIuNzg2NmE0LjQ5OTIgNC40OTkyIDAgMCAxIDYuNjgwMiA0LjY2ek04LjMwNjUgMTIuODYzbC0yLjAyLTEuMTYzOGEuMDgwNC4wODA0IDAgMCAxLS4wMzgtLjA1NjdWNi4wNzQyYTQuNDk5MiA0LjQ5OTIgMCAwIDEgNy4zNzU3LTMuNDUzN2wtLjE0Mi4wODA1TDguNzA0IDUuNDU5YS43OTQ4Ljc5NDggMCAwIDAtLjM5MjcuNjgxM3ptMS4wOTc2LTIuMzY1NGwyLjYwMi0xLjQ5OTggMi42MDY5IDEuNDk5OHYyLjk5OTRsLTIuNTk3NCAxLjQ5OTctMi42MDY3LTEuNDk5N1oiLz48L3N2Zz4=&logoColor=white)](https://openai.com/index/introducing-codex/)
  7. [![GitHub Copilot](https://img.shields.io/badge/GitHub_Copilot-000000?style=for-the-badge&logo=githubcopilot&logoColor=white)](https://github.com/features/copilot)
  8. [![Windsurf](https://img.shields.io/badge/Windsurf-0062FF?style=for-the-badge&logo=windsurf&logoColor=white)](https://www.windsurf.com/)
  9. ---
  10. ## Install, Run & Update Prompts
  11. ```
  12. Install https://github.com/pashov/skills/ and run an x-ray on the codebase
  13. Install https://github.com/pashov/skills/ and run solidity auditor with all different agents possible on the codebase
  14. Install https://github.com/pashov/skills/ and run fizz on the codebase
  15. ```
  16. ```
  17. run an x-ray on the codebase
  18. run the solidity auditor with all the different agents possible on *specified files*
  19. run fizz on the codebase
  20. ```
  21. ```
  22. update skills to latest version
  23. ```
  24. ---
  25. ## Skills
  26. | Skill | Description |
  27. | ------------------------------------- | ------------------------------------------------------------------------------- |
  28. | [fizz](fizz/) | Generate a full Echidna/Medusa fuzz suite for any Foundry or Hardhat project |
  29. | [solidity-auditor](solidity-auditor/) | Solidity AI security audit - hundreds of Critical/High vulnerabilities found |
  30. | [x-ray](x-ray/) | Pre-audit scan with threat model, invariants, entry points, and git analysis |
  31. ---
  32. ## Contributing · Security · License · Contact
  33. We welcome improvements and fixes. See [CONTRIBUTING.md](CONTRIBUTING.md) for the PR process.
  34. Report vulnerabilities via [Security Policy](SECURITY.md). This project follows the [Contributor Covenant](CODE_OF_CONDUCT.md). [MIT](LICENSE) © contributors.
  35. If you are looking to explore strategies for securing your project, reach out for a chat on [Telegram @pashovkrum](https://t.me/pashovkrum).
  36. [![Discord](https://img.shields.io/badge/Discord-5865F2?logo=discord&logoColor=white)](https://discord.com/invite/pashovauditgroup) [![X](https://img.shields.io/badge/X-000000?logo=x&logoColor=white)](https://x.com/PashovAuditGrp) [![Telegram](https://img.shields.io/badge/Telegram-26A5E4?logo=telegram&logoColor=white)](https://t.me/pashovkrum) [![Website](https://img.shields.io/badge/Website-FF5722?logo=googlechrome&logoColor=white)](https://www.pashov.com/)
fizz/scripts/ensure_foundry.sh · Bundled script · 125 lines · 1 finding marked
  1. #!/usr/bin/env bash
  2. # ensure_foundry.sh — Ensure Foundry (forge), foundry.toml, and forge-std are available.
  3. # Usage: ensure_foundry.sh [PROJECT_ROOT]
  4. # Exit 0 on success, exit 1 with guidance if not.
  5. set -euo pipefail
  6. PROJECT_ROOT="${1:-.}"
  7. if [ ! -d "$PROJECT_ROOT" ]; then
  8. echo "ERROR: project root does not exist: $PROJECT_ROOT"
  9. exit 1
  10. fi
  11. # 1. Check forge is installed
  12. if ! command -v forge &>/dev/null; then
  13. echo "ERROR: forge not found in PATH."
  14. echo ""
  15. echo "Install Foundry:"
  16. echo " curl -L https://foundry.paradigm.xyz | bash"
    • Note: Pipes a downloaded script directly into a shell (curl | sh / wget | bash)
    • Line 20 on GitHub
  17. echo " foundryup"
  18. echo ""
  19. echo "Or see: https://www.getfoundry.sh/introduction/installation"
  20. exit 1
  21. fi
  22. FORGE_VERSION=$(forge --version 2>&1 | head -1)
  23. echo "Foundry detected: $FORGE_VERSION"
  24. # 2. Create a compatible foundry.toml if missing
  25. if [ ! -f "$PROJECT_ROOT/foundry.toml" ]; then
  26. echo "foundry.toml not found — creating one in $PROJECT_ROOT ..."
  27. cd "$PROJECT_ROOT"
  28. HH_CONFIG=""
  29. if [ -f "hardhat.config.ts" ]; then
  30. HH_CONFIG="hardhat.config.ts"
  31. elif [ -f "hardhat.config.js" ]; then
  32. HH_CONFIG="hardhat.config.js"
  33. fi
  34. if [ -n "$HH_CONFIG" ]; then
  35. echo "Hardhat project detected — writing a Foundry-compatible config..."
  36. # Hardhat-compatible layout per Foundry docs.
  37. SRC_DIR=$(grep -oP "sources\s*:\s*['\"]?\K[^'\"',}]+" "$HH_CONFIG" 2>/dev/null | head -1 || true)
  38. SRC_DIR="${SRC_DIR#./}"
  39. if [ -z "$SRC_DIR" ]; then
  40. if [ -d "contracts" ]; then
  41. SRC_DIR="contracts"
  42. elif [ -d "src" ]; then
  43. SRC_DIR="src"
  44. else
  45. SRC_DIR="contracts"
  46. fi
  47. fi
  48. ARTIFACTS_DIR=$(grep -oP "artifacts\s*:\s*['\"]?\K[^'\"',}]+" "$HH_CONFIG" 2>/dev/null | head -1 || true)
  49. ARTIFACTS_DIR="${ARTIFACTS_DIR#./}"
  50. if [ -z "$ARTIFACTS_DIR" ]; then
  51. ARTIFACTS_DIR="out"
  52. fi
  53. SOLC_VERSION=$(perl -0ne 'print "$1\n" if /version\s*:\s*["'"'"']([^"'"'"']+)["'"'"']/s' "$HH_CONFIG" 2>/dev/null | head -1 || true)
  54. OPTIMIZER_ENABLED=$(perl -0ne 'print "$1\n" if /optimizer\s*:\s*\{.*?enabled\s*:\s*(true|false)/s' "$HH_CONFIG" 2>/dev/null | head -1 || true)
  55. OPTIMIZER_RUNS=$(perl -0ne 'print "$1\n" if /optimizer\s*:\s*\{.*?runs\s*:\s*(\d+)/s' "$HH_CONFIG" 2>/dev/null | head -1 || true)
  56. EVM_VERSION=$(perl -0ne 'print "$1\n" if /evmVersion\s*:\s*["'"'"']([^"'"'"']+)["'"'"']/s' "$HH_CONFIG" 2>/dev/null | head -1 || true)
  57. LIBS="[\"node_modules\", \"lib\"]"
  58. REMAPPINGS=""
  59. if [ -d "node_modules/@openzeppelin/contracts" ]; then
  60. REMAPPINGS="$REMAPPINGS\"@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/\","
  61. fi
  62. if [ -d "node_modules/@openzeppelin/contracts-upgradeable" ]; then
  63. REMAPPINGS="$REMAPPINGS\"@openzeppelin/contracts-upgradeable/=node_modules/@openzeppelin/contracts-upgradeable/\","
  64. fi
  65. cat > foundry.toml <<EOF
  66. [profile.default]
  67. src = "${SRC_DIR}"
  68. out = "${ARTIFACTS_DIR}"
  69. libs = ${LIBS}
  70. EOF
  71. if [ -n "$SOLC_VERSION" ]; then
  72. echo "solc = \"${SOLC_VERSION}\"" >> foundry.toml
  73. fi
  74. if [ -n "$OPTIMIZER_ENABLED" ]; then
  75. echo "optimizer = ${OPTIMIZER_ENABLED}" >> foundry.toml
  76. fi
  77. if [ -n "$OPTIMIZER_RUNS" ]; then
  78. echo "optimizer_runs = ${OPTIMIZER_RUNS}" >> foundry.toml
  79. fi
  80. if [ -n "$EVM_VERSION" ]; then
  81. echo "evm_version = \"${EVM_VERSION}\"" >> foundry.toml
  82. fi
  83. if [ -n "$REMAPPINGS" ]; then
  84. REMAPPINGS="${REMAPPINGS%,}"
  85. echo "remappings = [${REMAPPINGS}]" >> foundry.toml
  86. fi
  87. echo "foundry.toml configured for Hardhat layout (src=${SRC_DIR}, out=${ARTIFACTS_DIR}, libs=node_modules+lib)."
  88. else
  89. echo "Non-Hardhat project detected — writing a default Foundry config..."
  90. cat > foundry.toml <<EOF
  91. [profile.default]
  92. src = "src"
  93. out = "out"
  94. libs = ["lib"]
  95. EOF
  96. fi
  97. else
  98. echo "foundry.toml detected."
  99. fi
  100. # 3. Check forge-std is installed (required by FoundryTester.sol)
  101. if [ ! -d "$PROJECT_ROOT/lib/forge-std" ]; then
  102. echo "forge-std not found — installing..."
  103. cd "$PROJECT_ROOT"
  104. forge install foundry-rs/forge-std
  105. echo "forge-std installed."
  106. else
  107. echo "forge-std detected."
  108. fi
  109. exit 0

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.