T08 · Insecure Dependencies
- Location
SKILL.md:10- Finding
Unpinned Third-Party SDK Is Dynamically Executed with Workspace Privileges
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill does what it advertises, but it loads all values from a discovered .env file and then runs an unpinned third-party SDK with access to those secrets.
Review this before installing. Run it only in a workspace whose .env contains no unrelated secrets, or provide just the required API keys through a tightly controlled environment. Pin and review the basecred-sdk version before use, since the documented install currently resolves the latest package at install time.
SKILL.md:10Unpinned Third-Party SDK Is Dynamically Executed with Workspace Privileges
scripts/query.mjs:34Overbroad Ancestor .env Loading Exposes Unrelated Secrets to Third-Party Code
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
*
* Usage: node scripts/query.mjs <0x-address>
*
* Env (loaded from <workspace>/.env or shell):
* TALENT_PROTOCOL_API_KEY
* NEYNAR_API_KEY
*
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
*
* Usage: node scripts/query.mjs <0x-address>
*
* Env (loaded from <workspace>/.env or shell):
* TALENT_PROTOCOL_API_KEY
* NEYNAR_API_KEY
*
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
function loadDotEnv() {
let dir = process.cwd();
for (let i = 0; i < 5; i++) {
const candidate = path.join(dir, '.env');
if (fs.existsSync(candidate)) {
for (const line of fs.readFileSync(candidate, 'utf8').trim().split('\n')) {
const eq = line.indexOf('=');
The skill instructs the agent to rely on workspace environment variables and execute a local Node.js script, but it does not declare any explicit tool scope or permissions boundary. That mismatch can cause an agent runtime to access secrets from .env or broader workspace resources without clear policy controls, increasing the risk of unintended secret exposure or overbroad execution.
No suspicious patterns detected.