-
Notifications
You must be signed in to change notification settings - Fork 150
security: add security doc. #148
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
Conversation
plainheart
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As requested in apache/echarts#21276, do we need to add some examples with the present ECharts APIs to enable users to get simple risk handling? 🤔
|
Add a doc for contributors of echarts. Security Checklist for ContributorsSecurity issues should be given special attention. Although ECharts focuses on visualization logic and generally assumes that inputs originate from trusted sources, contributors should stay cautious of potential security risks during implementation. They should either mitigate these risks whenever possible, or highlight them in the document for each API (including ECharts options). XSS is one of the most common security risks, especially when using
Before committing a pull request, please check your new design and implementation against the CHECKLIST below.
Security Guidelines explain the security model, checklists, and safe usage recommendations based on the perspective of developers using ECharts. ECharts contributors should also follow this document and update it as necessary. |
@plainheart An example is added to the Security doc in this PR, using |
Should unavoidable be more appropriate? Others LGTM |
Add security doc for ECharts-caller, including security boundaries, checklists, and recommendations.