Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 1 addition & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1 @@
# [:] Example Node Project

An example node project to demonstrate [srcclr](https://www.srcclr.com) scans.

## Try me!

```
brew tap srcclr/srcclr
brew install srcclr
srcclr activate
srcclr scan --url https://github.com/srcclr/example-javascript
```
Updated README Content
14 changes: 13 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
console.log('hello world');

function vulnerable() {
console.log('do something dubious');
return 1;
}

function utility() {
return vulnerable();
}

module.exports = {
utility
};
Loading