Skip to content

Commit

Permalink
fixup! feat: Rule for hard-coded key
Browse files Browse the repository at this point in the history
  • Loading branch information
kgilpin committed Aug 4, 2022
1 parent 13036b6 commit fcb474d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/scanner/doc/rules/hard-coded-key.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,8 @@ labels:
- crypto.decrypt
- crypto.set_key
- string.unpack
scope: root
---
---

Finds occurrances in which a cryptographic key is used that is not provided by a function.

`string.unpack` functions are an exception, because they are only modifying, not creating, the key.

0 comments on commit fcb474d

Please sign in to comment.