backstage companion
Analysis
This appears to be a transparent admin workflow tool, but it can run arbitrary project/global shell checks and update those checks from an unpinned GitHub source, so it needs careful review before use.
Findings (4)
Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.
Checks for instructions or behavior that redirect the agent, misuse tools, execute unexpected code, cascade across systems, exploit user trust, or continue outside the intended task.
GLOBAL_CHECKS_DIR="$HOME/Documents/backstage/backstage/checks/global" LOCAL_CHECKS_DIR="backstage/checks/local" ... CHECK_OUTPUT=$(bash "$check" 2>&1) ... if bash "$check" >/dev/null 2>&1; then
The checker discovers and executes all matching shell scripts from both a global user directory and the current project's local checks directory. That is broad local code execution with the user's privileges and no per-script approval.
UPSTREAM="https://github.com/nonlinear/backstage" ... git clone --quiet --depth 1 "$UPSTREAM" "$TMP_DIR/backstage" ... rsync -av --delete "$TMP_DIR/backstage/backstage/checks/global/" "$BACKSTAGE_DIR/checks/global/"
The update flow clones the latest default-branch content from GitHub without pinning a commit, tag, checksum, or signature, then syncs it into the checks/global directory that other scripts later execute.
echo " - $file (will be kept locally unless you delete)" ... rsync -av --delete "$TMP_DIR/backstage/backstage/checks/global/" "$BACKSTAGE_DIR/checks/global/"
The update message tells users removed upstream files will be kept locally, but the later rsync command uses --delete, which removes destination files absent from the source.
Checks for exposed credentials, poisoned memory or context, unclear communication boundaries, or sensitive data that could leave the user's control.
`checks/local/*.md` = Project-specific overrides - **Enforced by:** AI (reads markdown, interprets context, acts) ... **Polycentric governance:** - Global + local rules coexist - Local wins on conflict
The skill intentionally turns local and global markdown files into agent-enforced policy, with local project files able to override global rules.
