Add security policy profile
ober
72833d8f1ec21f47b02949113bc75a929ec0d195
new file mode 100644 --- /dev/null +++ b/.jerboa/security.json @@ -0,0 +1,22 @@ +{ + "version": 1, + "repo": "jerboa-signal", + "extends": ["jerboa:cli", "jerboa:network-client", "jerboa:crypto"], + "paths": { + "production": ["*.ss", "*.sls", "lib/**/*.ss", "lib/**/*.sls", "src/**/*.{ss,sls,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": "deny" }, + "ffi": { "allowed": false }, + "process": { "shellInterpolation": "deny" }, + "network": { "requireTimeouts": true }, + "eval": { "stringEval": "deny", "bareRead": "deny", "allowReadEval": false }, + "secrets": { "forbidLogging": true, "strictStateFilePermissions": true } + }, + "suppressions": [] +}