Skip to content

MASWE-0016: Unsafe Handling of Imported Cryptographic Keys

Content in BETA

This content is in beta and still under active development, so it is subject to change any time (e.g. structure, IDs, content, URLs, etc.).

Send Feedback

Draft Weakness

This weakness hasn't been created yet and it's in draft. But you can check its status or start working on it yourself. If the issue has not yet been assigned, you can request to be assigned to it and submit a PR with the new content for that weakness by following our guidelines.

Check our GitHub Issues for MASWE-0016

Initial Description or Hints

Importing keys without validating their origin or integrity, or using insecure custom key exchange protocols, can inadvertently introduce malicious or compromised keys into the app environment.

Relevant Topics

  • key import from untrusted sources
  • key import from untrusted storage


MASTG v1 Coverage

No MASTG v1 tests are related to this weakness.