Add security policy profile
ober
7f30db5bdc9c2f4e3c7c689d3f9ea57e19437af5
new file mode 100644 --- /dev/null +++ b/.jerboa/security.json @@ -0,0 +1,22 @@ +{ + "version": 1, + "repo": "jerboa-pgp", + "extends": ["jerboa:cli", "jerboa:crypto", "jerboa:ffi", "jerboa:parser"], + "paths": { + "production": ["*.ss", "*.sls", "lib/**/*.ss", "lib/**/*.sls", "src/**/*.{ss,sls,c,h,rs}", "native/**/*.{c,h,rs}", "Makefile"], + "tests": ["test/**", "tests/**", "**/*-test.ss", "fixtures/**"], + "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": false }, + "eval": { "stringEval": "deny", "bareRead": "deny", "allowReadEval": false }, + "crypto": { "zeroizeSecrets": true, "strictKeyFilePermissions": true } + }, + "suppressions": [] +}