Add security policy profile
ober
8b1be3dd4cc679b36697f667b95b64e23b93d4f1
new file mode 100644 --- /dev/null +++ b/.jerboa/security.json @@ -0,0 +1,22 @@ +{ + "version": 1, + "repo": "jerboa-gitsafe", + "extends": ["jerboa:cli", "jerboa:parser", "jerboa:crypto"], + "paths": { + "production": ["*.ss", "*.sls", "lib/**/*.ss", "lib/**/*.sls", "src/**/*.ss", "src/**/*.sls", "bin/**", "Makefile"], + "tests": ["test/**", "tests/**", "**/*-test.ss", "fixtures/**"], + "generated": ["build/**", "dist/**", "target/**"], + "vendor": ["vendor/**", "third_party/**"], + "docs": ["README.md", "docs/**", "*.md"] + }, + "policy": { + "failOn": ["critical", "high"], + "imports": { "directChezscheme": "deny" }, + "ffi": { "allowed": false }, + "process": { "shellInterpolation": "deny" }, + "network": { "requireTimeouts": false }, + "eval": { "stringEval": "deny", "bareRead": "deny", "allowReadEval": false }, + "secrets": { "scannerRepo": true, "allowFixtureSecretsOnlyInTests": true } + }, + "suppressions": [] +}