Author: David Akpoviroro Oke (MrIridescent) Version: 2.2.0
Welcome to the Iridescent DevSecOps Platform. This manual is designed for users of all skill levels—from beginners ("Noobs") to seasoned Security Architects. Our goal is to provide a "Turnkey" experience: you plug it in, and it secures your code.
Run the following command in your terminal. This will handle everything—dependency checks, security environment configuration, and even API verification.
npm run setupBefore running a security review, ensure your system is healthy:
iridescent-sec-agent doctorTo scan your project for security vulnerabilities and logic flaws:
iridescent-sec-agent review . --aiFor a comprehensive architectural review that looks at how different files interact from a security perspective:
iridescent-sec-agent review ./src --ai --mode thorough --architectureThe Platform doesn't just find bugs; it fixes vulnerabilities. To preview fixes without changing code:
iridescent-sec-agent fix ./src --ai --dry-runTo apply production-ready security fixes automatically:
iridescent-sec-agent fix ./src --ai- CRITICAL: Immediate security risk (e.g., SQL Injection). Fix these first.
- HIGH: Significant logic flaw or major security weakness.
- MEDIUM: Performance bottleneck or quality issue (e.g., inefficient loops).
- LOW: Style suggestions or minor improvements.
- "Missing API Key": Ensure you have a
.envfile withANTHROPIC_API_KEY=your_key. Runnpm run setupagain to fix this. - "Connection Timeout": The AI analysis requires an internet connection. Check your network or firewall settings.
- "Malformed JSON": The Iridescent Agent has a built-in repair engine, but if a file is extremely large, try scanning sub-directories instead of the root.
- Pre-commit Integration: Use the provided
scripts/pre-commit.jsto automatically scan your code every time you try to commit. This prevents bugs from ever reaching your repository. - Context Matters: The more files you include in a review, the better the AI understands your architecture. However, for speed, scan only the
src/directory.
Branding: Engineered by David Akpoviroro Oke (MrIridescent)