Skip to main content

salesforce-known-pitfalls

Helps identify and avoid common Salesforce integration pitfalls, improving code quality and efficiency in Salesforce projects.

Install this skill

or
66/100

Security score

The salesforce-known-pitfalls skill was audited on May 26, 2026 and we found 10 security issues across 3 threat categories. Review the findings below before installing.

Categories Tested

Security Issues

medium line 41

Template literal with variable interpolation in command context

SourceSKILL.md
41`SELECT Id, Name, Email FROM Contact WHERE AccountId = '${account.Id}'`
medium line 97

Template literal with variable interpolation in command context

SourceSKILL.md
97await conn.query(`SELECT Id FROM Account WHERE Name = '${name}'`);
medium line 106

Template literal with variable interpolation in command context

SourceSKILL.md
106await conn.query(`SELECT Id FROM Account WHERE Name = '${escapeSoql(name)}'`);
medium line 168

Template literal with variable interpolation in command context

SourceSKILL.md
168console.error(`${failures.length}/${results.length} records failed:`);
medium line 170

Template literal with variable interpolation in command context

SourceSKILL.md
170console.error(` ${failure.errors.map(e => `${e.statusCode}: ${e.message}`).join('; ')}`);
medium line 261

Template literal with variable interpolation in command context

SourceSKILL.md
261const changes = await conn.query(`
low line 192

Access to .env file

SourceSKILL.md
192loginUrl: process.env.SF_LOGIN_URL, // 'https://login.salesforce.com' for prod
low line 184

External URL reference

SourceSKILL.md
184loginUrl: 'https://test.salesforce.com', // WRONG for production
low line 192

External URL reference

SourceSKILL.md
192loginUrl: process.env.SF_LOGIN_URL, // 'https://login.salesforce.com' for prod
low line 193

External URL reference

SourceSKILL.md
193// OR: 'https://test.salesforce.com' for sandboxes
Scanned on May 26, 2026
View Security Dashboard
Installation guide →