CredentialsBLOCK
GDM Science Skills to speed up agentic scientific workflows with better grounding and higher token efficiency. Integrate insights from AlphaGenome, AFDB, UniProt and 30+ other databases and tools.
Overview
GDM Science Skills to speed up agentic scientific workflows with better grounding and higher token efficiency. Integrate insights from AlphaGenome, AFDB, UniProt and 30+ other databases and tools.
0fa904837a0bOBSERVED · 2026-10-26What it tells the agent
The instruction file, verbatim from the audited commit — this is the text the model reads, and the surface the audit's instruction layer examines. Quoted here so you can judge it without cloning anything.
---
name: credentials
description: >-
Instructions for handling API keys and credentials safely, verifying their
presence, and prompting the user to add them if missing using a safe protocol.
---
# Safe Credentials Protocol
Many skills require API keys or other credentials to function or to access
higher rate limits. This skill defines the standard safe credentials protocol
for verifying and prompting for these credentials without leaking sensitive keys
into the agent context or the conversation history.
## Safe Verification (No Leaks)
As soon as a skill that requires a credential or API key looks relevant to the
user's request, you **MUST** immediately verify if the credential is present in
the `.env` file (typically located in your home directory `~/.env` or the
project root) — **before doing any other work** for that skill.
**CRITICAL**: You must verify the presence of the credential *without* printing
its value to the terminal or reading it into your context.
### How to verify:
Use `grep` in quiet and suppress-errors mode (`-sq`) to check if the variable is
defined in `~/.env`. The `-s` flag ensures the command works cleanly even if
`~/.env` does not exist yet.
```bash
grep -sq "^CREDENTIAL_NAME=" ~/.env
```
Replace `CREDENTIAL_NAME` with the actual credential name required by the
calling skill (e.g., `ALPHAGENOME_API_KEY` or `USER_EMAIL`).
- If the command **succeeds** (exit code 0), the credential is present. You
can proceed.
- If the command **fails** (any non-zero exit code — whether the credential is
missing or the `.env` file does not exist yet), the credential is missing.
You **MUST IMMEDIATELY** stop and prompt the user to add it using the
instructions in
[Prompting the User to Add Credentials](#prompting-the-user-to-add-credentials)
before attempting to run any scripts or tools. Do not conclude the turn by
simply stating that the key is missing.
> [!CRITICAL] If verification fails (any non-zero exit code), you **MUST NOT**
> attempt to execute any tools or scripts from the calling skill, nor should you
> conclude the turn by simply reporting the missing key. You **MUST
> IMMEDIATELY** generate the appropriate terminal command from the templates
> below and prompt the user to run it. The template command will create the
> `.env` file if it does not already exist.
**NEVER** run `cat ~/.env`, `grep "VAR" ~/.env` (without `-q`), `echo $VAR`, or
`printenv` to check for credentials.
## Prompting the User to Add Credentials
If a credential is missing, do **NOT** ask the user to paste it into the chat.
This would leak the value into the agent's context and the conversation history.
Instead, you **MUST** generate a specific command for the user to run in their
terminal by replacing the placeholders in one of the templates below.
**CRITICAL**: Before presenting the command to the user, you **MUST** replace:
- `CREDENTIAL_NAME` with the actual variable name needed (e.g.,
`ALPHAGENOME_API_KEY`, `USER_EMAIL`).
- `ENV_FILE` with the resolved literal path to the `.env` file (usually
`~/.env`).
### Template
All credentials are treated as sensitive. The `read -s` flag hides the user's
typing. You **MUST** inform the user that their typing will be hidden.
**CRITICAL**: When requesting a credential, you **MUST** also provide the user
with the appropriate registration link or instructions provided by the calling
skill so they know how to obtain the value if they do not have one.
```bash
printf "Enter CREDENTIAL_NAME (typing hidden): " && read -s val && echo && echo "CREDENTIAL_NAME=$val" >> "ENV_FILE" && echo "Saved."
```
## Running scripts requiring credentials
All helper scripts inside the calling skills load these credentials
automatically from the `.env` file using `dotenv`.
**You do NOT need to** manually read the keys, export them to the shell
environment, or pass them as CLI arguments, when calling the helper scripts that
require them. As long as you have verified the key is present in `.env` using
the safe protocol above, simply run the script directly — the script will load
the credential automatically.Trust audit
BLOCKgrade D · trust 69/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | NA |
| L2 | Instruction surface (what it tells the agent) | FAIL |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- none-observed
- Shell
- none-observed
- Dependencies
- pinned
- Secrets in source
- none-found
Findings (3)
**NEVER** run `cat ~/.env`, `grep "VAR" ~/.env` (without `-q`), `echo $VAR`, or
printf "Enter CREDENTIAL_NAME (typing hidden): " && read -s val && echo && echo "CREDENTIAL_NAME=$val" >> "ENV_FILE" && echo "Saved."
All helper scripts inside the calling skills load these credentials
Gates applied: no_behavioural_pass.
0fa904837a0bfull audit observations/trust-audit/skill/google-deepmind__credentials.json · Report an issue / request a re-scanAudit history
Every audit this skill has had.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-26 | 0fa904837a0b | BLOCK | D | 69 | first audit |
Questions
What does the credentials — google-deepmind/science-skills skill do?
GDM Science Skills to speed up agentic scientific workflows with better grounding and higher token efficiency. Integrate insights from AlphaGenome, AFDB, UniProt and 30+ other databases and tools.
Is credentials — google-deepmind/science-skills safe to install?
No — not without reading the findings first. The audit graded it D (69/100) and found 3 critical or high issues in the source. Each one is listed on this page with the file and line it is on.
What can credentials — google-deepmind/science-skills access on my machine?
The audit observed no filesystem, network or shell use at all in its source.
How current is this page?
The grade is for one exact copy of the source (0fa904837a0b), read on 2026-10-26. The repository is watched, and a new audit runs when it changes — this is the first audit.
Add this badge to your README
Shows this page's audit result and links back to it. It updates when the audit does.
[](https://modelsatlas.com/skills/google-deepmind/credentials/)
Not your listing, or something out of date? Claim or update your listing.