🤖 Alin Li · tehisintellekt ja programmeerimine

Tehisintellekt on Rewriting Software

Tehisintellekti programmeerimisagendid muudavad tarkvara loomist — tohutute eeliste ja tohutute riskidega. Päris näited. Päris juhtumid. Päris tagajärjed. Siin on kõik, mida pead teadma.

Tehisintellektiagendid 🤖The Risks ⚠️
⚡ THE REVOLUTION

Tehisaru muutis programmeerimist jäädavalt — siin on tõestus

92%
of developers use AI tools (2025)
55%
faster task completion
40%
of new code is AI-generated
$1.5B+
Cursor valued (2025)

📜 Ajajoon — tegelike verstapostidega

June 2021: GitHub Copilot launches as a beta. Within 12 months, it reaches 1.2 miljonit arendajat. Treenitud kõigi avalike GitHubi hoidlate põhjal, sealhulgas copyleft-tüüpi GPL-koodil, mis tekitas kohe vastuolusid.

November 2022: ChatGPT launches. Within days, developers discover it can write entire programs from English descriptions. A developer tweets a working Snake game written entirely by ChatGPT — it goes viral with 50M views.

Märts 2023: Google launches Bard (now Gemini) with coding abilities. Amazon launches CodeWhisperer. The race is on.

Märts 2024: Cognition launches Devin — the first "AI software engineer" that can autonomously complete entire tasks from SWE-bench (a benchmark of real GitHub issues). It solved 13.86% of real-world issues end-to-end — more than any human had done on the benchmark.

Jan 2025: DeepSeek releases DeepSeek Coder V2 — an open-source model that matches GPT-4 on coding benchmarks, trained for only $5.6 miljonit. Cursor kaasab kapitali $1.5 miljardit valuation. GitHub reports Copilot writes over 46% of all new code on projects where it's enabled.

📊 Pärisnäide: Google'i sisemised arvud

In 2024, Google's CEO Sundar Pichai revealed that over 25% of all new code at Google is now generated by AI, then reviewed and accepted by engineers. Google — a company with 30,000+ engineers — trusts AI to write a quarter of its code. This single data point shows the scale of the revolution.

📊 Pärisnäide: nooremarendajate uuring

Microsoft Researchi 2024. aasta uuringus anti 95 Accenture’i arendajale päris programmeerimisülesanne. Copiloti kasutajad lõpetasid ülesande 55.8% faster. Kuid oluline üksikasi on see, et kasu oli greatest for junior developers and least for senior ones. AI levels the playing field — but also creates dependence for those who don't understand the fundamentals.

🤖 TEHISINTELLEKTIGA PROGRAMMEERIMISAGENDID

Peamised tehisaru programmeerimistööriistad — tegelikud võimalused

🧠 Mille poolest erineb agent automaattäitest?

Autocomplete (like early Copilot) suggests the next line. An agent can: read an entire codebase, plan a multi-step solution, write code across multiple files, run the code, see errors, debug them, run tests, and iterate until everything passes — all autonomously.

📊 Pärisnäide: mida Devin tegelikult suudab

In its demo, Devin was given a real Upwork freelance job: "Fix a bug in a React application." Devin read the issue, cloned the repo, navigated the codebase, identified the bug in a useEffect hook, wrote the fix, ran tests, and submitted a pull request — in 20 minutes with zero human help. Klient kiitis töö heaks ja maksis selle eest, teadmata, et selle oli teinud tehisintellekt.

📊 Pärisnäide: Claude Code töös

Anthropic's Claude Code can be given instructions like: "Add dark mode to this entire React app." It will: read every component file, identify where theme colors are used, create a theme context provider, modify every component, add a toggle button, test it, and commit the changes — handling 15–30 files in a single session.

CLOSED SOURCE AGENTS

🐙

GitHub Copilot

Microsoft/GitHub · $10–$19 kuus · 1.8 miljonit+ maksvat kasutajat

The most popular. Copilot Workspace (2024) plans entire features. Copilot Chat explains and refactors code. Copilot Agent mode runs terminal commands autonomously.

