oxc/tasks
DonIsaac d24985ed51 feat(linter): add oxc-security/api-keys (#5906)
## What This PR does
Adds a new `oxc-security/api-key` rule that scans for hard-coded API keys.

It is broken up into "secret rules", where each one is responsible for finding a different kind of key. It is architecturally identical to how lint rules themselves. This PR also includes the first of these rules, for AWS access key IDs.

Logic and rules are based on [keyhunter](https://github.com/Donisaac/keyhunter). I've licensed that repo under GNU GPLv3, but it's my code and I can do what I want with it 😈 (read: I'm fine with it being MIT for oxc).

This PR is a complete feature in its own right, but does not represent the end of this work. See https://github.com/oxc-project/backlog/issues/116 to track overall progress.
2024-09-22 22:39:56 +00:00
..
ast_tools refactor(ast_tools): shorten code (#5915) 2024-09-20 14:15:11 +00:00
benchmark feat(isolated_declarations): add stripInternal (#5878) 2024-09-19 23:14:47 +08:00
common perf(rust): use cow_utils instead (#5664) 2024-09-11 18:39:30 +08:00
coverage feat(semantic): add help message for invalid let x?: number (#5969) 2024-09-22 15:59:49 +00:00
javascript_globals chore(dprint): format toml files (#5599) 2024-09-08 14:26:16 +08:00
lint_rules chore: use dprint to format js, json and markdown 2024-09-08 13:24:58 +08:00
minsize chore: change just c to run cargo conformance 2024-09-22 23:50:30 +08:00
prettier_conformance fix(prettier): handle TSTypeLiteral as an object (#5946) 2024-09-21 23:27:12 +08:00
rulegen feat(linter): add oxc-security/api-keys (#5906) 2024-09-22 22:39:56 +00:00
transform_conformance fix(transformer): fix arrow function transform (#5933) 2024-09-21 07:48:18 +00:00
website feat(linter): add oxc-security/api-keys (#5906) 2024-09-22 22:39:56 +00:00