tech-debt-tracker

Pass

Audited by Gen Agent Trust Hub on Nov 8, 2026

Risk Level: SAFECREDENTIALS_UNSAFEINDIRECT_PROMPT_INJECTION
Full Analysis
  • [CREDENTIALS_UNSAFE]: Several files within the assets/sample_codebase/ directory contain hardcoded credentials. While these appear to be placeholder values intended for demonstration purposes (as identifying such debt is the skill's primary function), they represent an unsafe practice in the distributed assets. 1. assets/sample_codebase/src/frontend.js: Contains a hardcoded API_KEY ("abc123def456"). 2. assets/sample_codebase/src/user_service.py: Contains a DATABASE_URL with an embedded password ("password123"), a hardcoded API_KEY ("sk-1234567890abcdef"), and a hardcoded salt ("salt123"). 3. assets/sample_codebase/src/payment_processor.py: Contains several hardcoded keys, including stripe_key ("sk_test_1234567890"), paypal_key ("paypal_secret_key_here"), and square_key ("square_api_key").
  • [INDIRECT_PROMPT_INJECTION]: The debt_scanner.py script parses and extracts strings (such as TODO comments and function descriptions) from arbitrary external codebases. This data is then surfaced to the agent, creating a surface for indirect prompt injection where malicious code could attempt to influence the agent's report or subsequent actions. 1. Ingestion points: Source code files in the target codebase directory read by scripts/debt_scanner.py. 2. Boundary markers: The scanner outputs structured JSON and text, but does not provide explicit instructions to the agent to ignore potentially malicious embedded content within the extracted debt descriptions. 3. Capability inventory: scripts/debt_scanner.py performs file system reading, AST parsing, and regex pattern matching. scripts/debt_prioritizer.py and scripts/debt_dashboard.py process the resulting data. 4. Sanitization: There is no evidence of sanitization or filtering of strings extracted from the target codebase before they are included in the generated inventory and reports.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 8, 2026, 03:14 PM