{"_id":"@dog-verao/the-wall","name":"@dog-verao/the-wall","dist-tags":{"latest":"0.2.1"},"versions":{"0.2.1":{"name":"@dog-verao/the-wall","version":"0.2.1","description":"The Wall between AI-generated code and production. Zero config, plain English security scanning.","keywords":["security","ai","vibe-coding","static-analysis","cli","the-wall","got"],"homepage":"https://github.com/dog-verao/the-wall","license":"MIT","type":"commonjs","main":"dist/cli.js","publishConfig":{"access":"public"},"bin":{"the-wall":"dist/cli.js"},"scripts":{"build":"tsc && mkdir -p dist/rules && cp src/rules/rules-community.json dist/rules/rules-community.json && cp src/rules/rules-pro.json dist/rules/rules-pro.json","dev":"ts-node src/cli.ts","start":"node dist/cli.js","clean":"rm -rf dist","prepublishOnly":"npm run clean && npm run build"},"dependencies":{"chalk":"4.1.2","glob":"^10.4.5","minimist":"^1.2.8","simple-git":"^3.27.0"},"devDependencies":{"@types/minimist":"^1.2.5","@types/node":"^22.0.0","ts-node":"^10.9.2","typescript":"^5.5.4"},"engines":{"node":">=18.0.0"},"_id":"@dog-verao/the-wall@0.2.1","gitHead":"13b68cff8199ded4c91a0eba699fdb6c07b3a3f1","types":"./dist/cli.d.ts","_nodeVersion":"23.10.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-F6CJSYgVaE6oU5wjI7/mGeM4vA2v/C890Tr/pM1/xwXTbC9LwzV0kqk2oKt8P5DbBgOmFkh16P5jvvxUHH81/g==","shasum":"35df733b6b08af0ec880e20923cdfb9e692f716e","tarball":"https://registry.npmjs.org/@dog-verao/the-wall/-/the-wall-0.2.1.tgz","fileCount":67,"unpackedSize":249281,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDQCmy/OIimOk0WSxT2rg/YoC/dfQVvATmvUYoYO0uXQwIhAOvqJwwXS3tVLYqcxBhMgpr2XeiXUnDmGYXGgJ+sOKwb"}]},"_npmUser":{"name":"dog-verao","email":"contatoaguiarti@gmail.com"},"directories":{},"maintainers":[{"name":"dog-verao","email":"contatoaguiarti@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/the-wall_0.2.1_1774569419638_0.5830007375062138"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-26T23:56:59.520Z","0.2.1":"2026-03-26T23:56:59.771Z","modified":"2026-03-26T23:56:59.952Z"},"maintainers":[{"name":"dog-verao","email":"contatoaguiarti@gmail.com"}],"description":"The Wall between AI-generated code and production. Zero config, plain English security scanning.","homepage":"https://github.com/dog-verao/the-wall","keywords":["security","ai","vibe-coding","static-analysis","cli","the-wall","got"],"license":"MIT","readme":"<div align=\"center\">\n  <h1>⚔️ THE WALL</h1>\n  <p><b>The Wall between AI-generated code and production.</b></p>\n  <p><i>\"The code is dark and full of terrors.\"</i></p>\n\n  [![Version](https://img.shields.io/npm/v/@dog-verao/the-wall?color=white&label=Version)](https://www.npmjs.com/package/@dog-verao/the-wall)\n  [![License](https://img.shields.io/github/license/dog-verao/the-wall?color=white&label=License)](LICENSE)\n  [![Build Status](https://img.shields.io/github/actions/workflow/status/dog-verao/the-wall/ci.yml?branch=main&color=white&label=Build)](https://github.com/dog-verao/the-wall/actions)\n</div>\n\n---\n\n## 🛡️ What is The Wall?\n\n**The Wall** is a zero-config, developer-first security scanner designed specifically for the era of AI-generated code. It catches common mistakes, security vulnerabilities, and logic flaws that LLMs often overlook—before they hit production.\n\n## 🚀 Quick Start\n\nNo installation required. Run it anywhere with `npx`:\n\n```bash\nnpx @dog-verao/the-wall\n```\n\n---\n\n## 🔥 Key Features\n\n### 1. 🔍 Static Security Scanning\nFast, regex-based and AST-aware checks for over 80+ common vulnerabilities, including hardcoded secrets, SQL injection, weak auth patterns, and more.\n\n### 2. 🧠 AI-Powered Deep Analysis\nEnable high-confidence logic checks that static analysis can't catch—like IDOR, mass assignment, and business logic flaws.\n\n```bash\nnpx @dog-verao/the-wall --ai\n```\n\n### 3. 📦 Safe Install (`install` command)\nProtects you from typosquatting and AI-hallucinated packages. It verifies package age, download counts, and README presence before allowing an install.\n\n```bash\nnpx @dog-verao/the-wall install some-pkg\n```\n\n### 4. ⚡ Intelligent Caching & Budgeting\nThe Wall caches AI results locally to save you tokens and includes a `--budget` flag to cap your spend.\n\n---\n\n## 🛠️ Usage & Commands\n\n| Command | Description |\n|---|---|\n| `scan` (default) | Run a full security scan on the current directory |\n| `install <pkg>` | Securely install a package with typosquatting checks |\n| `--config` | Interactive wizard to set up your OpenAI/Anthropic keys |\n| `--ci` | CI mode: exit with code 1 if critical issues are found |\n\n### Options\n\n- `--path <dir>`: Target directory to scan (default: `.`)\n- `--ai`: Enable AI-powered deep checks (requires API key)\n- `--budget <cents>`: Cap AI spending in USD cents (default: `50`)\n- `--fail-on <severity>`: CI failure threshold (`critical`, `high`, `medium`)\n- `--verbose`: Show all findings, including informational ones\n\n---\n\n## 🏰 Configuration\n\nYou can provide your API keys through environment variables or a global config file.\n\n```bash\n# Set up via interactive wizard\nnpx @dog-verao/the-wall --config\n\n# Or use environment variables\nexport THEWALL_API_KEY=your_key_here\n```\n\n### `.the-wallignore`\nCreate a `.the-wallignore` file in your root to exclude specific files or directories from scanning using standard gitignore syntax.\n\n---\n\n## 🏗️ Developer Setup\n\nIf you want to contribute or run the project from source:\n\n1. **Clone the repo:**\n   ```bash\n   git clone https://github.com/dog-verao/the-wall.git\n   cd the-wall\n   ```\n\n2. **Install dependencies:**\n   ```bash\n   npm install\n   ```\n\n3. **Build the project:**\n   ```bash\n   npm run build\n   ```\n\n4. **Run locally:**\n   ```bash\n   node dist/cli.js --path /path/to/project\n   ```\n\n---\n\n## 🛡️ CI/CD Integration\n\nThe Wall is designed to hold the line in your CI/CD pipeline.\n\n```yaml\n# Example GitHub Action step\n- name: Run The Wall\n  run: npx @dog-verao/the-wall --ci --fail-on=high\n  env:\n    THEWALL_API_KEY: ${{ secrets.THEWALL_API_KEY }}\n```\n\n---\n\n<div align=\"center\">\n  <p>Built with ⚔️ by the <b>Dog Verao</b> team.</p>\n  <p><i>\"The night is dark. Use AI for deep analysis.\"</i></p>\n</div>\n","readmeFilename":"README.md","_rev":"1-1ebf4776f438d2b50f93499998972bce"}