Skip to content

fix: api keys are hardcoded directly into jade templ... in _head.jade#6705

Open
orbisai0security wants to merge 1 commit into
Dogfalo:v1-devfrom
orbisai0security:fix-remove-hardcoded-transifex-api-key
Open

fix: api keys are hardcoded directly into jade templ... in _head.jade#6705
orbisai0security wants to merge 1 commit into
Dogfalo:v1-devfrom
orbisai0security:fix-remove-hardcoded-transifex-api-key

Conversation

@orbisai0security
Copy link
Copy Markdown

Summary

Fix high severity security issue in jade/_head.jade.

Vulnerability

Field Value
ID V-001
Severity HIGH
Scanner multi_agent_ai
Rule V-001
File jade/_head.jade:34
CWE CWE-798

Description: API keys are hardcoded directly into Jade template source files and HTML content files. When the Jade templates are compiled and served, these keys are rendered into the client-side HTML and become visible to any user who views the page source in a browser (Ctrl+U). Additionally, anyone with read access to the repository (including if the repository is public) can extract these keys directly from the source files. This constitutes hardcoded credential exposure (CWE-798) and sensitive data stored in plaintext (CWE-312).

Changes

  • jade/_head.jade

Verification

  • Build passes
  • Scanner re-scan confirms fix
  • LLM code review passed

Automated security fix by OrbisAI Security

Automated security fix generated by Orbis Security AI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant