Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Code for Artificial Intelligence: A Modern Approach (AIMA) 4th edition by Peter Norvig and Stuart Russel.
Shameless reuse of Norvig's official repository at https://github.com/aimacode/aima-python/
The code should work in Python 3.9 and Python 3.10. Not yet tested with Python 3.11, 3.12, or 3.13.
You can get some use out of the code here just by browsing, starting at the root of the source tree or by clicking on the links in the index on the project home page. The source code is in the .py files; the .txt files give examples of how to use the code.
git clone git@gitlab.com:tangibleai/inactive/aima
cd aima
python3.10 -m venv .venv
source .venv/bin/activate
pip install -e .
In the aima/
directory, execute the command
python doctests.py -v *.py
You're on your own -- experiment! Read the book, create a new python file, import the modules you need, and call the functions you want!
Norvig and the aima-python contibutors: Many thanks for the bug reports, corrected code, and other support from Phil Ruggera, Peng Shao, Amit Patil, Ted Nienstedt, Jim Martin, Ben Catanzariti, and others.
FAQs
Artificial Intelligence a Modern Approach 4th Ed by Peter Norvig and Stuart Russel
We found that aima demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.