aws / aws/aws-encryption-sdk-javascript

JavaScript instanceOf and different versions of the underlying Encryption SDK modules.

Open
#126 11 comments 2 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
260
Forks
68
Avg merge
22h 19m
Merged PRs (30d)
2

Description

We use instanceOf to insure some security properties of Cryptographic Materials, and Encrypted Data Keys. However, under some conditions, versions of the dependent packages may result in copies of these files being installed (local node_modules folders) for the packages that have differing versions.
This means that these instanceOf checks may fail. Because while the code is the same, the actual instances are not.
What is the best direction?
How pervasive can this be?

Contributor guide

Open the contributing guide

Research direction

Trace the instanceOf checks involving Cryptographic Materials and Encrypted Data Keys, then inspect how differing dependency versions create local node_modules copies. Determine how pervasive the identity mismatch can be and document a concrete direction with tests or reproduction cases showing the expected security behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
cryptography, security
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.