├── .coveralls.yml ├── .gitignore ├── .travis.yml ├── LICENSE ├── README.md ├── index.js ├── package.json ├── scripts └── prepublish.sh └── test ├── cases ├── .eslintrc ├── add-element-to-array-proto │ ├── index.js │ ├── package.json │ ├── want-stderr.txt │ └── want-stdout.txt ├── cannot-reauthorize │ ├── index.js │ ├── package.json │ ├── want-stderr.txt │ └── want-stdout.txt ├── delete-from-module-cache-and-reinitialize │ ├── dodgy-code.js │ ├── index.js │ ├── package.json │ ├── want-stderr.txt │ └── want-stdout.txt ├── minimal-config │ ├── index.js │ ├── package.json │ ├── want-stderr.txt │ └── want-stdout.txt ├── mutate-Function.prototype.call-to-intercede │ ├── index.js │ ├── package.json │ ├── want-stderr.txt │ └── want-stdout.txt ├── mutate-Object-freeze-to-return-own-verify │ ├── index.js │ ├── package.json │ ├── want-stderr.txt │ └── want-stdout.txt ├── mutate-Set-has │ ├── index.js │ ├── package.json │ └── want-stdout.txt ├── naive-forgery │ ├── index.js │ ├── package.json │ └── want-stdout.txt ├── never-authorized │ ├── index.js │ ├── package.json │ ├── want-stderr.txt │ └── want-stdout.txt ├── no-config │ ├── index.js │ ├── package.json │ └── want-stdout.txt ├── replace-Mintable-statics │ ├── index.js │ ├── package.json │ └── want-stdout.txt ├── report-only │ ├── index.js │ ├── package.json │ ├── want-stderr.txt │ └── want-stdout.txt ├── self-nomination │ ├── index.js │ ├── node_modules │ │ ├── @bar │ │ │ └── Bar │ │ │ │ ├── index.js │ │ │ │ ├── minimal.json │ │ │ │ └── package.json │ │ ├── baz │ │ │ ├── index.js │ │ │ └── package.json │ │ ├── foo │ │ │ ├── index.js │ │ │ └── package.json │ │ └── types │ │ │ ├── index.js │ │ │ └── package.json │ ├── package.json │ ├── want-stderr.txt │ └── want-stdout.txt ├── simple-true-negative │ ├── index.js │ ├── package.json │ ├── want-stderr.txt │ └── want-stdout.txt ├── simple-true-positive │ ├── index.js │ ├── package.json │ └── want-stdout.txt ├── third-party-considered │ ├── index.js │ ├── node_modules │ │ ├── @scoped │ │ │ ├── reviewed │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ │ └── unreviewed │ │ │ │ ├── index.js │ │ │ │ └── package.json │ │ ├── unscoped-reviewed │ │ │ ├── index.js │ │ │ └── package.json │ │ └── unscoped-unreviewed │ │ │ ├── index.js │ │ │ └── package.json │ ├── package.json │ ├── want-stderr.txt │ └── want-stdout.txt └── vm-bypass │ ├── bypass.js │ ├── index.js │ ├── package.json │ ├── want-stderr.txt │ └── want-stdout.txt ├── common ├── attack-tools.js └── my-mintable.js └── test-mintable.js /.coveralls.yml: -------------------------------------------------------------------------------- 1 | service_name: travis-pro 2 | repo_token: 8cxaiSsVkBgrFZlM1nFSPifw85VF7ZSAM 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/README.md -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/index.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/package.json -------------------------------------------------------------------------------- /scripts/prepublish.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/scripts/prepublish.sh -------------------------------------------------------------------------------- /test/cases/.eslintrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/.eslintrc -------------------------------------------------------------------------------- /test/cases/add-element-to-array-proto/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/add-element-to-array-proto/index.js -------------------------------------------------------------------------------- /test/cases/add-element-to-array-proto/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/add-element-to-array-proto/package.json -------------------------------------------------------------------------------- /test/cases/add-element-to-array-proto/want-stderr.txt: -------------------------------------------------------------------------------- 1 | mintable: ./index.js not allowed to mint MY 2 | -------------------------------------------------------------------------------- /test/cases/add-element-to-array-proto/want-stdout.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/add-element-to-array-proto/want-stdout.txt -------------------------------------------------------------------------------- /test/cases/cannot-reauthorize/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/cannot-reauthorize/index.js -------------------------------------------------------------------------------- /test/cases/cannot-reauthorize/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/cannot-reauthorize/package.json -------------------------------------------------------------------------------- /test/cases/cannot-reauthorize/want-stderr.txt: -------------------------------------------------------------------------------- 1 | mintable: ./index.js not allowed to mint MY 2 | -------------------------------------------------------------------------------- /test/cases/cannot-reauthorize/want-stdout.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/cannot-reauthorize/want-stdout.txt -------------------------------------------------------------------------------- /test/cases/delete-from-module-cache-and-reinitialize/dodgy-code.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/delete-from-module-cache-and-reinitialize/dodgy-code.js -------------------------------------------------------------------------------- /test/cases/delete-from-module-cache-and-reinitialize/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/delete-from-module-cache-and-reinitialize/index.js -------------------------------------------------------------------------------- /test/cases/delete-from-module-cache-and-reinitialize/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/delete-from-module-cache-and-reinitialize/package.json -------------------------------------------------------------------------------- /test/cases/delete-from-module-cache-and-reinitialize/want-stderr.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/delete-from-module-cache-and-reinitialize/want-stderr.txt -------------------------------------------------------------------------------- /test/cases/delete-from-module-cache-and-reinitialize/want-stdout.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/delete-from-module-cache-and-reinitialize/want-stdout.txt -------------------------------------------------------------------------------- /test/cases/minimal-config/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/minimal-config/index.js -------------------------------------------------------------------------------- /test/cases/minimal-config/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "mintable": {} 3 | } 4 | -------------------------------------------------------------------------------- /test/cases/minimal-config/want-stderr.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/minimal-config/want-stderr.txt -------------------------------------------------------------------------------- /test/cases/minimal-config/want-stdout.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/minimal-config/want-stdout.txt -------------------------------------------------------------------------------- /test/cases/mutate-Function.prototype.call-to-intercede/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/mutate-Function.prototype.call-to-intercede/index.js -------------------------------------------------------------------------------- /test/cases/mutate-Function.prototype.call-to-intercede/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "mintable": {} 3 | } 4 | -------------------------------------------------------------------------------- /test/cases/mutate-Function.prototype.call-to-intercede/want-stderr.txt: -------------------------------------------------------------------------------- 1 | mintable: ./index.js not allowed to mint MY 2 | -------------------------------------------------------------------------------- /test/cases/mutate-Function.prototype.call-to-intercede/want-stdout.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/mutate-Function.prototype.call-to-intercede/want-stdout.txt -------------------------------------------------------------------------------- /test/cases/mutate-Object-freeze-to-return-own-verify/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/mutate-Object-freeze-to-return-own-verify/index.js -------------------------------------------------------------------------------- /test/cases/mutate-Object-freeze-to-return-own-verify/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "mintable": {} 3 | } 4 | -------------------------------------------------------------------------------- /test/cases/mutate-Object-freeze-to-return-own-verify/want-stderr.txt: -------------------------------------------------------------------------------- 1 | mintable: ./index.js not allowed to mint MY 2 | -------------------------------------------------------------------------------- /test/cases/mutate-Object-freeze-to-return-own-verify/want-stdout.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/mutate-Object-freeze-to-return-own-verify/want-stdout.txt -------------------------------------------------------------------------------- /test/cases/mutate-Set-has/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/mutate-Set-has/index.js -------------------------------------------------------------------------------- /test/cases/mutate-Set-has/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "mintable": {} 3 | } 4 | -------------------------------------------------------------------------------- /test/cases/mutate-Set-has/want-stdout.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/mutate-Set-has/want-stdout.txt -------------------------------------------------------------------------------- /test/cases/naive-forgery/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/naive-forgery/index.js -------------------------------------------------------------------------------- /test/cases/naive-forgery/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/naive-forgery/package.json -------------------------------------------------------------------------------- /test/cases/naive-forgery/want-stdout.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/naive-forgery/want-stdout.txt -------------------------------------------------------------------------------- /test/cases/never-authorized/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/never-authorized/index.js -------------------------------------------------------------------------------- /test/cases/never-authorized/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/never-authorized/package.json -------------------------------------------------------------------------------- /test/cases/never-authorized/want-stderr.txt: -------------------------------------------------------------------------------- 1 | mintable: minter accessed before authorization 2 | -------------------------------------------------------------------------------- /test/cases/never-authorized/want-stdout.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/never-authorized/want-stdout.txt -------------------------------------------------------------------------------- /test/cases/no-config/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/no-config/index.js -------------------------------------------------------------------------------- /test/cases/no-config/package.json: -------------------------------------------------------------------------------- 1 | { 2 | } 3 | -------------------------------------------------------------------------------- /test/cases/no-config/want-stdout.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/no-config/want-stdout.txt -------------------------------------------------------------------------------- /test/cases/replace-Mintable-statics/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/replace-Mintable-statics/index.js -------------------------------------------------------------------------------- /test/cases/replace-Mintable-statics/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "mintable": {} 3 | } 4 | -------------------------------------------------------------------------------- /test/cases/replace-Mintable-statics/want-stdout.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/replace-Mintable-statics/want-stdout.txt -------------------------------------------------------------------------------- /test/cases/report-only/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/report-only/index.js -------------------------------------------------------------------------------- /test/cases/report-only/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/report-only/package.json -------------------------------------------------------------------------------- /test/cases/report-only/want-stderr.txt: -------------------------------------------------------------------------------- 1 | mintable: ./index.js not allowed to mint DENIED 2 | -------------------------------------------------------------------------------- /test/cases/report-only/want-stdout.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/report-only/want-stdout.txt -------------------------------------------------------------------------------- /test/cases/self-nomination/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/self-nomination/index.js -------------------------------------------------------------------------------- /test/cases/self-nomination/node_modules/@bar/Bar/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/self-nomination/node_modules/@bar/Bar/index.js -------------------------------------------------------------------------------- /test/cases/self-nomination/node_modules/@bar/Bar/minimal.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/self-nomination/node_modules/@bar/Bar/minimal.json -------------------------------------------------------------------------------- /test/cases/self-nomination/node_modules/@bar/Bar/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/self-nomination/node_modules/@bar/Bar/package.json -------------------------------------------------------------------------------- /test/cases/self-nomination/node_modules/baz/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/self-nomination/node_modules/baz/index.js -------------------------------------------------------------------------------- /test/cases/self-nomination/node_modules/baz/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/self-nomination/node_modules/baz/package.json -------------------------------------------------------------------------------- /test/cases/self-nomination/node_modules/foo/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/self-nomination/node_modules/foo/index.js -------------------------------------------------------------------------------- /test/cases/self-nomination/node_modules/foo/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/self-nomination/node_modules/foo/package.json -------------------------------------------------------------------------------- /test/cases/self-nomination/node_modules/types/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/self-nomination/node_modules/types/index.js -------------------------------------------------------------------------------- /test/cases/self-nomination/node_modules/types/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/self-nomination/node_modules/types/package.json -------------------------------------------------------------------------------- /test/cases/self-nomination/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/self-nomination/package.json -------------------------------------------------------------------------------- /test/cases/self-nomination/want-stderr.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/self-nomination/want-stderr.txt -------------------------------------------------------------------------------- /test/cases/self-nomination/want-stdout.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/self-nomination/want-stdout.txt -------------------------------------------------------------------------------- /test/cases/simple-true-negative/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/simple-true-negative/index.js -------------------------------------------------------------------------------- /test/cases/simple-true-negative/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/simple-true-negative/package.json -------------------------------------------------------------------------------- /test/cases/simple-true-negative/want-stderr.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/simple-true-negative/want-stderr.txt -------------------------------------------------------------------------------- /test/cases/simple-true-negative/want-stdout.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/simple-true-negative/want-stdout.txt -------------------------------------------------------------------------------- /test/cases/simple-true-positive/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/simple-true-positive/index.js -------------------------------------------------------------------------------- /test/cases/simple-true-positive/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/simple-true-positive/package.json -------------------------------------------------------------------------------- /test/cases/simple-true-positive/want-stdout.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/simple-true-positive/want-stdout.txt -------------------------------------------------------------------------------- /test/cases/third-party-considered/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/third-party-considered/index.js -------------------------------------------------------------------------------- /test/cases/third-party-considered/node_modules/@scoped/reviewed/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/third-party-considered/node_modules/@scoped/reviewed/index.js -------------------------------------------------------------------------------- /test/cases/third-party-considered/node_modules/@scoped/reviewed/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/third-party-considered/node_modules/@scoped/reviewed/package.json -------------------------------------------------------------------------------- /test/cases/third-party-considered/node_modules/@scoped/unreviewed/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/third-party-considered/node_modules/@scoped/unreviewed/index.js -------------------------------------------------------------------------------- /test/cases/third-party-considered/node_modules/@scoped/unreviewed/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/third-party-considered/node_modules/@scoped/unreviewed/package.json -------------------------------------------------------------------------------- /test/cases/third-party-considered/node_modules/unscoped-reviewed/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/third-party-considered/node_modules/unscoped-reviewed/index.js -------------------------------------------------------------------------------- /test/cases/third-party-considered/node_modules/unscoped-reviewed/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/third-party-considered/node_modules/unscoped-reviewed/package.json -------------------------------------------------------------------------------- /test/cases/third-party-considered/node_modules/unscoped-unreviewed/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/third-party-considered/node_modules/unscoped-unreviewed/index.js -------------------------------------------------------------------------------- /test/cases/third-party-considered/node_modules/unscoped-unreviewed/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/third-party-considered/node_modules/unscoped-unreviewed/package.json -------------------------------------------------------------------------------- /test/cases/third-party-considered/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/third-party-considered/package.json -------------------------------------------------------------------------------- /test/cases/third-party-considered/want-stderr.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/third-party-considered/want-stderr.txt -------------------------------------------------------------------------------- /test/cases/third-party-considered/want-stdout.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/third-party-considered/want-stdout.txt -------------------------------------------------------------------------------- /test/cases/vm-bypass/bypass.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/vm-bypass/bypass.js -------------------------------------------------------------------------------- /test/cases/vm-bypass/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/vm-bypass/index.js -------------------------------------------------------------------------------- /test/cases/vm-bypass/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/vm-bypass/package.json -------------------------------------------------------------------------------- /test/cases/vm-bypass/want-stderr.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/vm-bypass/want-stderr.txt -------------------------------------------------------------------------------- /test/cases/vm-bypass/want-stdout.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/cases/vm-bypass/want-stdout.txt -------------------------------------------------------------------------------- /test/common/attack-tools.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/common/attack-tools.js -------------------------------------------------------------------------------- /test/common/my-mintable.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/common/my-mintable.js -------------------------------------------------------------------------------- /test/test-mintable.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mikesamuel/node-sec-patterns/HEAD/test/test-mintable.js --------------------------------------------------------------------------------