Hub rules-common

rules-common

v5 public Verified

Common

Community-governed security ruleset for Common

@sigmashakeinc 0 pulls 30 rules published Apr 10, 2026 synced Oct 11, 2026 sigmashakeinc/rules/rulesets/rules-common →
Severity
18 error 11 warn 1 info
demo.cast
Community-governed security ruleset for Common

Rules index

30 governance rules

Indexed from the repository's .rules files, grouped by technology. Expand any rule to read the raw source.

bash

block-destructive-dd error block

Blocked 'dd' command which can overwrite entire disks or partitions.

Rule source requires an active Pro or Enterprise subscription.
block-destructive-rm error block

Blocked dangerous 'rm' command with recursive or force flags without explicit user confirmation.

Rule source requires an active Pro or Enterprise subscription.
block-git-force-push error block

Blocked 'git push --force' to prevent rewriting history on shared branches.

Rule source requires an active Pro or Enterprise subscription.
block-git-hard-reset warning ask

Blocked 'git reset --hard' as it can result in uncommitted work loss.

Rule source requires an active Pro or Enterprise subscription.
block-shell-injection-risk error block

Detected suspicious shell pipe to 'bash' or 'sh' which could execute remote scripts.

Rule source requires an active Pro or Enterprise subscription.

fs

block-aws-credentials-access error block

Blocked access to AWS credentials files.

Rule source requires an active Pro or Enterprise subscription.
block-browser-profiles error block

Blocked access to browser profile directories which contain cookies and saved passwords.

Rule source requires an active Pro or Enterprise subscription.
block-env-file-access warning ask

Blocked direct reading of environment files which typically contain sensitive API keys and secrets.

Rule source requires an active Pro or Enterprise subscription.
block-etc-hosts-write error block

Blocked modification of /etc/hosts which can be used for DNS spoofing or local traffic redirection.

Rule source requires an active Pro or Enterprise subscription.
block-git-config-write error block

Blocked modification of .git/config which can be used to set up malicious hooks or credential helpers.

Rule source requires an active Pro or Enterprise subscription.
block-kube-config-access error block

Blocked access to Kubernetes configuration files.

Rule source requires an active Pro or Enterprise subscription.
block-sensitive-binary-write error block

Blocked modification of common system binaries to prevent backdoor insertion.

Rule source requires an active Pro or Enterprise subscription.
block-shell-rc-write error block

Blocked write to shell RC/profile file. Writing to .bashrc/.zshrc/.profile is a classic persistence mechanism — arbitrary commands added here execute every time a user logs in or opens a terminal (MITRE ATT&CK T1546.004). If you need to set an env var, make the change explicit and scoped.

Rule source requires an active Pro or Enterprise subscription.
block-ssh-config-write error block

Blocked modification of SSH config to prevent man-in-the-middle or credential exfiltration setups.

Rule source requires an active Pro or Enterprise subscription.
block-ssh-key-access error block

Blocked access to private SSH keys to prevent potential credential theft.

Rule source requires an active Pro or Enterprise subscription.
warn-chmod-world-write warning log

World-writable permission set (chmod 777 / a+w / o+w) detected. World-writable files are a common privilege escalation vector — any process on the system can overwrite them. Use the minimum permission needed (e.g., 755 for executables, 644 for data files).

Rule source requires an active Pro or Enterprise subscription.
warn-cron-write warning log

Agent is attempting to modify crontab or scheduled jobs. This can be used for persistence.

Rule source requires an active Pro or Enterprise subscription.

mcp

block-cloud-instance-delete error block

Blocked direct deletion of cloud instances (EC2, Azure VM) via MCP.

Rule source requires an active Pro or Enterprise subscription.
block-db-destructive-query error block

Blocked dangerous database query (DROP, TRUNCATE) through MCP.

Rule source requires an active Pro or Enterprise subscription.
block-db-schema-change error block

Blocked modification of database schema (ALTER TABLE) via MCP.

Rule source requires an active Pro or Enterprise subscription.
block-docker-container-stop warning ask

Blocked agent from stopping or removing Docker containers.

Rule source requires an active Pro or Enterprise subscription.
block-git-main-mutation error block

Blocked direct mutation of 'main' or 'master' branch via MCP.

Rule source requires an active Pro or Enterprise subscription.
block-mcp-external-http warning ask

Blocked unauthorized external HTTP requests through generic fetch/curl tools.

Rule source requires an active Pro or Enterprise subscription.
block-mcp-jira-delete error block

Blocked direct Jira issue deletion by the agent.

Rule source requires an active Pro or Enterprise subscription.
warn-cloud-config-change warning ask

Agent is attempting to change cloud resource configurations.

Rule source requires an active Pro or Enterprise subscription.
warn-db-delete-query warning ask

Agent is attempting to DELETE records from a database.

Rule source requires an active Pro or Enterprise subscription.
warn-git-branch-delete warning ask

Agent is attempting to delete a branch via MCP.

Rule source requires an active Pro or Enterprise subscription.
warn-git-merge warning ask

Agent is attempting to merge a pull request.

Rule source requires an active Pro or Enterprise subscription.
warn-mcp-github-pr-create info log

Agent is creating a GitHub Pull Request.

Rule source requires an active Pro or Enterprise subscription.
warn-mcp-slack-post warning ask

Agent is attempting to post message to Slack via MCP. This could result in internal data leaks.

Rule source requires an active Pro or Enterprise subscription.

Version metadata

Published metadata

The hash-locked record of this published ruleset. When source contents change, the maintainer resyncs and the version bumps.

Version
v5
Published
Apr 10, 2026
Source commits
0
Synced
Oct 11, 2026
Hash
3f1465ddeb9aa8c4df5f74394061578488757247e733522acf8221418ccf3b45
Signature
Verified (publisher key)
Tested with
claude-code@current
Plan
Starter (free)
Visibility
Public

Source history

Recent commits

Latest commits touching rulesets/rules-common/.sigmashake/rules in sigmashakeinc/rules/rulesets/rules-common. The published version only bumps when a maintainer resyncs.

No commit history available.