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

feat: mitigate ppss.kr #7

Merged
merged 1 commit into from Aug 10, 2022
Merged

feat: mitigate ppss.kr #7

merged 1 commit into from Aug 10, 2022

Conversation

seia-soto
Copy link
Contributor

@seia-soto seia-soto commented Aug 10, 2022

  • Organize fallback functions for additional runtime mitigation.
  • Add realistic random UUID generator.
  • Cleaned up some variables.
  • Removed secret value registration to Window to hide from capturing.
  • Updated version to 2.1.

The main reason to update is ppss.kr.

@seia-soto seia-soto self-assigned this Aug 10, 2022
unsafeWindow = window
}

const secret = (Date.now() * Math.random()).toString(36)

Check failure

Code scanning / CodeQL

Insecure randomness

Cryptographically insecure [random value](1) in a security context.
} catch (_error) { }
}

document.cookie = 'as_uuid=; expires=-1'

Check warning

Code scanning / CodeQL

Clear text transmission of sensitive cookie

Sensitive cookie sent without enforcing SSL encryption
}

document.cookie = 'as_uuid=; expires=-1'
document.cookie = 'as_uuid='

Check warning

Code scanning / CodeQL

Clear text transmission of sensitive cookie

Sensitive cookie sent without enforcing SSL encryption
@piquark6046 piquark6046 self-requested a review August 10, 2022 16:24
Copy link
Member

@piquark6046 piquark6046 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! 🥳

@piquark6046 piquark6046 merged commit e346e9d into List-KR:main Aug 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants