agent-platform-inference
>-
Install this skill
or
94/100
Security score
The agent-platform-inference skill was audited on Aug 3, 2026 and we found 6 security issues across 1 threat category. Review the findings below before installing.
Categories Tested
Security Issues
low line 178
Command substitution pattern
SourceSKILL.md
| 176 | ```bash |
| 177 | curl -sS -o /dev/null -w "%{http_code}\n" \ |
| 178 | -H "Authorization: Bearer $(gcloud auth print-access-token)" \ |
| 179 | -H "Content-Type: application/json" \ |
| 180 | "https://${LOCATION_ID}-aiplatform.googleapis.com/v1/projects/${PROJECT_ID}/locations/${LOCATION_ID}/publishers/google/${MODEL_ID}:generateContent" \ |
low line 320
Command substitution pattern
SourceSKILL.md
| 318 | ```bash |
| 319 | export OPENAI_BASE_URL="https://aiplatform.googleapis.com/v1/projects/YOUR_PROJECT_ID/locations/global/endpoints/openapi" |
| 320 | export OPENAI_API_KEY="$(gcloud auth application-default print-access-token)" |
| 321 | ``` |
| 322 | > Then initialize the client without arguments: `client = OpenAI()` |
low line 484
Command substitution pattern
SourceSKILL.md
| 482 | ENDPOINT_ID=5875254126916403200 |
| 483 | REGION=us-central1 |
| 484 | TOKEN=$(gcloud auth application-default print-access-token) |
| 485 | |
| 486 | curl -sS -X POST \ |
low line 526
Command substitution pattern
SourceSKILL.md
| 524 | ENDPOINT_ID=5875254126916403200 |
| 525 | REGION=us-central1 |
| 526 | TOKEN=$(gcloud auth application-default print-access-token) |
| 527 | |
| 528 | # Step 1: discover host. dedicatedEndpointDns is empty for shared endpoints. |
low line 529
Command substitution pattern
SourceSKILL.md
| 527 | |
| 528 | # Step 1: discover host. dedicatedEndpointDns is empty for shared endpoints. |
| 529 | DEDICATED_DNS=$(gcloud ai endpoints describe "$ENDPOINT_ID" \ |
| 530 | --project="$PROJECT_ID" --region="$REGION" \ |
| 531 | --format="value(dedicatedEndpointDns)") |
low line 614
Command substitution pattern
SourceSKILL.md
| 612 | |
| 613 | ```bash |
| 614 | DEDICATED_DNS=$(gcloud ai endpoints describe "$ENDPOINT_ID" \ |
| 615 | --project="$PROJECT_ID" --region="$REGION" \ |
| 616 | --format="value(dedicatedEndpointDns)") |
Scanned on Aug 3, 2026
View Security Dashboard