Files
TORCH/torch-config.example.json
T
google-labs-jules[bot]andPR0M3TH3AN 61b3fd5709 fix(security): prevent command injection in governance service and fix build errors
- Mitigate command injection in `src/services/governance/index.js` by using explicit array arguments with `execFileSync` and adding a security comment.
- Add regression test `test/governance-security.test.mjs` verifying the fix against simulated exploit attempts.
- Fix CI build failures by resolving circular dependencies and duplicate declarations in `src/lock-utils.mjs`, `src/lock-ops.mjs`, `src/lock-publisher.mjs`, and `src/relay-health.mjs`.
- Resolve linting errors in tests and implementation files.

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-21 19:55:52 +00:00

71 lines
1.8 KiB
JSON

{
"nostrLock": {
"namespace": "torch-example",
"relays": [
"wss://relay.damus.io",
"wss://nos.lol",
"wss://relay.primal.net"
],
"ttlSeconds": 7200,
"queryTimeoutMs": 30000,
"publishTimeoutMs": 15000,
"minSuccessfulRelayPublishes": 2,
"minActiveRelayPool": 2,
"relayFallbacks": [
"wss://relay.snort.social",
"wss://relay.nostr.band"
]
},
"dashboard": {
"defaultCadenceView": "daily",
"defaultStatusView": "active",
"auth": "admin:password"
},
"scheduler": {
"firstPromptByCadence": {
"daily": "scheduler-update-agent",
"weekly": "bug-reproducer-agent"
},
"memoryPolicyByCadence": {
"daily": {
"mode": "required",
"retrieveCommand": "node torch/scripts/memory/retrieve.mjs",
"storeCommand": "node torch/scripts/memory/store.mjs",
"retrieveSuccessMarkers": [
"MEMORY_RETRIEVED"
],
"storeSuccessMarkers": [
"MEMORY_STORED"
],
"retrieveArtifacts": [
".scheduler-memory/latest/daily/retrieve.ok"
],
"storeArtifacts": [
".scheduler-memory/latest/daily/store.ok"
]
},
"weekly": {
"mode": "required",
"retrieveCommand": "node torch/scripts/memory/retrieve.mjs",
"storeCommand": "node torch/scripts/memory/store.mjs",
"retrieveSuccessMarkers": [
"MEMORY_RETRIEVED"
],
"storeSuccessMarkers": [
"MEMORY_STORED"
],
"retrieveArtifacts": [
".scheduler-memory/latest/weekly/retrieve.ok"
],
"storeArtifacts": [
".scheduler-memory/latest/weekly/store.ok"
]
}
},
"paused": {
"daily": [],
"weekly": []
}
}
}