Security rules quietly slip as code changes. Your AI checks each rule against the code and tells you what moved.
What happened
Cursor's official recipe shows an automation that checks a repo against a set of rules. It marks each rule enforced, drifted or unclear, saves that state and reports changes with links to the code. The recipe says to replace the default rules before you turn it on, and it doesn't name an approval step for each alert.
Download the .zip. In Settings, find Skills, choose Upload skill and pick the file. Code execution has to be turned on.
Claude Code
Run this in your terminal:mkdir -p ~/.claude/skills/catch-code-changes-that-break-security-rules && curl -fsSL https://botcurrent.com/skills/catch-code-changes-that-break-security-rules/SKILL.md -o ~/.claude/skills/catch-code-changes-that-break-security-rules/SKILL.md
Codex
Run this in your terminal:mkdir -p ~/.agents/skills/catch-code-changes-that-break-security-rules && curl -fsSL https://botcurrent.com/skills/catch-code-changes-that-break-security-rules/SKILL.md -o ~/.agents/skills/catch-code-changes-that-break-security-rules/SKILL.md
We check every skill file before we offer it. This one is the prompt above in skill form.
Passed Skill file is well formed
Passed Runs its own code or programs
Passed Connects to the internet from code
Passed Touches passwords, keys or private files
Passed Deletes or overwrites things in bulk
Passed Hidden or scrambled code
Passed Tries to override your instructions
Passed Invisible characters in the text
Passed Sends your data somewhere else
Passed Can pay or buy without asking you
Passed Downloads or installs other software
Passed Has a password or key written into it
Passed Asks for admin (sudo) rights
Files scanned: SKILL.md. Links to: botcurrent.com, cursor.com. Fingerprint: bec610abdd69. What we check
Tried it? Did it work for you?
Tell us what went wrong and we’ll fix the prompt: email us.
Votes count only if you allowed optional analytics.
What you'll get
A table of your security rules, each marked kept, broken or unclear, with the code lines behind it.
You'll need
Your security rules in plain words
The code files or repo to check
Last check's results, if any
Before you switch it on
Acts with your OK
If you give this job to an agent that works in your accounts:
Access it needs
Your code repository and Cursor Automations
Keep on “ask me first”
Sending or posting anything, paying or buying, sharing your address or ID, deleting anything
Heads up: Unclear isn't the same as safe. Have a second person review any security fix before you merge it.
More details: full instructions, sources and safeguards
Before you begin
Approve scope, data access, spending and installed integrations separately. Require owner acceptance and a recovery decision before connecting real systems, sending anything or deploying.
Use this in your own AI tool
Copy the starter, then open your own AI tool.
Paste it with only the permitted inputs. Check privacy settings and tool compatibility first.
Review the draft and held questions. Any later action needs separate approval.
What you need
Owner-defined security rules
Versioned fictional or authorized code excerpts
Prior status ledger and permitted comparison scope
Start here
01Map each rule to supplied code evidence and baseline status.
02Separate supported regressions from missing or unobservable behavior.
03Propose a change report without scanning, executing probes, delivering alerts or activating automation.
Advanced prompt availability
Advanced prompt
No accepted companion is available for this record. The original material below retains its original status.
Technical setup & run design — optional
Starter
Separate short starter version composed-v1. Untested.
Advanced prompt
No accepted advanced companion is available. Legacy material remains in the original notes with its status.
Compatibility
Unknown; check the actual tool, account and permissions.
Run design
No reviewed run design. No runtime or schedule is activated by BotCurrent.
Setup and access
Proposed inputs
Name
Rule list
Owner
Security owner
Minimum scope
Explicit repository rules
Quality check
Name scope and exceptions.
Name
Versioned code evidence
Owner
Maintainer
Minimum scope
Two permitted revisions
Quality check
Pin commits and locations.
Name
Prior status ledger
Owner
Reviewer
Minimum scope
Reviewed prior evidence
Quality check
Missing history is unknown.
Access and setup — proposed or unknown
Proposed minimum
Begin with supplied fictional code excerpts and a read-only comparison.
Keep alert delivery, executable probes and persistent automation disabled for the first review.
Compatibility unknowns
Unknown: repository coverage, execution sandbox and memory integrity.
Unknown: branch selection, generated code visibility and integration permissions.
External actions requiring approval
Running repository code, persisting a monitor, connecting private sources or sending security findings to Slack.
Source evidence, attribution & limitations
Full source evidence
Official recipe · Tool workflows
Original task title: Detect regression in repository security rules
Editorial candidate. This is source-backed reporting or a documented workflow. BotCurrent has not independently tested this task. A proposed Canadian adaptation is not evidence of a Canadian deployment or compliance certification.
Project documentation supporting the linked recipe’s scope, permissions and limits. These references do not establish an independent test or add counted jobs.
The recipe corroborates invariant drift, stores enforced/drifted/inconclusive states and reports evidence-linked changes.
Source outcome limits
Unexecuted recipe. Repository coverage, memory baseline, runtime version, Slack access and permissions are unverified. An inconclusive result is not a clean security assessment; no compliance certification follows.
Evidence attribution caveat
This official recipe describes a procedure; it does not prove successful execution or independently reproduced results.
Source approval description
Replace default invariants before enabling; no per-alert approval gate is specified.
Named tools
Cursor; repository; memory; Slack
Model or version
Unknown
Publication date
Unknown
Source last checked
2026-10-14
Demonstrated in Canada
Unknown
Canadian availability
Unknown
Proposed Canadian adaptation
Proposed: review hosting region, handling of operational data, accessibility and local organizational requirements before any Canadian pilot. No Canadian execution or workflow availability was established.
Recommended approval boundaries
Approve scope, data access, spending and installed integrations separately. Require owner acceptance and a recovery decision before connecting real systems, sending anything or deploying.
Technical specification & detailed checksDetailed steps and output format
At a glance
Suggested result
Rule ledger and code-linked change report.Suggested; untested.
Tool
Cursor AutomationsSource-named; check current access.
Approve scope, data access, spending and installed integrations separately. Require owner acceptance and a recovery decision before connecting real systems, sending anything or…Read full note
Approve scope, data access, spending and installed integrations separately. Require owner acceptance and a recovery decision before connecting real systems, sending anything or deploying.
Suggested boundaries; source approvals below.
Setup notes
Begin with supplied fictional code excerpts and a read-only comparison. Keep alert delivery, executable probes and persistent automation disabled for the first review.Guide notes; proposed setup untested.
Cost
Workflow cost not established. Check current tool pricing, setup and human review costs before trying it.No measured cost or time added.
Content depth
Source-linked example · suggestions untestedDepth does not establish successful execution.
Use deterministic policy tests when the rule has a reliable executable oracle.
Unsuitable when
The repository is unauthorized, the baseline is untrusted or the rule is too vague to assess.
Expected deliverable and review checks
Proposed artifact
Rule ledger and code-linked change report.
Critical checks
Corroborate regressions; retain unknowns; alert only on changes.
Missing output evidence
Unknown: no runtime comparison, persisted baseline or delivered alert was independently verified.
First check — proposed, unexecuted
Status
proposed_unexecuted
Synthetic fixture
Fictional rule R1 requires an owner check before deleting a draft. Revision A calls require_owner before delete_draft. Revision B routes a background cleanup directly to delete_draft; the definition of a second permission helper is unavailable.
Acceptance checks
Cite both bypass locations; missing helper stays inconclusive.
Do not claim full-repository security or update a live baseline.
Prepare a comparison ledger only; execute no code and send no alert.
Stop conditions
Code ownership or authorization is unclear.
A finding would expose secrets or require an unapproved executable probe.
What you need: Source-named agent: Cursor Automations. Suggested inputs: Rule list; Versioned code evidence; Prior status ledger. Begin with supplied fictional code excerpts and a read-only comparison. Keep alert delivery, executable probes and persistent automation disabled for the first review. Workflow costs and current compatibility remain unverified.
Approve scope, data access, spending and installed integrations separately. Require owner acceptance and a recovery decision before connecting real systems, sending anything or deploying.
Official recipe. BotCurrent has not independently tested this workflow.
Related tasks
Suggestions share task wording or context; compatibility and execution remain unverified.
Allow optional analytics to help us improve BotCurrent? We use PostHog to see which pages and buttons people use, including recordings with anything you type hidden. Searches and saved items are excluded. Privacy details