Skip to content

Conversation

@marcellobarile
Copy link
Member

@marcellobarile marcellobarile commented Aug 25, 2025

Proposed Changes

⚠️ This is still a PoC

Checklist

To ensure you provided everything we need to look at your PR:

  • Brief textual description of the changes present
  • Visual demo attached
  • Steps to try out present, i.e. using the @bpmn-io/sr tool
  • Related issue linked via Closes {LINK_TO_ISSUE} or Related to {LINK_TO_ISSUE}

this._mouse = mouse;
this._rules = rules;
this._localStorageKey = 'djs-clipboard';
this._sessionId = Math.random().toString(36).substring(2, 9);

Check failure

Code scanning / CodeQL

Insecure randomness High

This uses a cryptographically insecure random number generated at
Math.random()
in a security context.
Copy link
Member Author

Choose a reason for hiding this comment

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

will strengthen this if the approach will be validated

@barmac barmac added the backlog Queued in backlog label Sep 3, 2025 — with bpmn-io-tasks
@marcellobarile
Copy link
Member Author

@marcellobarile
Copy link
Member Author

not needed anymore thanks to https://github.com/nikku/bpmn-js-native-copy-paste :)

@bpmn-io-tasks bpmn-io-tasks bot removed the backlog Queued in backlog label Jan 9, 2026
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.

2 participants