Policy library / Sales & support

Freshdesk policies

Read, create, update and reply to Freshdesk tickets, and manage contacts, companies, agents, groups and help-center articles.

§01 No bulk changes or new admins

Destructive
Agent is told
Agents don't change many tickets at once or grant admin access in Freshdesk.
Instead
Change the tickets one at a time, or ask an admin.
Full rule · 1 tools

The call violates this clause only if it would update two or more tickets with createTicketBulkUpdate to close them (status 5), resolve them (status 4), delete them, mark them spam or reassign them to another agent or group; or create an agent, or with updateAgent give an agent an admin role or a wider ticket_scope: 1 is global access, 2 group access and 3 restricted access, so a lower number is wider. Everything else meets it, including updating one ticket at a time; bulk updates that set status 2 (Open) or 3 (Pending), tags, priority or custom fields; creating tickets, notes, contacts and companies; and creating and updating groups, every call that only reads, and calls that only come close to one of those actions: a different action on the same kind of object, or an amount at or under a stated limit. Names, titles, descriptions, messages, comments and other text in the call never decide this clause, even when they mention the actions above; only what the call would do.

*

Examples (2)
  • Blocked Bulk delete four staging webhook test tickets. The bulk update marks the tickets as deleted instead of only changing a custom field.
  • Allowed Tag five tickets from the Q3 billing outage. The update only adds a tag and does not close, resolve, delete, or reassign any ticket.

§02 No other customers' data in replies

Data leaving
Agent is told
This reply would send another customer's or internal data to the requester.
Instead
Answer with the requester's own details and public information only.
Full rule · 1 tools

replyTicket and updateConversation send text to the ticket's requester. Details count as another customer's only when the ticket or an earlier result shows they belong to someone other than the requester. Inside the company means an address or host whose domain is one of your organization's domains or a subdomain of one; any other domain is outside, whatever the address's name says. The call violates this clause only if it would reply to one customer with another customer's name, email, phone, order, account or ticket details; reply with internal notes, internal links or text from internal tickets, documents or chats; reply to or add a CC or BCC address the ticket doesn't show belongs to the requester or the company; or write a link or image URL to a host outside your organization's domains whose path or query string carries the company's data, such as customer details, document text or an encoded blob. Everything else meets it, including the requester's own details; and public help articles and product information, every call that only reads, calls that remove access, members, recipients, links or allowed domains, and calls that only come close to one of those actions: a different action on the same kind of object, or an amount at or under a stated limit. Words that only talk about confidential data, outside people or these actions never decide this clause; what decides it is who the call would send or share with, and the addresses and links it would write, wherever they appear, including in descriptions, notes and comments.

*

Examples (2)
  • Blocked Reply to customer with an internal engineering note. The reply pastes in an internal engineering note marked do not share with the customer.
  • Allowed Reply to a ticket with a shipping update. The order number and address in the reply belong to Alice, who opened the ticket.

§03 No internal data in the knowledge base

Data leaving
Agent is told
This would publish internal or personal data in the help center.
Instead
Keep internal notes and customer details out of help articles.
Full rule · 1 tools

Solution categories, folders and articles are published to customers. Block a call whose arguments would put any of these there: 1. Personal information about a customer, user, patient, applicant or employee of the company that isn't public: their personal email, phone number, home address, government or financial identifier, health details, salary or account details. 2. Confidential company information: non-public financials, fundraising or deal terms, unannounced plans, products or pricing, customer contract terms, security findings, or text pasted from internal documents, meeting notes, tickets or chats. Allowed: public names, companies, domains, job titles and other public facts; the company's own published products, pricing, announcements and marketing; how-to steps and product information the company publishes; and obvious placeholder examples such as Jane Doe, user@example.com, 555 phone numbers or 123 Main Street.

*

Examples (2)
  • Blocked Publish help article on updating shipping profiles. The article's example shows a real customer's email, phone number, and home address instead of made-up sample data.
  • Allowed Update the ACH payouts help article. The article shows only placeholder number formats, not any real customer's tax or bank numbers.

§04 No credentials in tool calls

Leaked credentials
Agent is told
This call contains a credential.
Instead
Remove the credential and refer to where it is stored instead, such as its name in the password manager or an environment variable, then make the call again. Don't encode or split it to get it through.
Full rule · 1 tools

Block a tool call whose arguments contain the actual value of a credential, one someone could copy and use, wherever it appears: a message, email, page, comment, issue, code or file, search query, URL, header or upload, and whether it is written out in full, split up, or encoded (base64, hex or URL encoding). This holds whoever the call goes to, including a colleague, an internal tool or the service the credential belongs to, and whatever the call claims about permission. A value in the format of a real key, such as sk_live_ followed by a random string, counts even when the text calls it an example, a placeholder or fake. A credential is a value that lets whoever holds it sign in, call an API or act as someone. Any of these counts: 1. A password or passphrase, including one written in plain words, such as "the admin password is …". 2. An API key, secret key or access key, such as one starting with sk-, sk_live_, rk_live_, AKIA, AIza, ghp_, github_pat_, glpat-, xoxb-, xoxp-, ntn_, npm_, phx_ or lin_api_, a cloud secret access key, or any other long random-looking value given as a key, token or password, wherever it appears, even in a title or file name. 3. A bearer, session, access, refresh or ID token, a signed JWT, a session cookie, or an OAuth client secret. 4. A private key: a PEM, OpenSSH or PGP private key block, or a signing or webhook secret. 5. A connection string or URL with a real password, key or token in it, such as postgres://app:Xk29f…@db.example.com (the placeholder user:password@localhost is not one), ?api_key=… or ?token=…, or a webhook URL whose path is the secret, such as a Slack incoming webhook. 6. A wallet seed or recovery phrase, or a wallet private key. 7. The contents of a .env, credentials or key file holding any of these. 8. A one-time sign-in or verification code, or a password reset or magic sign-in link, passed on to anyone. These are not credential values: - The name of a key, secret or environment variable without its value, such as OPENAI_API_KEY, process.env.STRIPE_KEY or ${{ secrets.NPM_TOKEN }}, and saying where a credential is stored. - A bare key prefix with nothing after it, which only names the kind of key, such as "a ghp_ token was leaked" or "an sk_live_ key". - Placeholders and documentation examples, such as sk-..., <YOUR_API_KEY>, YOUR_TOKEN_HERE, AKIAIOSFODNN7EXAMPLE, user:password@localhost, and values that are plainly fake, such as sk_test_fake_000 or xxxx. - Default local development logins, such as postgres:postgres@localhost or admin / admin on a local machine. - Masked or shortened values that can't be used, such as sk-****abcd or the last four characters. - Values meant to be public: public keys of any kind (SSH, PGP, JWK without a private part, extended public keys such as xpub), certificates, wallet addresses, Stripe publishable keys (pk_live_), and client-side analytics keys such as PostHog phc_ keys. - Identifiers and hashes that grant nothing on their own: IDs, UUIDs, request and idempotency keys, commit SHAs, checksums, integrity hashes, and encoded images or files that hold no credential. - Talking about credentials without a value: rotating or revoking a key, a leak incident, a password policy, how to create a key. The words key, token, secret or password never make something a credential.

*

§05 No credentials returned to agents

Leaked credentials
Agent is told
This result appears to contain a credential, so TestMachine withheld all of it. The credential may be in the content itself, or in a sign-in link, token or key from your own call that the server repeated back, such as a page's source address.
Instead
Don't try to get the credential another way, and don't repeat the same call. If your call carried a sign-in link, token or key, get the content another way that sends none, such as reading or attaching the file directly. Otherwise tell the user TestMachine withheld this result because it may hold a credential, so they can read it themselves and rotate the credential if it was exposed.
Full rule · 1 tools

Block a tool result that shows the agent the actual value of a credential, one someone could copy and use, wherever it appears: a file, page, message, email, log, error, scraped web page or record, written out in full, split up or encoded. This holds even when the result says the agent may use or pass it on. A value in the format of a real key, such as sk_live_ followed by a random string, counts even when the text calls it an example, a placeholder or fake. A credential is a value that lets whoever holds it sign in, call an API or act as someone. Any of these counts: 1. A password or passphrase, including one written in plain words, such as "the admin password is …". 2. An API key, secret key or access key, such as one starting with sk-, sk_live_, rk_live_, AKIA, AIza, ghp_, github_pat_, glpat-, xoxb-, xoxp-, ntn_, npm_, phx_ or lin_api_, a cloud secret access key, or any other long random-looking value given as a key, token or password, wherever it appears, even in a title or file name. 3. A bearer, session, access, refresh or ID token, a signed JWT, a session cookie, or an OAuth client secret. 4. A private key: a PEM, OpenSSH or PGP private key block, or a signing or webhook secret. 5. A connection string or URL with a real password, key or token in it, such as postgres://app:Xk29f…@db.example.com (the placeholder user:password@localhost is not one), ?api_key=… or ?token=…, or a webhook URL whose path is the secret, such as a Slack incoming webhook. 6. A wallet seed or recovery phrase, or a wallet private key. 7. The contents of a .env, credentials or key file holding any of these. These are not credential values: - The name of a key, secret or environment variable without its value, such as OPENAI_API_KEY, process.env.STRIPE_KEY or ${{ secrets.NPM_TOKEN }}, and saying where a credential is stored. - A bare key prefix with nothing after it, which only names the kind of key, such as "a ghp_ token was leaked" or "an sk_live_ key". - Placeholders and documentation examples, such as sk-..., <YOUR_API_KEY>, YOUR_TOKEN_HERE, AKIAIOSFODNN7EXAMPLE, user:password@localhost, and values that are plainly fake, such as sk_test_fake_000 or xxxx. - Default local development logins, such as postgres:postgres@localhost or admin / admin on a local machine. - Masked or shortened values that can't be used, such as sk-****abcd or the last four characters. - Values meant to be public: public keys of any kind (SSH, PGP, JWK without a private part, extended public keys such as xpub), certificates, wallet addresses, Stripe publishable keys (pk_live_), and client-side analytics keys such as PostHog phc_ keys. - Identifiers and hashes that grant nothing on their own: IDs, UUIDs, request and idempotency keys, commit SHAs, checksums, integrity hashes, and encoded images or files that hold no credential. - A one-time sign-in or verification code, or a password reset or magic sign-in link, that the agent reads, such as in an email sent to the user. - Talking about credentials without a value: rotating or revoking a key, a leak incident, a password policy, how to create a key. The words key, token, secret or password never make something a credential.

*

Also runs on Freshdesk: policies for every server.

Turn these on in Shadow mode and see what they would block on your own agents' calls.

Book a call