Highlights
Insecure Command Execution: 1 prior fix. Scrutinize any change in this area.
scripts/permission-request.js: most-fixed (1 issue). Treat as high-risk during review.
1 high-severity fix in this history; regressions here are high-impact.
Recurring patterns
The bug types that recur here, drawn from past fixes, not open vulnerabilities.
Path Traversal: A path traversal vulnerability in wiki-builder allowed attackers to manipulate paths during wiki initialization and CLI operations, which could lead to unauthorized file system access or execution of unintended shell scripts. This was mitigated by adding strict alphanumeric regex validation on slugs and enforcing path canonicalization against the wiki root directory.
Insecure Command Execution: Fragile string-based blocklists in the permission request scripts failed to prevent execution of dangerous system commands (e.g., sudo rm, chmod 777). The vulnerability was fixed by implementing robust case-insensitive regex checks on command strings before execution.