Khan / Khan/live-editor

Users can un-ban some terms pretty easily.

Open
#309 14 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
776
Forks
180
PR merge metrics
No merged PRs in 30d

Description

var escape = (function(){return this;})();
try{
escape.BabyHint.bannedProperties = [];
}catch(e){}
Unbans terms like document and such. Also, escape grants access to eval and some other great stuff.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported snippet in the live coding environment and tracing how BabyHint.bannedProperties is exposed. Verify that user code can no longer clear the banned terms or obtain access to eval, and add or update coverage for both bypasses if the repository provides a relevant test entry point.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
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.