Ae1
High
- Category
- analysis-evasion
- Content
- Split `config.mjs` from `search.mjs` for security scanner compatibility
- Confidence
- 100% confidence
- Finding
- Referenced artifact was not completely inspected
Security audit
Security checks for vulnerabilities and agentic risk
This skill is a disclosed Perplexity web-search helper that sends user queries to Perplexity and does not show hidden persistence, local file access, or unrelated data collection.
Install only if you are comfortable sending your search terms, prompts, and any --instructions content to Perplexity and potentially third-party models in agentic mode. Avoid pasting secrets or confidential internal data into queries, and use --json only when raw unwrapped API output is needed.
- Split `config.mjs` from `search.mjs` for security scanner compatibility
// ============================================================================
async function searchAPI(queries) {
const response = await fetch("https://api.perplexity.ai/search", {
method: "POST",
headers: {
Authorization: `Bearer ${apiKey}`,// ============================================================================
async function searchAPI(queries) {
const response = await fetch("https://api.perplexity.ai/search", {
method: "POST",
headers: {
Authorization: `Bearer ${apiKey}`,}
async function sonarAPI(query, model) {
const response = await fetch("https://api.perplexity.ai/chat/completions", {
method: "POST",
headers: {
Authorization: `Bearer ${apiKey}`,}
async function sonarAPI(query, model) {
const response = await fetch("https://api.perplexity.ai/chat/completions", {
method: "POST",
headers: {
Authorization: `Bearer ${apiKey}`,}
// Agentic Research API uses OpenAI Responses-style endpoint at /v2/responses
const response = await fetch("https://api.perplexity.ai/v2/responses", {
method: "POST",
headers: {
Authorization: `Bearer ${apiKey}`,}
// Agentic Research API uses OpenAI Responses-style endpoint at /v2/responses
const response = await fetch("https://api.perplexity.ai/v2/responses", {
method: "POST",
headers: {
Authorization: `Bearer ${apiKey}`,No suspicious patterns detected.