Security Researcher Builds SAST Scanner for AI-Generated Code and Audits 3,800 Public Repositories
A developer has published AigisSAST, a console-based static application security testing tool designed specifically for code produced by AI assistants such as Cursor. The scanner, written in approximately 3,000 lines of pure Python without any external dependencies, parses code using AST rather than simple pattern matching to reduce false positives on strings that resemble secrets.
The researcher ran the tool against roughly 3,800 public repositories. The first round targeted 126 projects explicitly marked as AI-generated through files such as .cursorrules or CLAUDE.md. Subsequent rounds examined 49 large open-source platforms, 2,292 smaller projects including Telegram bots and VPN panels, 471 production bots handling real payments via Stars, CryptoBot and YooKassa, and finally 879 additional repositories scanned blindly.
Key findings included 16,378 high or critical alerts in the initial pass on the 471 live bots; after manual triage only about 30 proved to be genuine exposures. These comprised Telegram bot tokens, OpenAI and Google service-account keys, MongoDB and TiDB connection strings with embedded passwords, and full .env files containing Marzban and 3x-ui credentials. Ten secrets were present in the current working tree while 22 existed only in Git history.
The scanner implements 21 rules covering hardcoded tokens for Telegram, GitHub, AWS and Stripe, SQL and command injection via f-strings, unsafe use of pickle and eval, missing JWT signature verification, overly permissive CORS, debug mode left enabled, and database ports exposed on 0.0.0.0. Each finding is accompanied by a human-readable explanation, risk description and suggested remediation, with secrets automatically masked before display.
AigisSAST also offers an automatic fix mode that moves secrets into .env files, updates .gitignore, replaces random token generation with the secrets module, disables debug flags, and hardens Docker and YAML configurations. SQL injection and JWT issues are left untouched because safe fixes require application-specific logic.
The author stresses that the project deliberately avoids any active validation of discovered credentials. No tokens were tested against live services, and the scanner only reads publicly available code. The complete source code is released under the MIT license on GitHub, and the developer invites community feedback through issues and pull requests to further reduce false positives.
Related articles
Uber Breach Exposes 149,000 Drivers After Third-Party Vendor Credentials Stolen
Uber has notified approximately 149,346 drivers that personal data was stolen in an October incident involving a compromised third-party vendor. Attackers used valid credentials belonging to the vendor to access data the ride-hailing company had shared with it, bypassing all security alerts because the access appeared legitimate. The affected information includes driver license images, names, addresses, dates of birth and government-issued identification numbers. The vendor was later identified as Fireworks AI, a cloud platform for running and fine-tuning open-source AI models. The same credential theft campaign had previously impacted Notion and Cursor. Uber immediately severed the connection upon discovery, notified regulators in multiple U.S. states, and is offering credit monitoring to affected individuals.
FBI Warns of ARTEX AI Pentest Framework Abused by Cybercriminals with Backdoored Docker Images
The FBI has issued an alert regarding the open-source ARTEX AI-powered penetration testing framework after it was observed in criminal operations targeting banks, governments, and technology companies since August 2026. Attackers achieved privileged access in under three hours in multiple incidents. The Cloud Security Alliance identified compromised Docker images containing a backdoor that executes root commands without authentication by exploiting a hidden CAPTCHA field value passed to sh -c. Approximately 9,000 downloads occurred from one malicious image, and 62 exposed consoles were found running the tampered version. Check Point reported 1,608 internet-exposed ARTEX consoles, including ten with exposed databases. The original GitHub repository was removed in October 2026, yet third-party copies and images continue to circulate. CERT-EU highlighted the lack of technical restrictions preventing out-of-scope actions by autonomous AI agents.
Optimizely Supply Chain Attack Infects BBC, CNN, HSBC and 177 Other Sites with Crypto-Stealing JavaScript
On November 16, visitors to major corporate websites received malicious JavaScript that swapped cryptocurrency wallet addresses and attempted to intercept banking card data. The code was distributed through Optimizely Web, a platform used for A/B testing. Researchers identified the malicious code in 188 scripts belonging to 178 organizations, including BBC, CNN, Fox News, HSBC, Equifax, Zoom, Salesforce, GitLab and IKEA. Attacker Scott Helm from Report URI reconstructed the attack timeline: adversaries modified the Project JavaScript field in client projects to load a file from an external domain while legitimate code continued to arrive from cdn.optimizely.com. The campaign began at 04:21 UTC on the BBC script and saw 26 payload updates throughout the day, including a card-data harvesting module added at 13:43 UTC. The malicious script could not access Stripe or Adyen payment forms inside iframes but attempted iOS exploit chains Coruna and DarkSword on affected devices. Optimizely confirmed the breach resulted from a vulnerability in Experimentation account registration, closed the flaw, removed the code and notified customers. Content Security Policy blocked the payload on only 24 of 256 tested sites, and attackers collected roughly $7,040 in cryptocurrency before cleanup completed around 21:52 UTC.
Rspamd 4.3.0 Released with Improved Phishing Detection, Attachment Scanning and Authentication Hardening
In mid-November 2026, developer Vsevolod Stakhov released Rspamd 4.3.0, the latest version of the open-source spam filtering system written in C, C++ and Lua under the Apache 2.0 license. The update strengthens HTTP connection handling, URL-based phishing checks, SPF/DKIM/ARC authentication validation and SMTPUTF8 address parsing while adding more robust attachment and HTML analysis. Key improvements include separate scoring for displayed versus actual link destinations, stricter rejection of weak DKIM keys and duplicate tags, and better archive filename handling to prevent executable hiding. The release also introduces the HTML_TINY_PIXEL_TRACKER rule to detect tracking beacons and fixes multiple bugs that could cause worker crashes or memory issues after free. Several changes may require configuration adjustments for existing users, particularly around symbol options and stricter authentication policies. Rspamd continues to support high-throughput Milter integration with Postfix and Sendmail while offering an extensive Lua API for custom processing logic.