Skip to content

Shadow block opcodes are not properly validated #2434

Open
@apple502j

Description

@apple502j

By modifying the JSON file, any block can be set as "shadow block". They do not appear anywhere in the workspace, but they still execute, allowing codes to be hidden. This can be exploited in a lot of ways.

Example: https://scratch.mit.edu/projects/388355119 - it does not show any blocks because they are shadow blocks. However, the project can still run.

My solution would be to have list of "allowed shadow opcodes" and blocks not listed automatically gets marked as non-shadow - any other ideas?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions