Credential Access
- Category
- Privilege Escalation
- Confidence
- 70% confidence
- Finding
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
- Content
js on'),before=fs.readFileSync(file,'utf8');assert.throws(()=>transact(w,slug,{requestId:'bad'},(i,s)=>{s.records.push('unsaved');throw new Error('failed');}));assert.equal(fs.readFileSync(file,'utf8'),before);}); test('linked paths are rejected when supported by the host',t=>{const w=fresh(),outside=fresh();try{fs.symlinkSync(outside,path.join(w,'linked'),process.platform==='win32'?'junction':'dir');}catch{t.skip('Host does not allow symlink creation');return;}assert.throws(()=>safePath(w,'linked/secret.txt'));}); test('status corrections retain history and generate one current report item',()=>{const w=fresh();const row=call(w,{action:'add',requestId:'add',date:'2026-10-24',title:'Deploy',detail:'Awaiting review',status:'blocked',evidence:['ticket:7']}).record;const updated=call(w,{action:'update',requestId:'update',id:row.id,status:'done',detail:'Released',evidence:['commit:123'],minutes:35}).record;assert.equal(updated.history[0].status,'blocked');const r=call(w,{action:'report',from:
