Skip to content

Commit 7690404

Browse files
committed
Added security banner to README
1 parent aed0124 commit 7690404

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

README.md

+14-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,21 @@
11
Embedded JavaScript templates<br/>
2-
[![Build Status](https://img.shields.io/travis/mde/ejs/master.svg?style=flat)](https://travis-ci.org/mde/ejs)
3-
[![Developing Dependencies](https://img.shields.io/david/dev/mde/ejs.svg?style=flat)](https://david-dm.org/mde/ejs?type=dev)
42
[![Known Vulnerabilities](https://snyk.io/test/npm/ejs/badge.svg?style=flat)](https://snyk.io/test/npm/ejs)
53
=============================
64

5+
Security professionals, before reporting any security issues, please reference the
6+
<a href="https://github.com/mde/ejs/blob/main/SECURITY.md">SECURITY.md</a>
7+
in this project, in particular, the following: "EJS is effectively a JavaScript runtime.
8+
Its entire job is to execute JavaScript. If you run the EJS render method without
9+
checking the inputs yourself, you are responsible for the results."
10+
11+
In short, DO NOT submit 'vulnerabilities' that include this snippet of code:
12+
13+
```javascript
14+
app.get('/', (req, res) => {
15+
res.render('index', req.query);
16+
});
17+
```
18+
719
## Installation
820

921
```bash

0 commit comments

Comments
 (0)