Add forensic modules for Nova AI Chatbot (com.scaleup.chatai)#696
Add forensic modules for Nova AI Chatbot (com.scaleup.chatai)#696guilhermegui08 wants to merge 8 commits into
Conversation
|
For the code to be merged it must use the built-in check in media function to
handle images.
We are also not allowing HTML escaping from the scripts due to code
injection security risks.
Generally the code needs to be more concise and refrain from the use of
deprecated methods that are problematic, like datetime.utcfromtimestamp.
The script also needs to be LAVA compatible to be merged. Lastly make sure
to follow reporting conventions as seen in other scripts.
The artifacts are needed and truly awesome. Looking forward to merging them.
…On Tue, May 19, 2026 at 6:59 AM Guilherme Guilherme < ***@***.***> wrote:
This PR adds 7 modules for the Nova AI Chatbot application. The package ID
is com.scaleup.chatai and the main database is located at
/data/data/com.scaleup.chatai/databases/chat-ai.db.
Modules Added
Module Description
HistoryDetailImage Extracts all images from the HistoryDetailImage table,
correctly identifying AI‑generated images (ASSISTANT role) vs
user‑submitted images (USER role). Includes prompt, generation state,
pipeline, style ID, and Firebase path.
HistoryDetailDocuments Extracts all user‑submitted documents from the
HistoryDetailDocument table with name, MIME type, size, source type, and
Firebase path.
Conversations Full conversation reconstruction by joining History,
HistoryDetail, and all attachment tables. One row per message with
images, documents, and links displayed inline.
Cached Images Extracts all cached images from the Glide disk cache (
cache/image_manager_disk_cache/*.0). Generates an HTML gallery with
thumbnails, file size, and modification time using direct file paths to the
extracted .0 files. Output Format
All modules produce:
- HTML report with previews
- TSV file for further analysis
- Timeline output
Screenshot imagem.png (view on web)
<https://github.com/user-attachments/assets/f92230cd-0a39-4557-bbf0-c81c7f2fdd35>
Acknowledgements
This work was developed with the assistance of AI
------------------------------
You can view, comment on, or merge this pull request online at:
#696
Commit Summary
- 0aa20d7
<0aa20d7>
Add artifact scripts
- abac85b
<abac85b>
Add icons
File Changes
(8 files <https://github.com/abrignoni/ALEAPP/pull/696/files>)
- *A* scripts/artifacts/AIChatbotNovaCachedImages.py
<https://github.com/abrignoni/ALEAPP/pull/696/files#diff-cdd4c2671937a5f97e53fcdf86ae3e751ac775f01ea71eaad0f18bb374f1e81d>
(172)
- *A* scripts/artifacts/AIChatbotNovaConversations.py
<https://github.com/abrignoni/ALEAPP/pull/696/files#diff-2c58da10af5c3819ca2f0ec6af3606a01abc7e49a6a13f7f4bc908b26a9143b0>
(579)
- *A* scripts/artifacts/AIChatbotNovaHistory.py
<https://github.com/abrignoni/ALEAPP/pull/696/files#diff-b60625e3d8c63ae89320d2e621bccab746a9816886618d405cf21d5905624688>
(276)
- *A* scripts/artifacts/AIChatbotNovaHistoryDetail.py
<https://github.com/abrignoni/ALEAPP/pull/696/files#diff-c6335c334f1e8cf44ba9d05cbb7a4b88e2e6a5db6b951dd2d681d41f5f22dd50>
(329)
- *A* scripts/artifacts/AIChatbotNovaHistoryDetailDocument.py
<https://github.com/abrignoni/ALEAPP/pull/696/files#diff-c9d28daf3308d18ad25da896cd072b32051496b7f6761082a45e5d18b2e8c7b1>
(411)
- *A* scripts/artifacts/AIChatbotNovaHistoryDetailImage.py
<https://github.com/abrignoni/ALEAPP/pull/696/files#diff-f351bf831e092dc6ffbbc28c4becef1dc1e59e81d75f50352aa5b1f9c86b3068>
(395)
- *A* scripts/artifacts/AIChatbotNovaHistoryDetailLink.py
<https://github.com/abrignoni/ALEAPP/pull/696/files#diff-501240b26c7a0ae9bb95941529cdda85d18508bdea4b88b8cf5ba6f4681de882>
(296)
- *M* scripts/report_icons.py
<https://github.com/abrignoni/ALEAPP/pull/696/files#diff-7aa964d9bb13d7f57672bf4c44bc346a54149de3b837f674dd763423371f01d4>
(1)
Patch Links:
- https://github.com/abrignoni/ALEAPP/pull/696.patch
- https://github.com/abrignoni/ALEAPP/pull/696.diff
—
Reply to this email directly, view it on GitHub
<#696>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AG3DPC5ANQVUGM7VYACZQPT43Q47RAVCNFSM6AAAAACZEFVHQOVHI2DSMVQWIX3LMV43ASLTON2WKOZUGQ3TMNZWGI4DIMA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Thank you for your time. I Will be looking forward the next weeks to fix the modules. Right now I'm very busy with other projects. |
|
The media function you need to use is called check_in_media. Also you need to use the LAVA objects when reporting so the epoch timestamp can then be offset by LAVA as opposed to hard coded UTC in human readable form. Here is a video on how to make LAVA compliant artifacts. https://www.youtube.com/watch?v=qTgZUh4GPxk I apologize for not being more clear previously. I need to update the readme.md of the project but time has been at a premium lately. Be aware that any artifact that currently uses any of the old functions we are slowly updating. If you need an example of a LAVA compliant artifact look at WhatsApp.py in iLEAPP. |
This PR adds 7 modules for the Nova AI Chatbot application. The package ID is
com.scaleup.chataiand the main database is located at/data/data/com.scaleup.chatai/databases/chat-ai.db.Modules Added
HistoryDetailImageHistoryDetailImagetable, correctly identifying AI‑generated images (ASSISTANT role) vs user‑submitted images (USER role). Includes prompt, generation state, pipeline, style ID, and Firebase path.HistoryDetailDocumentsHistoryDetailDocumenttable with name, MIME type, size, source type, and Firebase path.ConversationsHistory,HistoryDetail, and all attachment tables. One row per message with images, documents, and links displayed inline.Cached Imagescache/image_manager_disk_cache/*.0). Generates an HTML gallery with thumbnails, file size, and modification time using direct file paths to the extracted.0files.Output Format
All modules produce:
Screenshot
Acknowledgements
This work was developed with the assistance of AI