AutocompleteAgendirežiimClosed
🖥️

Cursor

Cursor Inc · $20/mo · $1.5B valuation (2025)

VS Code fork with AI at every layer. "Composer" mode writes across multiple files. Understands your ENTIRE codebase via indexing. Used by engineers at Shopify, Stripe, Midjourney.

Full IDEMitu failiClosed
🤖

Devin

Cognition · $500/mo · First "AI SWE"

Autonomous software engineer. Uses its own browser, terminal, and editor. Can complete full Upwork freelance jobs. Solved 13.86% of SWE-bench (real GitHub issues) end-to-end.

AutonomousFull AgentClosed
☁️

Claude Code

Anthropic · API pricing

Terminal-based agent. Reads entire codebases, writes multi-file changes, runs tests, fixes failures. Handles complex refactors across 30+ files. Very strong at understanding project architecture.

TerminalAgendipõhineClosed

🔓 AVATUD LÄHTEKOODIGA ALTERNATIIVID

🔓

Continue.dev

Avatud lähtekood · TASUTA · üle 18K GitHubi tähe

The open-source Copilot. Works in VS Code and JetBrains. Connect to ANY model — Ollama (local), OpenAI, Anthropic, or any API. Autocomplete, chat, refactor, explain. Your code never leaves your machine when using local models.

⭐ Open SourceAny ModelFree
🦊

Tabby

Avatud lähtekood · TASUTA · ise majutatav

Self-hosted AI assistant. Runs on YOUR hardware. Supports StarCoder2, CodeLlama, DeepSeek. Companies like Nvidia and Alibaba Cloud have tested it. Zero data sent to any cloud — ever.

Avatud lähtekoodSelf-HostedPrivaatne
🔧

Aider

Avatud lähtekood · TASUTA · üle 25K GitHubi tähe

Terminal pair programmer. Works with ANY LLM. Makes direct file edits and git commits. Handles multi-file refactors. Topped SWE-bench Lite with 26.3% solve rate — beating many commercial agents.

Avatud lähtekoodTerminalSWE-bench Leader
🧠

Avatud programmeerimismudelid

Community · FREE · Run locally

DeepSeek Coder V2 (236B) on HumanEvalis GPT-4-ga samal tasemel. Qwen2.5-Coder-32B beats Copilot on multiple benchmarks. StarCoder2-15B trained on 600+ languages. All run locally via Ollama.

Avatud kaaludKohalikFree Forever
Set up a COMPLETE local AI coding stack — $0, full privacy
# Samm 1: paigalda Ollama $ curl -fsSL https://ollama.com/install.sh | sh # Samm 2: tõmba programmeerimismudel (vali võimsustase) $ ollama pull qwen2.5-coder:7b # Kerge — töötab 8GB RAM-iga $ ollama pull deepseek-coder-v2:16b # Keskmine — vajab 16GB RAM-i $ ollama pull qwen2.5-coder:32b # Mahukas — GPT-4 taseme lähedal # Samm 3: paigalda Continue.dev VS Code'i # Laiendused → „Continue“ → Paigalda → Seadistus → Ollama pakkuja # Samm 4: või kasuta terminalipõhise agendina Aiderit $ pip install aider-chat $ aider --model ollama/qwen2.5-coder:32b # 🎉 Nüüd on sul Copiloti tasemel tehisaru — TASUTA, PRIVAATNE, AVATUD LÄHTEKOODIGA # Sinu kood ei lahku KUNAGI sinu arvutist. Punkt.
🚀 SAA 10x ARENDAJAKS

Kuidas kasutada programmeerimisel tehisaru vastutustundlikult — pärisnäidetega

✅ 1. Boilerplate & Setup — Save Hours

Lase tehisarul kirjutada seadistusfaile, API põhistruktuure, andmebaasiskeeme ja CSS-paigutusi.

💚 Real Example

Ühe idufirma arendaja palus Claude’il luua täieliku Django REST API with user authentication, CRUD endpoints, Swagger docs, Docker setup, and CI/CD pipeline. What would have taken 2–3 päeva was generated in 45 minutes — and after review and testing, shipped the same day. The developer estimated AI saved them 80% of setup time across the project.

