MCP, MCP server
Developers Guide To Ai
This repository contains the code for the book The Developer's Guide to AI - A Field Guide for the Working Developer.
Compatibility: Not stated.
Grade B
Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
NETWORK_NO_FIXED_HOST SECRETS_PATH_DOTENV SECRETS_ENV_READ OBFUSCATION_FILE_OVER_READ_CAP
Why this grade
- NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
part1/client/src/App.jsx, line 28
const response = await fetch(url, { - SECRETS_PATH_DOTENV Low
Mentions a .env file.
part2/structured_output/sentiment_analysis_open_ai_sdk.py, line 10
# Load environment variables from .env file - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
part2/basic_examples/llm_settings_open_ai.py, line 4
openai.api_key = os.getenv("OPENAI_API_KEY") - OBFUSCATION_FILE_OVER_READ_CAP Note
A file was over the read cap and was not fully read.
part4/data/llm_mail_dataset/train/cache-6f60bfd055114834.arrow, line 1
�����
Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.
Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.
What was checked
Plain notes from the hygiene checks.
Permissions
Pass
No shell or command execution found, and no extra permission was declared.
Install and update
Pass
No install-time script found, and dependencies are pinned or absent.
Network
Concern
can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST
part1/client/src/App.jsx, line 28
const response = await fetch(url, {
part2/client/src/App.jsx, line 50
const response = await fetch('http://localhost:8000/summarize', {
part2/client/src/App.jsx, line 85
const response = await fetch(url, {
Show more
part2/structured_output/request.sh, line 1
curl --header "Content-Type: application/json" --request POST --data '{"comment":"I am an @Acme Corp repeat customer. They ship fast!"}' http://localhost:8000
part3/client/src/App.jsx, line 52
const response = await fetch(url, {
part3/rag_examples/common/document_retrieval.py, line 35
response = requests.get(raw_url)
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
part2/basic_examples/llm_settings_open_ai.py, line 4
openai.api_key = os.getenv("OPENAI_API_KEY")
part2/structured_output/sentiment_analysis_open_ai_sdk.py, line 10
# Load environment variables from .env file
part2/structured_output/sentiment_analysis_open_ai_sdk.py, line 33
api_key = os.getenv('OPENAI_API_KEY')
Show more
part2/structured_output_javascript/data_extraction_openai.js, line 20
const openai = new OpenAI({ apiKey: process.env.OPENAI_API_KEY });
.gitignore, line 15
.DS_Store
.gitignore, line 16
.env
.gitignore, line 17
.env.local
.gitignore, line 18
.env.development.local
.gitignore, line 19
.env.test.local
instruction.md, line 7
* A significant file is any file other than these files - README.md, package.json, package-lock.json, .gitignore, .gitattributes, .git, eslint.config.js, vite.config.js, .env, requ
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Note
a file was over the read cap and was not fully read.
OBFUSCATION_FILE_OVER_READ_CAP
part4/data/llm_mail_dataset/train/cache-6f60bfd055114834.arrow, line 1
�����
part4/data/llm_mail_dataset/train/cache-aae4c15c64ff9ff4.arrow, line 1
�����
Licence
Note
no licence file found.
LICENCE_MISSING
No file path was stored.
no licence file found.
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit 02eb948c0919. can reach a host that is not written as a fixed address. reads a credential or environment file. a file was over the read cap and was not fully read. no licence file found.
Date and source
Date checked:
github.com
Commit graded: 02eb948c09199c3c752ac3e693b853145c4bd24b
This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.