{"data":{"id":"42c280b3-cdfb-4540-b4ed-59d0f0bc02a7","title":"NameTrap: Steering AI Coding Agents Toward Security Vulnerabilities via Variable Names","summary":"NameTrap is a source-code poisoning attack that renames identifiers in third-party Python files to steer AI coding agents toward attacker-chosen CWE weaknesses (CWE-78, CWE-79, CWE-327, CWE-502) without any explicit instructions or vulnerable statements in the file. Across six agents and ten underlying models, identifier-level manipulation reached attack success rates of 22.5% to 56.0%, with 75.0% for certain agent-model configurations. The attack outperformed random and neutral renaming and XOXO, and three AI-based and four static analyzers failed to flag the targeted weaknesses in the poisoned files.","solution":"N/A -- no mitigation discussed in source.","labels":["security","research"],"sourceUrl":"https://arxiv.org/abs/2610.34253v1","publishedAt":"2026-10-25T12:29:23.000Z","cveId":null,"cweIds":null,"cvssScore":null,"cvssSeverity":null,"severity":"info","attackType":["supply_chain","model_evasion"],"issueType":"research","affectedPackages":null,"affectedPackageNames":null,"affectedPackageRefs":null,"affectedVendors":[],"affectedVendorsRaw":["AI coding agents"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":null,"headlinePromptVersion":null,"cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":null,"epssScore":null,"epssCheckedAt":null,"kevDateAdded":null,"advisoryAliases":null,"affectedPackagesSource":null,"affectedPackagesCheckedAt":null,"patchAvailable":null,"disclosureDate":"2026-10-25T12:29:23.000Z","capecIds":null,"crossRefCount":0,"attackSophistication":"moderate","impactType":["integrity"],"aiComponentTargeted":"agent","llmSpecific":true,"classifierConfidence":0.95,"researchCategory":"preprint","atlasIds":["AML.T0010"]}}