✅ 2. Code Review & Bug Detection

💚 Real Example

Turvauurija andis tehisintellektile 400-realise Node.js-i autentimismooduli ja palus: „Leia turvanõrkused.” Tehisintellekt tuvastas: (1) timing attack in the password comparison function, (2) a JWT secret stored in plaintext, (3) a missing rate limiter on the login endpoint, and (4) an unvalidated redirect after login. A human review had missed vulnerabilities #1 and #4. The AI found them in 8 seconds.

✅ 3. Learning & Understanding Legacy Code

💚 Real Example

Nooremarendaja liitus ettevõttega, kus oli 15-aastane PHP-koodibaas — 500,000+ lines, no documentation. She pasted functions into AI with "Explain what this does, what the edge cases are, and what bugs might exist." In 2 nädalat, mõistis ta koodibaasi paremini kui arendajad, kes olid seal aastaid töötanud. Tema juht ütles: "Ta omandas 2 nädalaga selle, milleks varem kulus 3 kuud."

✅ 4. Test Generation — The AI Superpower

💚 Real Example

Shopify meeskond kasutas tehisintellekti maksete töötlemise mooduli ühiktestide loomiseks. Tehisintellekt genereeris 47 test cases — including edge cases the team hadn't considered: negative amounts, currency conversion rounding errors, concurrent payment race conditions, and timezone-related failures. Three of these edge cases revealed real bugs that had been in production for months.

⚠️ The Golden Rule

Ära usalda tehisaru koodi KUNAGI pimesi. GitCleari 2023. aasta uuring leidis, et tehisintellekti abiga kirjutatud koodis on a 39% higher rate of code churn (kood, mida muudetakse või kustutatakse varsti pärast kirjutamist) — see tähendab, et tehisaru loob sageli algul „toimivat” koodi, mis vajab põhjalikku ümbertöötamist. Vaata üle. Mõista. Testi. Kontrolli.

🌍 COMMUNITY RESPONSE

Avatud lähtekoodi maailm reageeris jõuliselt

⚖️ The Copilot Lawsuit — Real Legal Battle

In November 2022, a class-action lawsuit was filed against GitHub, Microsoft, and OpenAI by the Software Freedom Conservancy and programmer Matthew Butterick. The core claim: Copilot was trained on billions of lines of open-source code — much of it GPL-licensed — without respecting license terms.

🚨 Esitatud tegelikud tõendid

Researchers demonstrated that Copilot could reproduce exact code snippets from open-source projects, including copyright headers and license notices — then suggest them to users WITHOUT including the required license attribution. In one test, Copilot reproduced a function from the Quake III Arena source code (the famous fast inverse square root) character-for-character — code that is GPL-licensed and requires attribution.

😡 Vastureaktsioon

  • ❌ Software Freedom Conservancy called it "AI laundering of free software"
  • ❌ Developers started adding „Mitte kasutada tehisintellekti treenimiseks“ clauses to their repos
  • ❌ The FSF warned that AI threatens copyleft enforcement
  • ❌ Some developers moved from GitHub to Codeberg in protest
  • ❌ Artists joined developers — the Stable Diffusion lawsuit raised identical issues for visual art

🤝 Konstruktiivne vastus

  • ✅ BigCode project (Hugging Face + ServiceNow) lõid StarCoderi — treenitud AINULT lubavate litsentsidega koodil, loobumisvõimalusega
  • ✅ „Kas ma olen andmestikus The Stack?“ tool lets developers check if their code was used in training
  • ✅ DeepSeek, Qwen open-source models give power back to everyone
  • ✅ OSI published the Open Source AI Definition in 2024
  • ✅ Community built local tools (Ollama, Continue) — no corporate dependency
⚖️ Real Debate: The Linux Kernel Maintainers

In 2024, Linux kernel maintainers debated whether to accept AI-generated patches. Greg Kroah-Hartman (the #2 Linux maintainer) publicly rejected several AI-generated patches, calling them "obviously not written by a human who understands the code." The kernel team established that all patches must be understood and tested by the human submitting them — AI can help, but a human must take personal responsibility for every line. This became a model policy for many open-source projects.

⚠️ THE RISKS — WITH REAL EVIDENCE

Mis võib valesti minna (ja on juba läinud)

🔓

Tehisintellekti koodis on rohkem turvavigu — tõestatud

CRITICAL
🚨 Stanfordi ülikooli uuring (2023)

Researchers at Stanford gave coding tasks to two groups: one using AI assistants, one without. The AI-assisted group wrote code with significantly more security vulnerabilities — including SQL injection, path traversal, and missing authentication. Worse: they were more confident their code was secure. The study concluded: "AI assistants can create a false sense of security that leads to more vulnerable code."

🚨 Tegelikud haavatavusmustrid, mida tehisintellekt tekitab

Security researchers at Snyk analyzed thousands of AI-generated code snippets and found recurring patterns:

• SQL Injection: Tehisintellekt soovitab f"SELECT * FROM users WHERE id = {user_id}" instead of parameterized queries — in 40% of database-related suggestions

• Hardcoded secrets: Tehisintellekt genereerib API_KEY = "sk-abc123..." as placeholder code that developers forget to remove

• Insecure deserialization: Tehisintellekt soovitab kasutada pickle.loads() on untrusted data in Python — a known remote code execution vector

• Sisendi kontroll puudub: Tehisintellekt loob ligikaudu 30% juhtudest otspunkte, mis võtavad vastu ja töötlevad kasutaja sisendit ilma igasuguse puhastamiseta

🧠

Tehisintellekt tunneb kõiki meie süsteeme — teadmiste relv

CRITICAL

Tehisintellektimudeleid on treenitud peaaegu kogu avalikul koodil. See tähendab, et tehisintellekt mõistab turvakriitilise taristu sisemist toimimist paremini kui enamik inimeksperte:

🚨 Mida tehisintellekt on avatud lähtekoodist õppinud

• OpenSSL-i lähtekood — AI knows how TLS encryption is implemented, including edge cases and historical vulnerability patterns (like Heartbleed's buffer over-read)

• Linuxi tuuma turvamoodulid — SELinux, AppArmor, seccomp — AI understands how they enforce policies AND where bypasses have been found historically

• Authentication frameworks — OAuth, JWT, SAML implementations in every language — AI knows the common implementation mistakes

• Database query engines — PostgreSQL, MySQL internals — AI can identify query patterns that bypass access controls

• Firewall rule engines — iptables, nftables, pf — AI understands how packet filtering works at the kernel level

🚨 Pärisnäide: haavatavuste leidmine tehisintellekti abil

In 2024, Google's Project Zero (security team) began using AI to find zero-day vulnerabilities. Their AI tool found a previously unknown buffer overflow in SQLite — one of the most widely used databases in the world (embedded in every iPhone, Android, browser, and millions of applications). The vulnerability had existed for 22 aastat without being found by humans. AI found it in hours. If a defensive team can do this, so can an attacker.

⚠️ The Dual-Use Reality

The same AI that helps a security researcher find bugs can help an attacker write exploits. In August 2024, researchers demonstrated that GPT-4 could automatically generate working exploits for 87% of known CVEs (levinud turvanõrkused ja haavatavused), kui ette antakse haavatavuse kirjeldus. Varem nõudis ründekoodi kirjutamine sügavaid tehnilisi oskusi. Nüüd teeb tehisaru selle oskuse kõigile kättesaadavaks — nii kaitsjatele KUI KA ründajatele.

📦

Hallutsineeritud pakettide ründed — toimuvad juba

CRITICAL
🚨 Pärisrünnak: „Slopsquatting” (2024)

Researchers at Lasso Security asked AI models to solve coding tasks and logged every package they recommended. They found that Tehisintellekt mõtles välja üle 20,000 kordumatu olematu paketinime. Seejärel kontrollisid nad, kas ründajad olid mõne neist registreerinud, ning leidsid dozens already had malware uploaded under those names on PyPI and npm.

🚨 Pärisnäide: rünnak „huggingface-cli”

Tehisintellektimudelid soovitasid sageli pip install huggingface-cli — but the real package is called huggingface-hub. Ründaja registreeris "huggingface-cli" ja oleks võinud sinna pahavara paigutada. Iga arendaja, kes oleks järginud tehisintellekti soovitust, oleks paigaldanud pahatahtliku paketi. Selline muster leiti hundreds of popular packages where AI consistently suggests the wrong name.

The attack chain
# 1. Tehisintellekt mõtleb paketinime välja Developer asks: "How do I parse YAML in Python?" AI says: pip install python-yaml-parser # EI OLE OLEMAS! # 2. Ründaja märkab, et see väljamõeldis on levinud (esineb tuhandetes vestlustes: 1000s) # 3. Ründaja loob PyPI-s paketi, mille sees on pahavara # 4. Järgmine arendaja järgib tehisintellekti nõuannet: $ pip install python-yaml-parser # PAIGALDAB PAHAVARA! # TEGELIKU paketi nimi on lihtsalt „pyyaml“ $ pip install pyyaml # ← See on õige # Kontrolli paketinimesid ENNE paigaldamist ALATI aadressil pypi.org või npmjs.com!
😴

Vibe Coding — The Competence Collapse

HIGH
🚨 Pärisnäide: Cloudflare'i 2024. aasta katkestuse muster

Mitu ettevõtet on teatanud tootmistõrgetest, mille põhjustas tehisaru kood, mis „läbis kõik testid”, kuid tootmises ebaõnnestus. Levinud muster: tehisaru kirjutab koodi, mis käsitleb happy path perfectly but fails on edge cases — high traffic, network timeouts, race conditions, or unusual input. One startup had a complete database corruption because AI-generated migration code didn't handle concurrent writes — a bug that wouldn't appear in testing but devastated production.

⚠️ The GitClear Data (2024)

GitClear analyzed 153 miljonit koodirida across thousands of repositories and found that since AI coding tools became mainstream: code churn increased 39%, suurenes "moved"-koodi (kopeerimine-kleepimine) hulk 17%, ning järsult kasvas koodi hulk, mida muudeti või kustutati 2 nädala jooksul pärast kirjutamist. Nende järeldus: tehisintellekt loob rohkem koodi, kuid suur osa sellest on madalama kvaliteediga ja kirjutatakse kiiresti ümber.

🏴

THE MEGA RISK: AI + Closed Source = Invisible Danger

CRITICAL

This is the risk that should concern everyone the most. Think about what happens when AI generates millions of lines of closed-source code:

🚨 Stsenaarium: pank

Suur pank kasutab tehisintellekti oma kauplemisalgoritmi loomiseks — 2 miljonit rida omandkoodi. Tehisintellekt lisab valuutavahetusse peene ümardamisvea, mis ilmneb ainult üle $10 miljoni suuruste tehingute puhul kindlates valuutapaarides. Ükski inimene ei vaadanud kõiki 2 miljonit rida täielikult läbi. Kood on suletud lähtekoodiga — väline audit pole võimalik. 18 kuu jooksul põhjustab viga $47 miljonit kahjumit before anyone notices. With open-source code, community reviewers would likely have caught the pattern.

🚨 Stsenaarium: meditsiiniseade

Tehisintellekt genereerib suletud lähtekoodiga meditsiinilise insuliinipumba püsivara. Ta kopeerib treeningandmetest mustri, milles täisarvu ületäitumine tekib täpselt 256 ühikut — wrapping to 0. The firmware passes standard tests (which test up to 100 units). In production, a patient programs 256 units → the pump delivers 0 → the patient goes into diabetic crisis. With open-source firmware, researchers could audit the code. With closed source, the bug remains invisible until someone is harmed.

🚨 Stsenaarium: hääletussüsteem

Valitsuse töövõtja kasutab tehisintellekti elektroonilise hääletussüsteemi koodi loomiseks. Miljonitel koodinäidetel treenitud tehisintellekt lisab tahtmatult race condition that under high load can occasionally count a vote twice or not at all. The system is proprietary — no public audit allowed. An election runs on it. Nobody can verify the results because nobody can see the code. This isn't hypothetical — proprietary voting machines have had exactly these kinds of undiscoverable bugs.

🔓 Tehisintellekt + avatud lähtekood

  • ✅ AI writes code → community reviews it
  • ✅ Thousands of eyes find AI's mistakes
  • ✅ Security scanners audit everything
  • ✅ Bugs are found and fixed publicly
  • ✅ Example: OpenSSL — bugs found and fixed by community in days

🔒 Tehisintellekt + suletud lähtekood

  • ❌ AI writes code → nobody outside reviews it
  • ❌ Vulnerabilities hidden from the world
  • ❌ No external auditing possible
  • ❌ Bugs stay hidden for years until disaster
  • ❌ Example: Therac-25 — closed medical software killed patients because bugs were invisible
🔍

Security Scanners Can't Keep Up With AI Code

HIGH
🚨 Tegelik leid: Semgrepi uuring (2024)

Semgrep (the open-source code scanner) tested their rules against AI-generated code and found that Tehisintellekt kirjutab nõrkusi mustritega, mida olemasolevad reeglid ei tuvasta. Näiteks võib tehisintellekt jagada SQL-süsti 3 reale, kasutades vahemuutujaid — tehniliselt on tegu sama nõrkusega, kuid skanneri mustrituvastus ei tunne seda ära. Nende meeskond pidi looma 47 new rules specifically for AI-generated vulnerability patterns.

⚠️ The Arms Race

We're entering an era where: AI generates code → AI scans for bugs → AI generates code that evades the scanners → AI builds better scanners → repeat. Traditional human-authored scanning rules become less effective every month. The solution: use AI to scan AI-generated code, kuid säilita KA inimeste tehtav koodiülevaatus. Tehisintellektipõhine skannimine koos inimülevaatusega leiab rohkem kui kumbki eraldi.

Essential security scanning for AI-generated code
# Semgrep — tuvastab tehisintellektile omaseid haavatavusmustreid $ pip install semgrep $ semgrep --config=auto --config=p/security-audit . # Bandit — Pythonile mõeldud turvaskanner $ pip install bandit && bandit -r ./src/ # Trivy — skannib koodi + sõltuvusi + konteinereid $ trivy fs --security-checks vuln,secret,config ./ # Grype — kontrolli sõltuvusi teadaolevate CVE-de suhtes $ grype dir:./my-project # KASUTA TEHISINTELLEKTI TEHISINTELLEKTI KONTROLLIMISEKS: palu kohalikul mudelil oma kood üle vaadata $ ollama run deepseek-coder-v2 "Find all security vulnerabilities in this code and explain each one: $(cat app.py)" # KULDREEGEL: käivita KÕIK need tööriistad IGA tehisintellekti loodud koodi puhul # enne ühendamist. Automatiseeri need oma CI/CD töövoos.
⚖️

Litsentsirikkumised ja õiguslikud ohud

HIGH
🚨 Pärisnäide: Redise juhtum

Arendaja kasutas Copilotit vahemälukihi loomiseks. Copilot genereeris koodi, mis oli nearly identical to Redis's source code — which changed from BSD to a proprietary license (SSPL) in 2024. The developer unknowingly committed Redis's proprietary code into their company's codebase. When discovered during a license audit, the company had to rewrite the entire module — weeks of work and legal consultation costs.

⚠️ The Unsettled Legal Landscape

As of 2025: courts have NOT definitively ruled on whether AI training on open-source code violates copyright. The Butterick v. GitHub/Microsoft/OpenAI case is ongoing. The EU AI Act requires disclosure of training data. Japan ruled that AI training is generally legal. The US Copyright Office said AI-generated content may not be copyrightable. Different countries, different rules, complete uncertainty. Developers are caught in the middle.

🛡️ VASTUTUSTUNDLIK TEE

7 Rules for AI-Assisted Development

1️⃣ Õpi ESMALT põhitõed — tehisintellekt võimendab, mitte ei asenda

Arendaja, kes kasutab tehisintellekti, mõistmata andmestruktuure, turvalisuse aluseid ja süsteemide kavandamist, on nagu inimene, kes kasutab elektrisaagi, oskamata mõõta. LinkedIni kaasasutaja Reid Hoffman sõnastas selle tabavalt: „Tehisintellekt on jalgratas mõistusele — aga sa pead ikkagi teadma, kuhu lähed.”

2️⃣ Vaata üle IGA rida — 100% reegel

If you can't explain what a piece of code does, don't ship it. Period. Read every AI suggestion. Question why it chose that approach. Run it mentally. Check the edge cases. This takes more time than "vibe coding" — but it's the difference between a professional and a liability.

3️⃣ Kasuta avatud lähtekoodiga tehisintellekti — valitse oma tööriistu

Ollama + DeepSeek/Qwen + Continue.dev = nullkulu, täielik privaatsus ja sõltumatus ettevõtetest. Sinu kood jääb sinu arvutisse. Saad mudelit auditeerida. Sa ei täienda ühegi ettevõtte treeningandmeid. See on ühtaegu eetiline JA praktiline valik.

4️⃣ Scan EVERYTHING — Automate Security Checks

Run Semgrep, Bandit, Trivy, and Grype on ALL code. Automate them in CI/CD so no unscanned code ever reaches production. Use AI ITSELF as a security reviewer — ask a local model to audit your code for vulnerabilities before you commit.

5️⃣ Verify Every Dependency — Never Blind Install

When AI suggests a package: (1) Check if it exists on pypi.org/npmjs.com, (2) Check download counts (low = suspicious), (3) Check the GitHub repo (does it have stars? contributors? recent activity?), (4) Never install from a raw URL AI provides.

6️⃣ Human Review is MORE Important Now

Every PR needs human review — especially AI-generated code. The reviewer must understand what the code does, not just check if tests pass. AI can fool tests; it shouldn't fool a competent human reviewer.

7️⃣ Champion Open Source Transparency

Push for open source in every project. When AI generates code, the ONLY defense against hidden vulnerabilities is transparency. Closed-source AI-generated code is the biggest emerging security risk of our time. Open source = auditable = accountable.

«وَأَلَنَّا لَهُ الْحَدِيدَ • أَنِ اعْمَلْ سَابِغَاتٍ وَقَدِّرْ فِي السَّرْدِ»
„Ja Me tegime raua tema jaoks pehmeks, [käskides]: „Valmista täispikad soomusrüüd ja mõõda täpselt nende lülisid.““ — Koraan 34:10-11

Allah andis väe (pehmendas rauda), kuid käskis olla täpne (وَقَدِّرْ فِي السَّرْدِ — "calculate precisely"). AI is our softened iron — incredible creative power. But Allah's command remains: be precise. Vaata üle. Kontrolli. Testi. Arvuta läbi ahela iga lüli. Võim ilma täpsuseta pole pelgalt hooletus — see on meile antud usalduse reetmine.

🤖⚡🛡️

Tehisintellekt on Tool, mitte Valda

Tehisintellekti programmeerimisagendid on võimsaimad tööriistad, mis arendajatel kunagi olnud on. Need võivad teha sind 10 korda kiiremaks — või 10 korda ohtlikumaks. Erinevus seisneb selles: kas mõistad, mida tarnid? Kas oled seda kontrollinud? Skanninud? Mõelnud, kellele see võib kahju teha?

🧠
Learn First
🔍
Review Always
🔓
Avatud lähtekood
🛡️
Scan Everything

«إِنَّا عَرَضْنَا الْأَمَانَةَ عَلَى السَّمَاوَاتِ وَالْأَرْضِ وَالْجِبَالِ فَأَبَيْنَ أَنْ يَحْمِلْنَهَا»

„Me pakkusime usaldatut taevale, maale ja mägedele — nad keeldusid. Inimene võttis selle enda kanda.“ — Koraan 33:72

Tehisintellekt on uusim usaldatud vastutus ehk amanah. Võtsime vastu intelligentsuse koorma. Nüüd peame seda kandma tarkuse, täpsuse ja eetikaga. ✨