UNPKG

ubon

Version:

Security scanner for AI-generated apps (Cursor, Lovable, Windsurf, v0). Catches hardcoded secrets, prompt injection, hallucinated imports, Server Actions / Edge runtime mistakes, and the vibe-coded vulnerabilities traditional linters miss.

27 lines 878 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const rule = { meta: { id: 'SEC009', category: 'security', severity: 'high', message: 'AWS Access Key ID exposed', fix: 'Move AWS credentials to environment variables', impact: 'AWS credentials can be used to access and bill your cloud resources' }, impl: { patterns: [ { ruleId: 'SEC009', confidence: 0.95, pattern: /(['"`])(?:AKIA[0-9A-Z]{16})\1/gi, message: 'AWS Access Key ID exposed', severity: 'high', fix: 'Move AWS credentials to environment variables' } ], fileTypes: ['js', 'jsx', 'ts', 'tsx', 'svelte', 'astro', 'env'] } }; exports.default = rule; //# sourceMappingURL=SEC009.js.map