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.
23 lines • 741 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
/**
* VIBE004: Orphaned exports
* Detects exported functions/components that are never imported elsewhere
*/
const rule = {
meta: {
id: 'VIBE004',
category: 'development',
severity: 'low',
message: 'Exported symbol appears unused in the codebase',
fix: 'Remove unused export or verify it is used externally',
impact: 'Orphaned exports increase bundle size and indicate dead code'
},
impl: {
fileTypes: ['js', 'jsx', 'ts', 'tsx'],
// Detection handled by VibeScanner with cross-file analysis
detect: undefined
}
};
exports.default = rule;
//# sourceMappingURL=VIBE004.js.map