Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SECRET-SCAN: Enable the support for Generic secret key regex #500

Open
Sambit003 opened this issue Oct 16, 2024 · 0 comments
Open

SECRET-SCAN: Enable the support for Generic secret key regex #500

Sambit003 opened this issue Oct 16, 2024 · 0 comments
Labels
difficulty: 2 hacktoberfest Hacktoberfest is on! help wanted Extra attention is needed priority: high scope: cli Everything related to the CLI type: enhancement New feature or request

Comments

@Sambit003
Copy link
Contributor

Sambit003 commented Oct 16, 2024

Description

The current secret-scan package and rulesets doesn't support generic secret key detection. The existing generic secret key rules like JWT, Cloudflare is breaking the other rulesets when tested. You need to fix this bug and provide the support for future generic secret key ruleset.

Scope of Work

You need to strictly work on the following directories/files mentioned. If any other changes are required for other files, you should tag us in the comment section for discussion before proceeding further.

Some additional information

  1. packages/secret-scan/src/denylist.ts : This file basically makes the rule allowed for scanning. You need to import the rules and then append in denylist to make them scannable.
  2. packages/secret-scan/src/generateKey.ts: You can generate the secret keys/strings from your regex in the terminal.
@Sambit003 Sambit003 added type: enhancement New feature or request help wanted Extra attention is needed priority: high difficulty: 2 hacktoberfest Hacktoberfest is on! scope: secret-scan labels Oct 16, 2024
@rajdip-b rajdip-b changed the title CLI, SECRET-SCAN: Enable the support for Generic secret key regex SECRET-SCAN: Enable the support for Generic secret key regex Oct 16, 2024
@rajdip-b rajdip-b added scope: cli Everything related to the CLI and removed scope: secret-scan labels Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty: 2 hacktoberfest Hacktoberfest is on! help wanted Extra attention is needed priority: high scope: cli Everything related to the CLI type: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants