tech-debt-tracker
Pass
Audited by Gen Agent Trust Hub on Sep 4, 2026
Risk Level: SAFECREDENTIALS_UNSAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [CREDENTIALS_UNSAFE]: Hardcoded credentials and connection strings are present in the demonstration files within the assets directory. While these are documented as intentional examples for detection training, they represent a credential exposure pattern.
- File
assets/sample_codebase/src/user_service.pycontains a hardcodedDATABASE_URLwith a password and a mockAPI_KEY. - File
assets/sample_codebase/src/frontend.jscontains a hardcoded mockAPI_KEYand stores anauthTokenin local storage. - File
assets/sample_codebase/src/payment_processor.pycontains hardcoded mock test keys for Stripe, PayPal, and Square. - [INDIRECT_PROMPT_INJECTION]: The
debt_scanner.pytool generates reports based on untrusted file content, such as code comments, which could be used to influence an agent's context if the report is ingested without proper boundaries. - Ingestion points: The
debt_scanner.pyscript reads arbitrary code and comment content from user-specified directories (e.g., in_scan_fileand_scan_common_patterns). - Boundary markers: Absent. The scanner output is a list of descriptions derived directly from the source code.
- Capability inventory: The core tools (
debt_scanner.py,debt_prioritizer.py,debt_dashboard.py) perform file system read/write operations for analysis and reporting but do not possess high-risk capabilities like shell command execution or network exfiltration. - Sanitization: The scanner extracts text using regex patterns but does not sanitize, escape, or filter the extracted content before including it in the final JSON or text reports.
Audit Metadata