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.

29 lines 1.12 kB
import { ScanOptions, ScanResult } from '../types'; import { Logger } from '../utils/logger'; /** * Render scan results as colorized terminal output. Pure presentation: no * scanning, no filtering of suppressions/baselines (the orchestrator does * that). Kept in its own module so the orchestrator can stay focused on * running scanners and so a future TerminalReporter / CompactReporter can * live next to this one. */ export declare class HumanReporter { private logger; private useColor; constructor(logger: Logger, colorMode?: 'auto' | 'always' | 'never'); private shouldUseColor; private colorize; private brand; private getSeverityBand; print(results: ScanResult[], options?: ScanOptions): void; private renderTableGroup; private renderListGroup; private applyResultFilters; private groupResults; private getGroupIcon; private printSummary; private renderPostureBar; private printContextualGuidance; } export declare function getCodeContext(filePath: string, lineNumber: number): string[] | null; //# sourceMappingURL=HumanReporter.d.ts.map