Add security policy profile
ober
08c389bb90ba2b12ee7f4dbbdb09cde86bfdcf5b
new file mode 100644 --- /dev/null +++ b/.jerboa/security.json @@ -0,0 +1,22 @@ +{ + "version": 1, + "repo": "jerboa-edge", + "extends": ["jerboa:daemon", "jerboa:ffi", "jerboa:network-service"], + "paths": { + "production": ["*.ss", "*.sls", "lib/**/*.ss", "lib/**/*.sls", "src/**/*.{ss,sls,c,h,rs}", "native/**/*.{c,h,rs}", "Makefile"], + "tests": ["test/**", "tests/**", "**/*-test.ss"], + "generated": ["build/**", "dist/**", "target/**", "*.so", "*.dylib", "*.wpo"], + "vendor": ["vendor/**", "third_party/**"], + "docs": ["README.md", "docs/**", "*.md"] + }, + "policy": { + "failOn": ["critical", "high"], + "imports": { "directChezscheme": "allow-in-ffi-boundaries" }, + "ffi": { "allowed": true, "requireDynamicWindCleanup": true }, + "process": { "shellInterpolation": "deny" }, + "network": { "requireTimeouts": true, "requireFailClosedSandbox": true, "requireMtlsForAdmin": true }, + "eval": { "stringEval": "deny", "bareRead": "deny", "allowReadEval": false }, + "auth": { "rejectUnsignedWebhooks": true } + }, + "suppressions": [] +}