Skip to content

Updated the project to run with Android Studio Otter.#386

Merged
mrunalchawda merged 3 commits into
masterfrom
chore/update-for-latest-studio
Dec 31, 2025
Merged

Updated the project to run with Android Studio Otter.#386
mrunalchawda merged 3 commits into
masterfrom
chore/update-for-latest-studio

Conversation

@pawarprasad37
Copy link
Copy Markdown
Collaborator

No description provided.

EditText etApiKey = findViewById(R.id.et_api_key);
EditText etCustomOptions = findViewById(R.id.et_custom_options);

etApiKey.setText("rzp_live_ILgsfZCZoFIKMb");
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vivekshindhe need clarity on whether we share our merchant key publicly or not.

val etApiKey = findViewById<EditText>(R.id.et_api_key)
val etCustomOptions = findViewById<EditText>(R.id.et_custom_options)

etApiKey.setText("rzp_live_ILgsfZCZoFIKMb")
Copy link
Copy Markdown

@semgrep-code-razorpay semgrep-code-razorpay Bot Nov 26, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hardcoded sensitive data leaked

Semgrep has detected a leak of sensitive data in this code. This secret data could be used by internal or external malicious actors. We highly recommend you change, reset, or rotate the sensitive data.

A secret is hard-coded in the application. Secrets stored in source code, such as credentials, identifiers, and other types of sensitive data, can be leaked and used by internal or external malicious actors. It is recommended to rotate the secret and retrieve them from a secure secret vault or Hardware Security Module (HSM), alternatively environment variables can be used if allowed by your company policy.

Fixed in commit 7d5fe37

EditText etApiKey = findViewById(R.id.et_api_key);
EditText etCustomOptions = findViewById(R.id.et_custom_options);

etApiKey.setText("rzp_live_ILgsfZCZoFIKMb");
Copy link
Copy Markdown

@semgrep-code-razorpay semgrep-code-razorpay Bot Nov 26, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hardcoded sensitive data leaked

Semgrep has detected a leak of sensitive data in this code. This secret data could be used by internal or external malicious actors. We highly recommend you change, reset, or rotate the sensitive data.

A secret is hard-coded in the application. Secrets stored in source code, such as credentials, identifiers, and other types of sensitive data, can be leaked and used by internal or external malicious actors. It is recommended to rotate the secret and retrieve them from a secure secret vault or Hardware Security Module (HSM), alternatively environment variables can be used if allowed by your company policy.

🎉 Fixed in commit 7d5fe37 🎉

vivekshindhe
vivekshindhe previously approved these changes Dec 5, 2025
@mrunalchawda mrunalchawda merged commit a4c71ea into master Dec 31, 2025
1 of 3 checks passed
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.

3 participants