backbond-local-rules/2.0.2 · v0.6.3

Thirteen public rules. Stable finding links.

These rules inspect supplied static evidence. A finding is a reason to stop, constrain, isolate, or review. It is not proof of exploitation. Derived evidence can overreach; missing runtime evidence remains unknown.

BB001High

Untrusted input can reach code execution

A code or shell execution capability accepts content classified as untrusted.

Stop and remediate

Restrict executable inputs to trusted sources, validate against a narrow allowlist, and isolate execution in a runtime-enforced sandbox.

BB002Critical

Secret access is combined with unrestricted egress

The runtime can access secrets and has an unrestricted outbound network scope.

Stop and remediate

Scope credential access to named secrets and restrict outbound destinations to an explicit allowlist; separate secret-reading and network-sending roles.

BB003High

Consequential action lacks enforced approval

A destructive or financial capability can run without a runtime-enforced approval gate.

Stop and remediate

Place the named consequential tools behind a runtime-enforced approval gate and test that bypass attempts are blocked.

BB004Medium/high

Untrusted content can reach persistent memory

An explicit readOnlyHint suppresses inferred persistence when the remaining metadata does not indicate a write. Contradictory write metadata remains subject to the rule. A standalone untrusted persistent write is review-level. It becomes high when the same supplied tool inventory also contains an untrusted fetch or unallowlisted network destination.

Stop and remediate

Validate and provenance-tag memory writes, segregate untrusted content, and require review before untrusted data influences later sessions.

BB005Medium

Privileged action lacks observable audit evidence

A privileged capability is configured without observable audit recording.

Stop and remediate

Record privileged tool invocation, approval identity, outcome, and stable correlation IDs in an operator-controlled audit sink.

BB006High

Runtime permission scope contains wildcards

Filesystem, subprocess, credential, or network permissions use an unrestricted wildcard scope.

Stop and remediate

Replace wildcard permissions with the smallest explicit path, executable, credential, and destination allowlists required by the runtime.

BB007High

Tool accepts unconstrained interpreter or query text

An executable tool context accepts unconstrained shell, code, evaluator, or database-interpreter input. Ambiguous query and expression fields route to review.

Stop and remediate

Use parameterized queries and named operations; reject arbitrary commands, scripts, expressions, and SQL before tool dispatch.

BB008High

Tool accepts an unvalidated network destination

An active network tool accepts a URL, URI, or webhook destination without an observable hostname allowlist. Generic endpoint, host, path, or destination fields route to review.

Stop and remediate

Resolve destinations from operator-owned identifiers or enforce an explicit scheme and hostname allowlist before dispatch.

BB009High · derived

Tool description contains instruction-override language

A tool description contains language that attempts to replace system, developer, safety, operator, or user instructions.

Stop and remediate

Treat tool metadata as untrusted input; reject instruction-override phrases and keep behavioral policy outside tool descriptions.

BB010High · derived

Tool description asks to conceal behavior

A tool description tells the agent to hide an action or instruction from the user, operator, or human reviewer.

Stop and remediate

Reject tool metadata that suppresses operator visibility; require user-visible intent, invocation, and outcome for consequential actions.

BB011High · derived

Tool description solicits sensitive data

A tool description directs passwords, secrets, credentials, tokens, private keys, or environment values into a result or transmission.

Stop and remediate

Keep credentials out of tool descriptions and model-visible arguments; use runtime secret injection scoped to an allowlisted destination.

BB012High

Untrusted network fetch shares an agent with privileged tools

A fetch-like untrusted network tool shares one supplied inventory with explicit privilege or destructive-action evidence. Permission or delete appearing only in help text is insufficient.

Stop and remediate

Use separate agent roles or a runtime-enforced trust boundary that prevents fetched content from influencing privileged tool selection and arguments.

BB013High · derived

Tool description attempts to force tool selection

A tool description directs the model to always select it, invoke it before responding, or avoid competing tools.

Stop and remediate

Keep routing and tool-selection policy outside untrusted tool metadata; reject descriptions that demand priority, mandatory invocation, or exclusion of other tools.

What these links do not mean.

A permalink explains a deterministic rule. It is not evidence that a deployed environment was observed, exploited, monitored, verified, eligible for coverage, or insured.

Running this package does not create insurance coverage, determine eligibility, or imply that BackBond verified the environment.